Persistate API documentation
IntegerToken Class
NamespacesPersistate.LanguageIntegerToken

[This is preliminary documentation and is subject to change.]

Represents an integer literal token in the source text.
Declaration Syntax
C#
public class IntegerToken : Token
Members
All MembersMethodsProperties



IconMemberDescription
DecimalValue
Gets the value of this token as a decimal number.
(Overrides Token.DecimalValue.)
Equals(Object)
Determines whether the specified Object is equal to the current 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.

Remarks
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.
Inheritance Hierarchy
Object
Token
 IntegerToken

Assembly: Persistate.Language (Module: Persistate.Language) Version: 0.6.1.20 (0.6.1.20)