Node Interface
Represents the document node.
C#
public interface Node
- Derived
Remarks
This object is immutable.
This interface is a part of the visitor pattern.
Properties
Kind |
Gets the kind of this node. |
Methods
Accept(Node |
Returns the object associated this node that is created with the specified visitor. |
To |
Returns the string representing the current object, formatting it with the spcified FormatOptions. |
Properties Detail
Kind
Gets the kind of this node.
C#
NodeKind Kind { get; }
Property Value
Methods Detail
Accept(NodeVisitor)
Returns the object associated this node that is created with the specified visitor.
C#
void Accept(NodeVisitor visitor)
Parameters
- visitor
-
Node
Visitor
The visitor.
See Also
ToString(FormatOptions)
Returns the string representing the current object, formatting it with the spcified FormatOptions.
C#
string ToString(FormatOptions options)
Parameters
- options
-
Format
Options
The format options.
Returns
The string representing the current object.