Click or drag to resize

CommonErrorNode Class

A node representing erroneous token range in token stream
Inheritance Hierarchy

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

The CommonErrorNode type exposes the following members.

Constructors
  NameDescription
Public methodCommonErrorNode
Initializes a new instance of the CommonErrorNode class
Top
Properties
  NameDescription
Public propertyCharPositionInLine (Inherited from CommonTree.)
Public propertyChildCount (Inherited from BaseTree.)
Public propertyChildIndex (Inherited from CommonTree.)
Public propertyChildren
Get the children internal List; note that if you directly mess with the list, do so at your own risk.
(Inherited from BaseTree.)
Public propertyIsNil (Overrides CommonTreeIsNil.)
Public propertyLine (Inherited from CommonTree.)
Public propertyParent (Inherited from CommonTree.)
Public propertyText (Overrides CommonTreeText.)
Public propertyToken (Inherited from CommonTree.)
Public propertyTokenStartIndex (Inherited from CommonTree.)
Public propertyTokenStopIndex (Inherited from CommonTree.)
Public propertyType (Overrides CommonTreeType.)
Top
Methods
  NameDescription
Public methodAddChild
Add t as child of this node.
(Inherited from BaseTree.)
Public methodAddChildren
Add all elements of kids list as children of this node
(Inherited from BaseTree.)
Protected methodCreateChildrenList
Override in a subclass to change the impl of children list
(Inherited from BaseTree.)
Public methodDeleteChild (Inherited from BaseTree.)
Public methodDupNode (Inherited from CommonTree.)
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 methodFreshenParentAndChildIndexes
Set the parent and child index values for all child of t
(Inherited from BaseTree.)
Public methodFreshenParentAndChildIndexes(Int32) (Inherited from BaseTree.)
Public methodFreshenParentAndChildIndexesDeeply (Inherited from BaseTree.)
Public methodFreshenParentAndChildIndexesDeeply(Int32) (Inherited from BaseTree.)
Public methodGetAncestor
Walk upwards and get first ancestor with this token type.
(Inherited from BaseTree.)
Public methodGetAncestors
Return a list of all ancestors of this node. The first node of list is the root and the last is the parent of this node.
(Inherited from BaseTree.)
Public methodGetChild (Inherited from BaseTree.)
Public methodGetFirstChildWithType (Inherited from BaseTree.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasAncestor
Walk upwards looking for ancestor with this token type.
(Inherited from BaseTree.)
Public methodInsertChild (Inherited from BaseTree.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReplaceChildren
Delete children from start to stop and replace with t even if t is a list (nil-root tree). num of children can increase or decrease. For huge child lists, inserting children can force walking rest of children to set their childindex; could be slow.
(Inherited from BaseTree.)
Public methodSanityCheckParentAndChildIndexes (Inherited from BaseTree.)
Public methodSanityCheckParentAndChildIndexes(ITree, Int32) (Inherited from BaseTree.)
Public methodSetChild (Inherited from BaseTree.)
Public methodSetUnknownTokenBoundaries
For every node in this subtree, make sure it's start/stop token's are set. Walk depth first, visit bottom up. Only updates nodes with at least one token index < 0.
(Inherited from CommonTree.)
Public methodToString (Overrides CommonTreeToString.)
Public methodToStringTree
Print out a whole tree not just a node
(Inherited from BaseTree.)
Top
Fields
  NameDescription
Public fieldinput
Public fieldstart
Protected fieldstartIndex
What token indexes bracket all tokens associated with this node and below?
(Inherited from CommonTree.)
Public fieldstop
Protected fieldstopIndex (Inherited from CommonTree.)
Public fieldtrappedException
Top
See Also