Click or drag to resize

ClassicToken Class

A Token object like we'd use in ANTLR 2.x; has an actual string created and associated with this object. These objects are needed for imaginary tree nodes that have payload objects. We need to create a Token object that has a string; the tree node will point at this token. CommonToken has indexes into a char stream and hence cannot be used to introduce new strings.
Inheritance Hierarchy
SystemObject
  Stimulsoft.Data.Expressions.Antlr.RuntimeClassicToken

Namespace:  Stimulsoft.Data.Expressions.Antlr.Runtime
Assembly:  Stimulsoft.Data (in Stimulsoft.Data.dll) Version: 2019.3.1.0
Syntax
[SerializableAttribute]
public class ClassicToken : IToken

The ClassicToken type exposes the following members.

Constructors
  NameDescription
Public methodClassicToken(Int32)
Initializes a new instance of the ClassicToken class
Public methodClassicToken(IToken)
Initializes a new instance of the ClassicToken class
Public methodClassicToken(Int32, String)
Initializes a new instance of the ClassicToken class
Public methodClassicToken(Int32, String, Int32)
Initializes a new instance of the ClassicToken class
Top
Properties
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString (Overrides ObjectToString.)
Top
See Also