[gemma4] first step

This commit is contained in:
2026-06-19 13:04:28 +02:00
parent 6459d63f2b
commit 64a890ac03
4 changed files with 62 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
"""
Centralized constants for the Skill language parser and LSP server.
"""
from typing import Final, Set
# Node types that represent syntax errors in Tree-sitter
ERROR_NODE_TYPES: Final[Set[str]] = {"ERROR", "MISSING"}
# Node types that are considered significant enough to appear in the Document Symbol outline
SYMBOLIC_NODE_TYPES: Final[Set[str]] = {
"function_definition",
"procedure_definition",
"namespace",
"let_binding",
}
# Node types used to identify names/identifiers within symbolic nodes
IDENTIFIER_NODE_TYPES: Final[Set[str]] = {"identifier", "name"}