Class NumericLiteralToken
Represents a token definition for a numeric literal token (integer of floating point)
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CilTools.Syntax.Tokens
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public class NumericLiteralToken : SyntaxTokenDefinition
Constructors
NumericLiteralToken()
Declaration
public NumericLiteralToken()
Methods
HasContinuation(String, TokenReader)
Gets a value indicating whether the current position of the TokenReader contains a sequence of characters valid as a continuation of the specified token
Declaration
public override bool HasContinuation(string prevPart, TokenReader reader)
Parameters
Type | Name | Description |
---|---|---|
System.String | prevPart | A part of token previously read from a token reader |
TokenReader | reader | A token reader to test |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
HasStart(TokenReader)
Gets a value indicating whether the current position of the TokenReader contains a sequence of characters valid as the token start
Declaration
public override bool HasStart(TokenReader reader)
Parameters
Type | Name | Description |
---|---|---|
TokenReader | reader | A token reader to test |
Returns
Type | Description |
---|---|
System.Boolean |