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() |
Creates an empty list of tokens. |
TokenList(SyntaxToken) |
Creates a singleton list of tokens. |
TokenList(SyntaxToken[]) |
Creates a list of tokens. |
TokenList(IEnumerable<SyntaxToken>) |
Creates a list of tokens. |
TokenList()
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
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
TokenList(SyntaxToken)
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
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(SyntaxToken[])
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
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:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
- Source:
- SyntaxNodeFactories.vb
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.