Persistate API documentation
Token Class
NamespacesPersistate.LanguageToken

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

Represents a token in a source file, or produced during the compilation process.
Declaration Syntax
C#
public abstract class Token
Members
All MembersMethodsProperties



IconMemberDescription
DecimalValue
Gets the value of this token as a decimal number. Must be overridden in derived classes.

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. Must be overridden in derived classes.

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. Must be overridden in derived classes.

IntegerValue
Gets the value of this token as an integer number. Must be overridden in derived classes.

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.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
This abstract base class contains a Section indicating a range of characters in the source text. All the Tokens used during the lexical scan , syntax parse, and semantic check and code generation phases use classes derived from this class to denote sections of the source code, and also generated code or objects, and errors.
Inheritance Hierarchy

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