API reference

python:irx:irx.analysis.symbols.variable_symbol

function variable_symbol

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

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

Create a variable-like symbol.

Parameters

Returns

Type: SemanticSymbol

Search documentation

Type to search.