YamlSyntaxToken Struct
Represents a YAML syntax token.
public readonly struct YamlSyntaxTokenConstructors
| Name | Description |
|---|---|
| YamlSyntaxToken(YamlSyntaxKind, YamlSourceSpan, string) | Initializes a new instance of the YamlSyntaxToken struct. |
YamlSyntaxToken(YamlSyntaxKind, YamlSourceSpan, string)
YamlSyntaxToken.csInitializes a new instance of the YamlSyntaxToken struct.
public YamlSyntaxToken(YamlSyntaxKind kind, YamlSourceSpan span, string text)Parameters
kindYamlSyntaxKind- The token kind.
spanYamlSourceSpan- The token span.
textstring- The token text.
Properties
| Name | Description |
|---|---|
| Kind | Gets the token kind. |
| Span | Gets the token span. |
| Text | Gets the token text. |
Methods
| Name | Description |
|---|---|
| ToString() | Returns the fully qualified type name of this instance. |