systemc-clang 2.0.0
Parsing SystemC constructs
|
Public Member Functions | |
__init__ (self, structure) | |
portbinding (self, tree) | |
hfieldaccess (self, tree) | |
hvarref (self, tree) | |
idlit (self, tree) | |
numlit (self, tree) | |
numlitwidth (self, tree) | |
htypeint (self, tree) | |
htype (self, tree) | |
hsensvar (self, tree) | |
hasync (self, tree) | |
npa (self, tree) | |
hmodule (self, tree) | |
Public Member Functions inherited from parselib.transforms.top_down.TopDown | |
__default__ (self, t) | |
Public Attributes | |
structure = structure | |
bool | is_port_binding = False |
port_binding_module = None | |
list | field_access = None |
# if we are in port binding, we shall take the ids directly | is_port_binding = self.port_binding_module |
current_module = tree.children[0] | |
Expands integer literal into int
Definition at line 10 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.__init__ | ( | self, | |
structure ) |
Reimplemented from parselib.transforms.top_down.TopDown.
Definition at line 12 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.hasync | ( | self, | |
tree ) |
Definition at line 117 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.hfieldaccess | ( | self, | |
tree ) |
hFieldaccess NONAME [ hBinop ARRAYSUBSCRIPT [ hBinop ARRAYSUBSCRIPT [ hVarref pa_scclang_global_15 NOLIST hVarref sig_scclang_global_1 NOLIST ] hVarref sig_scclang_global_1 NOLIST ] hField x NOLIST ]
Definition at line 27 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.hmodule | ( | self, | |
tree ) |
Definition at line 129 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.hsensvar | ( | self, | |
tree ) |
Definition at line 109 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.htype | ( | self, | |
tree ) |
Definition at line 102 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.htypeint | ( | self, | |
tree ) |
Definition at line 99 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.hvarref | ( | self, | |
tree ) |
Definition at line 50 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.idlit | ( | self, | |
tree ) |
Definition at line 86 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.npa | ( | self, | |
tree ) |
Definition at line 126 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.numlit | ( | self, | |
tree ) |
Definition at line 90 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.numlitwidth | ( | self, | |
tree ) |
Definition at line 94 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.portbinding | ( | self, | |
tree ) |
Definition at line 19 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.current_module = tree.children[0] |
Definition at line 130 of file literal_expansion.py.
list parselib.transforms.literal_expansion.LiteralExpansion.field_access = None |
Definition at line 17 of file literal_expansion.py.
bool parselib.transforms.literal_expansion.LiteralExpansion.is_port_binding = False |
Definition at line 15 of file literal_expansion.py.
# if we are in port binding, we shall take the ids directly parselib.transforms.literal_expansion.LiteralExpansion.is_port_binding = self.port_binding_module |
Definition at line 56 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.port_binding_module = None |
Definition at line 16 of file literal_expansion.py.
parselib.transforms.literal_expansion.LiteralExpansion.structure = structure |
Definition at line 14 of file literal_expansion.py.