Class
YamlQueryMatch
OfficeIMO.Yaml
A node a query selected, with the path that addresses it.
Inheritance
- object
- YamlQueryMatch
Usage
Explore 6 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 6
- Method YamlAlias.Query
- Method YamlDocument.Query
- Method YamlMapping.Query
- Method YamlNode.Query
- Method YamlScalar.Query
- Method YamlSequence.Query
Methods
Inherited Methods
Properties
public YamlNode Node { get; } #Gets the selected node as written: a value reached through an alias is the alias's anchored node, and a mapping value written as an alias is the YamlAlias. YamlNode.Start and YamlNode.End give its source position.
public string Path { get; } #Gets the path of the node in the grammar YamlNode.Select reads, relative to where the query ran: Select(Path) on that node or document returns YamlQueryMatch.Node. The root is $.