KeySyntax Class
A key TOML syntax node.
public sealed class KeySyntax : ValueSyntax- Inheritance
ValueSyntaxKeySyntax
Constructors
| Name | Description |
|---|---|
| KeySyntax() | Creates a new instance of a KeySyntax |
| KeySyntax(string) | Creates a new instance of a KeySyntax |
| KeySyntax(string, string) | Creates a new instance of a KeySyntax |
KeySyntax overloads
KeySyntax()
KeySyntax.csCreates a new instance of a KeySyntax
public KeySyntax()KeySyntax(string)
KeySyntax.csKeySyntax(string, string)
KeySyntax.csProperties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
| DotKeys | List of the dotted keys. |
| Key | The base of the key before the dot |
ChildrenCount
KeySyntax.csDotKeys
KeySyntax.csKey
KeySyntax.csThe base of the key before the dot
public BareKeyOrStringValueSyntax? Key { get; set; }Property value
Methods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
Accept(SyntaxVisitor)
KeySyntax.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor