SyntaxFactory.TokenList Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TokenList(SyntaxToken[]) |
Creates a list of tokens. |
TokenList(IEnumerable<SyntaxToken>) |
Creates a list of tokens. |
TokenList(SyntaxToken) |
Creates a singleton list of tokens. |
TokenList() |
Creates an empty list of tokens. |
TokenList(SyntaxToken[])
- 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
Creates a list of tokens.
public:
static Microsoft::CodeAnalysis::SyntaxTokenList TokenList(... cli::array <Microsoft::CodeAnalysis::SyntaxToken> ^ tokens);
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList (params Microsoft.CodeAnalysis.SyntaxToken[] tokens);
static member TokenList : Microsoft.CodeAnalysis.SyntaxToken[] -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function TokenList (ParamArray tokens As SyntaxToken()) As SyntaxTokenList
Parameters
- tokens
- SyntaxToken[]
An array of tokens.
Returns
Applies to
TokenList(IEnumerable<SyntaxToken>)
- 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
Creates a list of tokens.
public:
static Microsoft::CodeAnalysis::SyntaxTokenList TokenList(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxToken> ^ tokens);
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> tokens);
static member TokenList : seq<Microsoft.CodeAnalysis.SyntaxToken> -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function TokenList (tokens As IEnumerable(Of SyntaxToken)) As SyntaxTokenList
Parameters
- tokens
- IEnumerable<SyntaxToken>
Returns
Applies to
TokenList(SyntaxToken)
- 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
Creates a singleton list of tokens.
public:
static Microsoft::CodeAnalysis::SyntaxTokenList TokenList(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList (Microsoft.CodeAnalysis.SyntaxToken token);
static member TokenList : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function TokenList (token As SyntaxToken) As SyntaxTokenList
Parameters
- token
- SyntaxToken
The single token.
Returns
Applies to
TokenList()
- 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
Creates an empty list of tokens.
public:
static Microsoft::CodeAnalysis::SyntaxTokenList TokenList();
public static Microsoft.CodeAnalysis.SyntaxTokenList TokenList ();
static member TokenList : unit -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function TokenList () As SyntaxTokenList
Returns
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.