IniSyntaxNode Class

The base of every node in an INI tree.

public abstract class IniSyntaxNode : SyntaxNode
Inheritance
SyntaxNode IniSyntaxNode

Properties

NameDescription
ParentGets the node this one is a child of, or null when it is the root of its tree.

Gets the node this one is a child of, or null when it is the root of its tree.

public IniSyntaxNode? Parent { get; }

Property value

IniSyntaxNode?

Methods

NameDescription
Accept(IniSyntaxVisitor)Calls the method of visitor that matches this node.
Accept<TResult>(IniSyntaxVisitor<TResult>)Calls the method of visitor that matches this node.
Kind()Gets what kind of node this is.

Accept overloads

Accept(IniSyntaxVisitor)

Calls the method of visitor that matches this node.

public abstract void Accept(IniSyntaxVisitor visitor)
Parameters
visitor IniSyntaxVisitor
Exceptions
ArgumentNullException
visitor is null.

Accept<TResult>(IniSyntaxVisitor<TResult>)

Calls the method of visitor that matches this node.

public abstract TResult? Accept<TResult>(IniSyntaxVisitor<TResult> visitor)
Type parameters
TResult
Parameters
visitor IniSyntaxVisitor<TResult>
Returns

TResult?

Exceptions
ArgumentNullException
visitor is null.

Gets what kind of node this is.

public SyntaxKind Kind()

Returns

SyntaxKind