Skip to content

@lezer__common/internals

ClassDescription
LezerTreeA parse tree representing the syntactic structure of a document.
LezerTreeBufferA tree buffer represents a sequence of nodes in a compact flat array format.
LezerTreeCursorA cursor for walking through the syntax tree.
LezerTreeFragmentRepresents a fragment of a previously parsed tree that can be reused.
MountedLezerTreeRepresents a tree mounted on a node via a node prop.
NodePropA node prop is a value associated with node types.
NodeSetA set of node types, used to define the types available in a grammar.
NodeTypeRepresents a type of syntax node in the tree.
ParserAbstract base class for parsers.
InterfaceDescription
InputRepresents a document input for the parser.
IterModeControls tree iteration behavior.
LezerTreeRangeA range within a Lezer tree defined by start and end positions.
NodePropConfigConfiguration for creating a node prop.
NodePropSelectorMapA mapping from selectors to prop values.
NodePropSourceA function that computes a node prop value for a given node type.
PartialParseAn in-progress parse operation that can be advanced incrementally.
SyntaxNodeRepresents a node in the syntax tree.
SyntaxNodeRefA reference to a syntax node, providing its position and type information.