API reference
python:irx:irx.analysis.factories.SemanticEntityFactory
class SemanticEntityFactory
SemanticEntityFactory(context: SemanticContext)
Source: packages/irx/src/irx/analysis/factories.py:62
Central semantic entity construction.
Create semantic symbols, functions, structs, modules, and visible bindings with consistent ids and qualified names.
Attributes
- context — Type: SemanticContext
Methods
-
__init__ — Initialize SemanticEntityFactory.
-
_argument_has_default — Return whether one parameter declares a default value.
-
_default_fingerprint — Build one structural fingerprint for a parameter default.
-
_is_transient_ast_name — Return whether an AST name is an implementation-generated name.
-
_object_fingerprint — Build one structural fingerprint for an object's data fields.
-
_parameter_default_metadata — Return normalized default metadata for one parameter.
-
make_callable_resolution — Create one resolved callable wrapper.
-
make_class — Create one semantic class entity.
-
make_class_binding — Create a visible binding for a class.
-
make_class_member — Create one semantic class-member record.
-
make_function — Create one semantic function entity.
-
make_function_binding — Create a visible binding for a function.
-
make_function_signature — Create one canonical semantic function signature.
-
make_import_binding — Create one resolved import binding record.
-
make_module — Create one semantic module entity.
-
make_module_binding — Create a visible binding for a module.
-
make_parameter_spec — Create one canonical semantic parameter specification.
-
make_parameter_symbol — Create one function-parameter semantic symbol.
-
make_struct — Create one semantic struct entity.
-
make_struct_binding — Create a visible binding for a struct.
-
make_variable_symbol — Create a variable-like semantic symbol.
Attributes
- context —