BaseTree Methods |
The BaseTree type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddChild | Add t as child of this node. |
![]() | AddChildren | Add all elements of kids list as children of this node |
![]() | CreateChildrenList | Override in a subclass to change the impl of children list |
![]() | DeleteChild | |
![]() | DupNode | |
![]() | 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 |
![]() | FreshenParentAndChildIndexes(Int32) | |
![]() | FreshenParentAndChildIndexesDeeply | |
![]() | FreshenParentAndChildIndexesDeeply(Int32) | |
![]() | GetAncestor | Walk upwards and get first ancestor with this token type. |
![]() | 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.
|
![]() | GetChild | |
![]() | GetFirstChildWithType | |
![]() | 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. |
![]() | InsertChild | |
![]() | 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.
|
![]() | SanityCheckParentAndChildIndexes | |
![]() | SanityCheckParentAndChildIndexes(ITree, Int32) | |
![]() | SetChild | |
![]() | ToString | Override to say how a node (not a tree) should look as text (Overrides ObjectToString.) |
![]() | ToStringTree | Print out a whole tree not just a node |