@lezer__common/internals
Classes
Section titled “Classes”| Class | Description |
|---|---|
| LezerTree | A parse tree representing the syntactic structure of a document. |
| LezerTreeBuffer | A tree buffer represents a sequence of nodes in a compact flat array format. |
| LezerTreeCursor | A cursor for walking through the syntax tree. |
| LezerTreeFragment | Represents a fragment of a previously parsed tree that can be reused. |
| MountedLezerTree | Represents a tree mounted on a node via a node prop. |
| NodeProp | A node prop is a value associated with node types. |
| NodeSet | A set of node types, used to define the types available in a grammar. |
| NodeType | Represents a type of syntax node in the tree. |
| Parser | Abstract base class for parsers. |
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| Input | Represents a document input for the parser. |
| IterMode | Controls tree iteration behavior. |
| LezerTreeRange | A range within a Lezer tree defined by start and end positions. |
| NodePropConfig | Configuration for creating a node prop. |
| NodePropSelectorMap | A mapping from selectors to prop values. |
| NodePropSource | A function that computes a node prop value for a given node type. |
| PartialParse | An in-progress parse operation that can be advanced incrementally. |
| SyntaxNode | Represents a node in the syntax tree. |
| SyntaxNodeRef | A reference to a syntax node, providing its position and type information. |