BareKeySyntax Class
A TOML bare key syntax node.
public sealed class BareKeySyntax : BareKeyOrStringValueSyntax- Inheritance
BareKeyOrStringValueSyntaxBareKeySyntax
Constructors
| Name | Description |
|---|---|
| BareKeySyntax() | Creates a new instance of a BareKeySyntax |
| BareKeySyntax(string) | Creates a new instance of a BareKeySyntax |
BareKeySyntax overloads
BareKeySyntax()
BareKeySyntax.csCreates a new instance of a BareKeySyntax
public BareKeySyntax()BareKeySyntax(string)
BareKeySyntax.csCreates a new instance of a BareKeySyntax
public BareKeySyntax(string name)Parameters
namestring- The name used for this key
Properties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
| Key | A textual representation of the key |
ChildrenCount
BareKeySyntax.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
| IsBareKey(string) | Determines whether the specified string is a valid bare key. |
Accept(SyntaxVisitor)
BareKeySyntax.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor