Definition at line 31 of file node.py.
◆ __init__()
parselib.transforms.node.TypeDefType.__init__ |
( |
| self, |
|
|
| name, |
|
|
| type_param_names, |
|
|
| aliases, |
|
|
| fields ) |
◆ _instantiate()
parselib.transforms.node.TypeDefType._instantiate |
( |
| self, |
|
|
| field, |
|
|
| params, |
|
|
| types ) |
|
protected |
Instantiate a field in a type, given params map between the template parameter and argument,
and fields to instantiate
Note: nested type is not supported
Definition at line 38 of file node.py.
◆ get_alias_type_with_instantiation()
parselib.transforms.node.TypeDefType.get_alias_type_with_instantiation |
( |
| self, |
|
|
| params, |
|
|
| types ) |
◆ get_fields_with_instantiation()
parselib.transforms.node.TypeDefType.get_fields_with_instantiation |
( |
| self, |
|
|
| params, |
|
|
| types ) |
NOTE:
types is the global collected type
The type of hTypeField is searched in three scopes if including alias type
current type,
type parameter's scope,
global scope
Definition at line 88 of file node.py.
◆ aliases
parselib.transforms.node.TypeDefType.aliases |
◆ fields
parselib.transforms.node.TypeDefType.fields |
◆ name
parselib.transforms.node.TypeDefType.name |
◆ type_param_names
parselib.transforms.node.TypeDefType.type_param_names |
The documentation for this class was generated from the following file:
- plugins/hdl/parselib/transforms/node.py