Available in the Rust, Python, and Node bindings Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
17 lines
504 B
Python
17 lines
504 B
Python
from typing import Final
|
|
from typing_extensions import CapsuleType
|
|
|
|
HIGHLIGHTS_QUERY: Final[str] | None
|
|
"""The syntax highlighting query for this grammar."""
|
|
|
|
INJECTIONS_QUERY: Final[str] | None
|
|
"""The language injection query for this grammar."""
|
|
|
|
LOCALS_QUERY: Final[str] | None
|
|
"""The local variable query for this grammar."""
|
|
|
|
TAGS_QUERY: Final[str] | None
|
|
"""The symbol tagging query for this grammar."""
|
|
|
|
def language() -> CapsuleType:
|
|
"""The tree-sitter language function for this grammar."""
|