Node<'Tag> Type
A node in a decoded source file, tagged with what the schema says it is. A struct over the blob and an index, so it is the same two words a raw `int` walk carries plus the blob it was already holding. The tag is erased at runtime.
Record fields
| Record Field |
Description
|
|
|
Full Usage:
Index
Field type: int
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.End
Returns: int
|
End of the node, in UTF-16 code units.
|
|
The node's kind, read from the blob. Tags are erased, so this is the only thing that knows what the node actually is.
|
Full Usage:
this.Pos
Returns: int
|
Start of the node including leading trivia, in UTF-16 code units.
|
Full Usage:
this.Text
Returns: string voption
|
The node's text, cooked rather than as spelled, for the kinds that carry any.
|