TextImpl Class
The default implementation of a text Node.
public sealed class TextImpl : AbstractNode, Node
- Inheritance
- Implements
Constructors
|
Text |
Initializes a new instance of the TextImpl class. |
Properties
| Kind |
(Inherited from Abstract |
Methods
|
Accept(Node |
Description copied from class: AbstractNode
|
|
Get |
Description copied from class: AbstractNode
|
| Accept(NodeVisitor) |
Description copied from interface: Node (Inherited from Abstract |
| ToString() |
(Inherited from Abstract |
| ToString(FormatOptions) |
Description copied from interface: Node (Inherited from Abstract |
| GetKind() |
Gets the kind of this node. (Inherited from Abstract |
| Equals(object) | (Inherited from object) |
| GetHashCode() | (Inherited from object) |
| GetType() | (Inherited from object) |
| MemberwiseClone() | (Inherited from object) |
Constructors Detail
TextImpl(string)
Initializes a new instance of the TextImpl class.
public TextImpl(string text)
Parameters
- text
- string
The text of this node.
Methods Detail
Accept(NodeVisitor)
Description copied from class: AbstractNode
Description copied from interface: Node
Returns the object associated this node that is created with the specified visitor.
public override void Accept(NodeVisitor visitor)
Parameters
- visitor
-
Node
Visitor
Implements
See Also
- NodeVisitor
Description copied from class: AbstractNode
Description copied from interface: Node
GetKind()
Description copied from class: AbstractNode
Gets the kind of this node.
protected override NodeKind GetKind()