JavaScriptTreeSitterGrammar class final

A pure-Dart scanner grammar for JavaScript and its TypeScript/JSX variants.

The public tree/query surface mirrors the generated Tree-sitter grammar API while retaining UTF-8 byte positions and UTF-16 editor offsets.

Implemented types

Constructors

JavaScriptTreeSitterGrammar()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
highlightsQuery TreeSitterQuery
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String source) TreeSitterNode
override
toString() String
A string representation of this object.
inherited

Operators

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