TokenInfo.Token Property

Definition

Language Specific

public:
 property int Token { int get(); void set(int value); };
public:
 property int Token { int get(); void set(int value); };
public int Token { get; set; }
member this.Token : int with get, set
Public Property Token As Integer

Property Value

Returns an integer specifying the token ID.

Remarks

The token ID represents a particular language token and is specific to the scanner or parser used. This could be used, for example, to quickly find a specific token in a parse tree if more information about that token is needed than can be represented in the TokenInfo class.

The managed package framework language service classes do not use this property.

Applies to