systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
parselib.transforms.node.TypeDefType Class Reference

Public Member Functions

 __init__ (self, name, type_param_names, aliases, fields)
 
 get_fields_with_instantiation (self, params, types)
 
 get_alias_type_with_instantiation (self, params, types)
 

Public Attributes

 name
 
 type_param_names
 
 aliases
 
 fields
 

Protected Member Functions

 _instantiate (self, field, params, types)
 

Detailed Description

Definition at line 31 of file node.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.transforms.node.TypeDefType.__init__ ( self,
name,
type_param_names,
aliases,
fields )

Definition at line 32 of file node.py.

Member Function Documentation

◆ _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 )

Definition at line 106 of file node.py.

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

Member Data Documentation

◆ aliases

parselib.transforms.node.TypeDefType.aliases

Definition at line 35 of file node.py.

◆ fields

parselib.transforms.node.TypeDefType.fields

Definition at line 36 of file node.py.

◆ name

parselib.transforms.node.TypeDefType.name

Definition at line 33 of file node.py.

◆ type_param_names

parselib.transforms.node.TypeDefType.type_param_names

Definition at line 34 of file node.py.


The documentation for this class was generated from the following file: