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