irx.analysis.symbols

irx.analysis.symbols

Source: packages/irx/src/irx/analysis/symbols.py

title: Variable-symbol helpers for semantic analysis.
summary: >-
  Build variable-like semantic symbols that need local-style qualified names.

Functions

variable_symbol(symbol_id: str, module_key: ModuleKey, name: str, type_: astx.DataType, *, is_mutable: bool, declaration: astx.AST | None, kind: str='variable') -> SemanticSymbol

title: Create a variable-like symbol.
parameters:
  symbol_id:
    type: str
  module_key:
    type: ModuleKey
  name:
    type: str
  type_:
    type: astx.DataType
  is_mutable:
    type: bool
  declaration:
    type: astx.AST | None
  kind:
    type: str
returns:
  type: SemanticSymbol