BooleanValueSyntax Class
A boolean TOML value syntax node.
public sealed class BooleanValueSyntax : ValueSyntax- Inheritance
ValueSyntaxBooleanValueSyntax
Constructors
| Name | Description |
|---|---|
| BooleanValueSyntax() | Creates an instance of a BooleanValueSyntax |
| BooleanValueSyntax(bool) | Creates an instance of a BooleanValueSyntax |
BooleanValueSyntax overloads
BooleanValueSyntax()
BooleanValueSyntax.csCreates an instance of a BooleanValueSyntax
public BooleanValueSyntax()BooleanValueSyntax(bool)
BooleanValueSyntax.csCreates an instance of a BooleanValueSyntax
public BooleanValueSyntax(bool value)Parameters
valuebool- The boolean value
Properties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
| Token | The boolean token value (true or false) |
| Value | The boolean parsed value. |
ChildrenCount
BooleanValueSyntax.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
Accept(SyntaxVisitor)
BooleanValueSyntax.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor