Partilhar via


SyntaxFactory.TokenList Method

Definition

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
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
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
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
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

Returns

Applies to