AbstractNode Class
Provides common implementation of the Node instances.
C#
public abstract class AbstractNode : Node
- Inheritance
-
Abstract
Node
- Derived
- Implements
Properties
Methods
Accept(Node |
Description copied from interface: Node
|
To |
|
To |
Description copied from interface: Node
|
Get |
Gets the kind of this node. |
Equals(object) | (Inherited from object) |
GetHashCode() | (Inherited from object) |
GetType() | (Inherited from object) |
MemberwiseClone() | (Inherited from object) |
ToString() | (Inherited from object) |
Properties Detail
Kind
C#
public NodeKind Kind { get; }
Property Value
Implements
Methods Detail
Accept(NodeVisitor)
Description copied from interface: Node
Returns the object associated this node that is created with the specified visitor.
C#
public abstract void Accept(NodeVisitor visitor)
Parameters
- visitor
-
Node
Visitor
Implements
See Also
- NodeVisitor
Description copied from interface: Node
ToString()
C#
public override sealed string ToString()
Returns
ToString(FormatOptions)
Description copied from interface: Node
Returns the string representing the current object, formatting it with the spcified FormatOptions.
C#
public string ToString(FormatOptions options)
Parameters
- options
-
Format
Options
Returns
Implements
GetKind()
Gets the kind of this node.
C#
protected abstract NodeKind GetKind()
Returns
The kind of this node.