Expand description
Core type system definitions shared between analysis and bytecode.
This module provides the canonical type model used across:
- Type checking/inference (
query::type_check) - Bytecode emission and runtime (
bytecode) - TypeScript code generation
Enums§
- Arity
- Structural arity - whether an expression matches one or many positions.
- Primitive
Type - Primitive type enumeration.
- Quantifier
Kind - Quantifier kind for pattern matching.
- Type
Kind - Semantic type kinds.
Constants§
- TYPE_
CUSTOM_ START - First index available for user-defined/composite types.
- TYPE_
NODE - Index for the Node type (tree-sitter AST node reference).
- TYPE_
STRING - Index for the String type (extracted source text).
- TYPE_
VOID - Index for the Void type (produces nothing).