Class Token
Inheritance
System.Object
Token
Assembly: Steeltoe.Common.Expression.dll
Syntax
public class Token : object
Constructors
|
Edit this page
View Source
Token(TokenKind, Char[], Int32, Int32)
Declaration
public Token(TokenKind tokenKind, char[] tokenData, int startPos, int endPos)
Parameters
Type |
Name |
Description |
TokenKind |
tokenKind |
|
System.Char[] |
tokenData |
|
System.Int32 |
startPos |
|
System.Int32 |
endPos |
|
|
Edit this page
View Source
Token(TokenKind, Int32, Int32)
Declaration
public Token(TokenKind tokenKind, int startPos, int endPos)
Parameters
Type |
Name |
Description |
TokenKind |
tokenKind |
|
System.Int32 |
startPos |
|
System.Int32 |
endPos |
|
Properties
|
Edit this page
View Source
Data
Declaration
public string Data { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
EndPos
Declaration
public int EndPos { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
IsIdentifier
Declaration
public bool IsIdentifier { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsNumericRelationalOperator
Declaration
public bool IsNumericRelationalOperator { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Kind
Declaration
public TokenKind Kind { get; }
Property Value
|
Edit this page
View Source
StartPos
Declaration
public int StartPos { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
StringValue
Declaration
public string StringValue { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
AsBetweenToken()
Declaration
public Token AsBetweenToken()
Returns
|
Edit this page
View Source
AsInstanceOfToken()
Declaration
public Token AsInstanceOfToken()
Returns
|
Edit this page
View Source
AsMatchesToken()
Declaration
public Token AsMatchesToken()
Returns
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|