TextImpl Class

The default implementation of a text Node.

C#
public sealed class TextImpl : AbstractNode, Node
Inheritance
TextImpl
Implements

Constructors

TextImpl(string)

Initializes a new instance of the TextImpl class.

Properties

Kind (Inherited from AbstractNode)

Methods

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.

GetKind()

Description copied from class: AbstractNode

Gets the kind of this node.

Accept(NodeVisitor)

Description copied from interface: Node

Returns the object associated this node that is created with the specified visitor.

(Inherited from AbstractNode)
ToString() (Inherited from AbstractNode)
ToString(FormatOptions)

Description copied from interface: Node

Returns the string representing the current object, formatting it with the spcified FormatOptions.

(Inherited from AbstractNode)
GetKind()

Gets the kind of this node.

(Inherited from AbstractNode)
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.

C#
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.

C#
public override void Accept(NodeVisitor visitor)

Parameters

visitor
NodeVisitor

Implements

See Also

    Description copied from class: AbstractNode

    Description copied from interface: Node

  • NodeVisitor

GetKind()

Description copied from class: AbstractNode

Gets the kind of this node.

C#
protected override NodeKind GetKind()

Returns

Description copied from class: AbstractNode

The kind of this node.