GeneratedTreeSitterParser class final

Constructors

GeneratedTreeSitterParser(TreeSitterLanguageTable language, {bool? enableGraphStack})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasOutstandingParse bool
no setter
language TreeSitterLanguageTable
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamedSourceBytes Uint8List
Bytes requested from the most recent callback-backed UTF-8 input.
no setter

Methods

balanceSubtree025ParityProbe(String source) Map<String, Object?>
Direct completion probe for Tree-sitter 0.25.10's private ts_parser__balance_subtree helper.
breakdownLookahead025ParityProbe(String source) Map<String, Object?>
Direct state probe for Tree-sitter 0.25.10's private ts_parser__breakdown_lookahead helper.
breakdownTopOfStack025ParityProbe(String source) Map<String, Object?>
Direct stack-decomposition probe for Tree-sitter 0.25.10's private ts_parser__breakdown_top_of_stack helper.
externalScanner025ParityProbe() Map<String, Object?>
Direct transition transcript for Tree-sitter 0.25.10's private external scanner deserialize/scan/serialize wrappers.
keywordLex025ParityProbe(Iterable<String> sources) Map<String, Object?>
Direct callback probe for Tree-sitter 0.25.10's private ts_parser__call_keyword_lex_fn helper.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String source, {GeneratedTreeSitterTree? oldTree, Iterable<TreeSitterInputEdit> edits = const [], List<TreeSitterTableRange> includedRanges = const [], TreeSitterParserRuntimeHooks? runtimeHooks}) GeneratedTreeSitterTree
parseUtf8Bytes(Uint8List bytes, {GeneratedTreeSitterTree? oldTree, Iterable<TreeSitterInputEdit> edits = const [], List<TreeSitterTableRange> includedRanges = const [], TreeSitterParserRuntimeHooks? runtimeHooks}) GeneratedTreeSitterTree
Parses an exact UTF-8 byte buffer without first round-tripping it through a Dart String. Native Tree-sitter's parser input is byte-oriented, and malformed UTF-8 must retain its physical byte offsets for recovery.
parseUtf8Input(TreeSitterNativeInput input, {GeneratedTreeSitterTree? oldTree, Iterable<TreeSitterInputEdit> edits = const [], List<TreeSitterTableRange> includedRanges = const [], TreeSitterParserRuntimeHooks? runtimeHooks}) GeneratedTreeSitterTree
Parses native callback-backed UTF-8 input without collecting it first.
potentialReductions025ParityProbe() Map<String, Object?>
Direct closure probe for Tree-sitter 0.25.10's private ts_parser__do_all_potential_reductions helper.
recoveryVersion025ParityProbe() Map<String, Object?>
Direct decision probe for Tree-sitter 0.25.10's private recovery-version comparison, peer-pruning, and stack-condensation helpers.
reset() → void
Clears a completed or suspended parser session at the native reset boundary. A progress halt deliberately does not call this method.
selectChildren025ParityProbe() Map<String, Object?>
Direct decision probe for Tree-sitter 0.25.10's private ts_parser__select_children helper.
selectTree025ParityProbe() Map<String, Object?>
Direct decision probe for Tree-sitter 0.25.10's private ts_parser__select_tree helper.
stackLifecycle025ParityProbe() Map<String, Object?>
Direct managed-GSS transcript for the small Tree-sitter 0.25.10 stack accessors and version lifecycle transitions.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

hasPortedExternalScanner(String language) bool