[This is preliminary documentation and is subject to change.]
Represents an integer literal token in the source text.
| C# |
public class IntegerToken : Token
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| DecimalValue | Gets the value of this token as a decimal number. (Overrides Token.DecimalValue.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FloatingValue | Gets the value of this token as a floating point number.
(Overrides Token.FloatingValue.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HasDecimalValue | Gets whether this token has a decimal value. (Overrides Token.HasDecimalValue.) | |
| IntegerValue | Gets the value of this number as an integer number. (Overrides Token.IntegerValue.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Section | Gets the Section denoting the range of characters
corresponding to this token in the source text. (Inherited from Token.) | |
| SetPattern(String) | Sets a new regular expression pattern for token matching.
| |
| ToString()()()() | Creates a short string representation of the value of this token.
(Overrides Object.ToString()()()().) | |
| Value | Gets the value of this integer literal token. |
The literal can represent any value compatible with the Int64 type,
and the format can be any which is accepted by the Int64.TryParse method.