StringValueSyntax Class
A string TOML syntax value node.
public sealed class StringValueSyntax : BareKeyOrStringValueSyntax- Inheritance
BareKeyOrStringValueSyntaxStringValueSyntax
Constructors
| Name | Description |
|---|---|
| StringValueSyntax() | Creates a new instance of StringValueSyntax |
| StringValueSyntax(string) | Creates a new instance of StringValueSyntax |
StringValueSyntax overloads
StringValueSyntax()
StringValueSyntax.csCreates a new instance of StringValueSyntax
public StringValueSyntax()StringValueSyntax(string)
StringValueSyntax.csCreates a new instance of StringValueSyntax
public StringValueSyntax(string text)Parameters
textstring- String value used for this node
Exceptions
ArgumentExceptiontextcontains an unpaired surrogate, which TOML cannot represent.
Properties
| Name | Description |
|---|---|
| ChildrenCount | Gets the number of children. |
| Token | The token of the string. |
| Value | The associated parsed string value |
ChildrenCount
StringValueSyntax.csToken
StringValueSyntax.csValue
StringValueSyntax.csMethods
| Name | Description |
|---|---|
| Accept(SyntaxVisitor) | Allow to visit this instance with the specified visitor. |
Accept(SyntaxVisitor)
StringValueSyntax.csAllow to visit this instance with the specified visitor.
public override void Accept(SyntaxVisitor visitor)Parameters
visitorSyntaxVisitor- The visitor