""" 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"}