InlineTableItemSyntax Class

A key-value pair item of an inline table.

public sealed class InlineTableItemSyntax : SyntaxNode
Inheritance
SyntaxNode InlineTableItemSyntax

Constructors

NameDescription
InlineTableItemSyntax()Creates an instance of InlineTableItemSyntax
InlineTableItemSyntax(KeyValueSyntax)Creates an instance of InlineTableItemSyntax

InlineTableItemSyntax overloads

InlineTableItemSyntax()

InlineTableItemSyntax.cs

Creates an instance of InlineTableItemSyntax

public InlineTableItemSyntax()

InlineTableItemSyntax(KeyValueSyntax)

InlineTableItemSyntax.cs

Creates an instance of InlineTableItemSyntax

public InlineTableItemSyntax(KeyValueSyntax keyValue)
Parameters
keyValue KeyValueSyntax
The key=value

Properties

NameDescription
ChildrenCountGets the number of children.
CommaGets or sets the comma, mandatory to separate entries in an inline table.
KeyValueGets or sets the KeyValueSyntax.

Gets the number of children.

public override int ChildrenCount { get; }

Property value

int

Gets or sets the comma, mandatory to separate entries in an inline table.

public SyntaxToken? Comma { get; set; }

Property value

SyntaxToken?

Gets or sets the KeyValueSyntax.

public KeyValueSyntax? KeyValue { get; set; }

Property value

KeyValueSyntax?

Methods

NameDescription
Accept(SyntaxVisitor)Allow to visit this instance with the specified visitor.

Accept(SyntaxVisitor)

InlineTableItemSyntax.cs

Allow to visit this instance with the specified visitor.

public override void Accept(SyntaxVisitor visitor)

Parameters

visitor SyntaxVisitor
The visitor