TomlSyntaxNode Class
The base of every node in a TOML tree.
public abstract class TomlSyntaxNode : SyntaxNode- Inheritance
SyntaxNodeTomlSyntaxNode
Properties
| Name | Description |
|---|---|
| Parent | Gets the node this one is a child of, or null when it is the root of its tree. |
Parent
TomlSyntaxNode.csGets the node this one is a child of, or null when it is the root of its tree.
public TomlSyntaxNode? Parent { get; }Property value
Methods
| Name | Description |
|---|---|
| Accept(TomlSyntaxVisitor) | Calls the method of visitor that matches this node. |
| Accept<TResult>(TomlSyntaxVisitor<TResult>) | Calls the method of visitor that matches this node. |
| Kind() | Gets what kind of node this is. |
Accept overloads
Accept(TomlSyntaxVisitor)
Calls the method of visitor that matches this node.
public abstract void Accept(TomlSyntaxVisitor visitor)Accept<TResult>(TomlSyntaxVisitor<TResult>)
Calls the method of visitor that matches this node.
public abstract TResult? Accept<TResult>(TomlSyntaxVisitor<TResult> visitor)Type parameters
TResult
Parameters
visitorTomlSyntaxVisitor<TResult>
Returns
TResult?
Exceptions
ArgumentNullExceptionvisitorisnull.