CommonTree Class |
Namespace: Stimulsoft.Data.Expressions.Antlr.Runtime.Tree
The CommonTree type exposes the following members.
Name | Description | |
---|---|---|
![]() | CommonTree | Initializes a new instance of the CommonTree class |
![]() | CommonTree(CommonTree) | Initializes a new instance of the CommonTree class |
![]() | CommonTree(IToken) | Initializes a new instance of the CommonTree class |
Name | Description | |
---|---|---|
![]() | CharPositionInLine | (Overrides BaseTreeCharPositionInLine.) |
![]() | ChildCount | (Inherited from BaseTree.) |
![]() | ChildIndex | (Overrides BaseTreeChildIndex.) |
![]() | Children |
Get the children internal List; note that if you directly mess with
the list, do so at your own risk.
(Inherited from BaseTree.) |
![]() | IsNil | (Overrides BaseTreeIsNil.) |
![]() | Line | (Overrides BaseTreeLine.) |
![]() | Parent | (Overrides BaseTreeParent.) |
![]() | Text | (Overrides BaseTreeText.) |
![]() | Token | |
![]() | TokenStartIndex | (Overrides BaseTreeTokenStartIndex.) |
![]() | TokenStopIndex | (Overrides BaseTreeTokenStopIndex.) |
![]() | Type | (Overrides BaseTreeType.) |
Name | Description | |
---|---|---|
![]() | AddChild | Add t as child of this node. (Inherited from BaseTree.) |
![]() | AddChildren | Add all elements of kids list as children of this node (Inherited from BaseTree.) |
![]() | CreateChildrenList | Override in a subclass to change the impl of children list (Inherited from BaseTree.) |
![]() | DeleteChild | (Inherited from BaseTree.) |
![]() | DupNode | (Overrides BaseTreeDupNode.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FreshenParentAndChildIndexes | Set the parent and child index values for all child of t (Inherited from BaseTree.) |
![]() | FreshenParentAndChildIndexes(Int32) | (Inherited from BaseTree.) |
![]() | FreshenParentAndChildIndexesDeeply | (Inherited from BaseTree.) |
![]() | FreshenParentAndChildIndexesDeeply(Int32) | (Inherited from BaseTree.) |
![]() | GetAncestor | Walk upwards and get first ancestor with this token type. (Inherited from BaseTree.) |
![]() | GetAncestors |
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.) |
![]() | GetChild | (Inherited from BaseTree.) |
![]() | GetFirstChildWithType | (Inherited from BaseTree.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HasAncestor | Walk upwards looking for ancestor with this token type. (Inherited from BaseTree.) |
![]() | InsertChild | (Inherited from BaseTree.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ReplaceChildren |
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.) |
![]() | SanityCheckParentAndChildIndexes | (Inherited from BaseTree.) |
![]() | SanityCheckParentAndChildIndexes(ITree, Int32) | (Inherited from BaseTree.) |
![]() | SetChild | (Inherited from BaseTree.) |
![]() | SetUnknownTokenBoundaries |
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.
|
![]() | ToString | (Overrides BaseTreeToString.) |
![]() | ToStringTree | Print out a whole tree not just a node (Inherited from BaseTree.) |
Name | Description | |
---|---|---|
![]() | startIndex |
What token indexes bracket all tokens associated with this node
and below?
|
![]() | stopIndex |