AbstractNode Class

Provides common implementation of the Node instances.

C#
public abstract class AbstractNode : Node
Inheritance
AbstractNode
Derived
Implements

Properties

Methods

Accept(NodeVisitor)

Description copied from interface: Node

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

ToString()
ToString(FormatOptions)

Description copied from interface: Node

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

GetKind()

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
NodeVisitor

Implements

See Also

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
FormatOptions

Returns

Description copied from interface: Node

The string representing the current object.

Implements

GetKind()

Gets the kind of this node.

C#
protected abstract NodeKind GetKind()

Returns

The kind of this node.