Class NumericToken
Inheritance
System.Object
NumericToken
Assembly: Perlang.Common.dll
Syntax
public class NumericToken : Token
Constructors
|
Improve this Doc
View Source
NumericToken(String, Int32, String, Nullable<Char>, Boolean, NumericToken.Base, NumberStyles)
Declaration
public NumericToken(string lexeme, int line, string numberCharacters, char? suffix, bool isFractional, NumericToken.Base numberBase, NumberStyles numberStyles)
Parameters
Type |
Name |
Description |
System.String |
lexeme |
|
System.Int32 |
line |
|
System.String |
numberCharacters |
|
System.Nullable<System.Char> |
suffix |
|
System.Boolean |
isFractional |
|
NumericToken.Base |
numberBase |
|
NumberStyles |
numberStyles |
|
Properties
|
Improve this Doc
View Source
HasSuffix
Declaration
public bool HasSuffix { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsFractional
Declaration
public bool IsFractional { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NumberBase
Declaration
public NumericToken.Base NumberBase { get; }
Property Value
|
Improve this Doc
View Source
NumberStyles
Declaration
public NumberStyles NumberStyles { get; }
Property Value
Type |
Description |
NumberStyles |
|
|
Improve this Doc
View Source
Suffix
Declaration
public char? Suffix { get; }
Property Value
Type |
Description |
System.Nullable<System.Char> |
|