Partilhar via


SyntaxFactory.Identifier Método

Definição

Sobrecargas

Identifier(String)

Cria um token com o tipo IdentifierToken que contém o texto especificado.

Identifier(SyntaxTriviaList, String, SyntaxTriviaList)

Cria um token com o tipo IdentifierToken que contém o texto especificado.

Identifier(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Cria um token com o tipo IdentifierToken que contém o texto especificado.

Identifier(String)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo IdentifierToken que contém o texto especificado.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(System::String ^ text);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (string text);
static member Identifier : string -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (text As String) As SyntaxToken

Parâmetros

text
String

O texto bruto do nome do identificador, incluindo quaisquer escapes ou caractere '@' à esquerda.

Retornos

Aplica-se a

Identifier(SyntaxTriviaList, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo IdentifierToken que contém o texto especificado.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(Microsoft::CodeAnalysis::SyntaxTriviaList leading, System::String ^ text, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (Microsoft.CodeAnalysis.SyntaxTriviaList leading, string text, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Identifier : Microsoft.CodeAnalysis.SyntaxTriviaList * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (leading As SyntaxTriviaList, text As String, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

text
String

O texto bruto do nome do identificador, incluindo quaisquer escapes ou caractere '@' à esquerda.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a

Identifier(SyntaxTriviaList, SyntaxKind, String, String, SyntaxTriviaList)

Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs
Source:
SyntaxFactory.cs

Cria um token com o tipo IdentifierToken que contém o texto especificado.

public:
 static Microsoft::CodeAnalysis::SyntaxToken Identifier(Microsoft::CodeAnalysis::SyntaxTriviaList leading, Microsoft::CodeAnalysis::CSharp::SyntaxKind contextualKind, System::String ^ text, System::String ^ valueText, Microsoft::CodeAnalysis::SyntaxTriviaList trailing);
public static Microsoft.CodeAnalysis.SyntaxToken Identifier (Microsoft.CodeAnalysis.SyntaxTriviaList leading, Microsoft.CodeAnalysis.CSharp.SyntaxKind contextualKind, string text, string valueText, Microsoft.CodeAnalysis.SyntaxTriviaList trailing);
static member Identifier : Microsoft.CodeAnalysis.SyntaxTriviaList * Microsoft.CodeAnalysis.CSharp.SyntaxKind * string * string * Microsoft.CodeAnalysis.SyntaxTriviaList -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Identifier (leading As SyntaxTriviaList, contextualKind As SyntaxKind, text As String, valueText As String, trailing As SyntaxTriviaList) As SyntaxToken

Parâmetros

leading
SyntaxTriviaList

Uma lista de curiosidades imediatamente anteriores ao token.

contextualKind
SyntaxKind

Uma sintaxe alternativaKind que pode ser inferida para esse token em contextos especiais. Geralmente, são palavras-chave.

text
String

O texto bruto do nome do identificador, incluindo quaisquer escapes ou caractere '@' à esquerda.

valueText
String

O texto do nome do identificador sem escapes ou caractere '@' à esquerda.

trailing
SyntaxTriviaList

Uma lista de curiosidades imediatamente após o token.

Retornos

Aplica-se a