API reference

python:irx:irx.analysis.factories.SemanticEntityFactory.make_variable_symbol

method make_variable_symbol

make_variable_symbol(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/factories.py:86

Create a variable-like semantic symbol.

Parameters

Returns

Type: SemanticSymbol

Search documentation

Type to search.