systemc-clang 2.0.0
Parsing SystemC constructs
Loading...
Searching...
No Matches
parselib.transforms.type_collector.TypeCollector Class Reference
Inheritance diagram for parselib.transforms.type_collector.TypeCollector:
Collaboration diagram for parselib.transforms.type_collector.TypeCollector:

Public Member Functions

 __init__ (self, skip=None, *args, **kwargs)
 
 is_module_type (self, name)
 
 get_port_bindings (self, name, parent=None)
 
 is_custom_type (self, name)
 
 get_custom_type (self, name)
 
 htype (self, args)
 
 htypedef (self, args)
 
 hmodule (self, args)
 
 hvarref (self, args)
 
 htypeint (self, args)
 
 htypefields (self, args)
 
 htypefield (self, args)
 
 htypetemplateparams (self, args)
 
 htypetemplateparam (self, args)
 

Public Attributes

 custom_types = dict()
 
 module_types = dict()
 
list current_bindings = []
 
 current_mod = mod_name
 
list module_types = []
 

Detailed Description

This pass collects all types within a hcode file.

Definition at line 8 of file type_collector.py.

Constructor & Destructor Documentation

◆ __init__()

parselib.transforms.type_collector.TypeCollector.__init__ ( self,
skip = None,
* args,
** kwargs )

Definition at line 10 of file type_collector.py.

Member Function Documentation

◆ get_custom_type()

parselib.transforms.type_collector.TypeCollector.get_custom_type ( self,
name )

Definition at line 30 of file type_collector.py.

◆ get_port_bindings()

parselib.transforms.type_collector.TypeCollector.get_port_bindings ( self,
name,
parent = None )

Definition at line 22 of file type_collector.py.

◆ hmodule()

parselib.transforms.type_collector.TypeCollector.hmodule ( self,
args )

Definition at line 50 of file type_collector.py.

◆ htype()

parselib.transforms.type_collector.TypeCollector.htype ( self,
args )

Definition at line 33 of file type_collector.py.

◆ htypedef()

parselib.transforms.type_collector.TypeCollector.htypedef ( self,
args )

Definition at line 43 of file type_collector.py.

◆ htypefield()

parselib.transforms.type_collector.TypeCollector.htypefield ( self,
args )

Definition at line 72 of file type_collector.py.

◆ htypefields()

parselib.transforms.type_collector.TypeCollector.htypefields ( self,
args )

Definition at line 69 of file type_collector.py.

◆ htypeint()

parselib.transforms.type_collector.TypeCollector.htypeint ( self,
args )

Definition at line 65 of file type_collector.py.

◆ htypetemplateparam()

parselib.transforms.type_collector.TypeCollector.htypetemplateparam ( self,
args )

Definition at line 78 of file type_collector.py.

◆ htypetemplateparams()

parselib.transforms.type_collector.TypeCollector.htypetemplateparams ( self,
args )

Definition at line 75 of file type_collector.py.

◆ hvarref()

parselib.transforms.type_collector.TypeCollector.hvarref ( self,
args )

Definition at line 61 of file type_collector.py.

◆ is_custom_type()

parselib.transforms.type_collector.TypeCollector.is_custom_type ( self,
name )

Definition at line 27 of file type_collector.py.

◆ is_module_type()

parselib.transforms.type_collector.TypeCollector.is_module_type ( self,
name )

Definition at line 16 of file type_collector.py.

Member Data Documentation

◆ current_bindings

list parselib.transforms.type_collector.TypeCollector.current_bindings = []

Definition at line 13 of file type_collector.py.

◆ current_mod

parselib.transforms.type_collector.TypeCollector.current_mod = mod_name

Definition at line 53 of file type_collector.py.

◆ custom_types

parselib.transforms.type_collector.TypeCollector.custom_types = dict()

Definition at line 11 of file type_collector.py.

◆ module_types [1/2]

parselib.transforms.type_collector.TypeCollector.module_types = dict()

Definition at line 12 of file type_collector.py.

◆ module_types [2/2]

list parselib.transforms.type_collector.TypeCollector.module_types = []

Definition at line 54 of file type_collector.py.


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