InlineTableSyntax Class
An inline table TOML syntax node.
public sealed class InlineTableSyntax : ValueSyntax- Inheritance
ValueSyntaxInlineTableSyntax
Constructors
| Name | Description |
|---|---|
| InlineTableSyntax() | Creates a new instance of an InlineTableSyntax |
| InlineTableSyntax(KeyValueSyntax[]) | Creates a new instance of an InlineTableSyntax |
InlineTableSyntax overloads
InlineTableSyntax()
InlineTableSyntax.csCreates a new instance of an InlineTableSyntax
public InlineTableSyntax()InlineTableSyntax(KeyValueSyntax[])
InlineTableSyntax.csCreates a new instance of an InlineTableSyntax
public InlineTableSyntax(params KeyValueSyntax[] keyValues)Parameters
keyValuesKeyValueSyntax[]- The key values of this inline table
Properties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
| CloseBrace | The token close brace `}` |
| Items | The items of this table. |
| OpenBrace | The token open brace `{` |
ChildrenCount
InlineTableSyntax.csCloseBrace
InlineTableSyntax.csItems
InlineTableSyntax.csOpenBrace
InlineTableSyntax.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
Accept(SyntaxVisitor)
InlineTableSyntax.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor