systemc-clang 2.0.0
Parsing SystemC constructs
|
Public Member Functions | |
__init__ (self) | |
hsensedge (self, tree) | |
syscread (self, tree) | |
hsubassign (self, tree) | |
haddassign (self, tree) | |
hcompoundasisgn (self, tree) | |
hbinop (self, tree) | |
blkassign (self, tree) | |
htype (self, tree) | |
arraydimlength (self, tree) | |
htypearray (self, tree) | |
stmt (self, tree) | |
hunop (self, tree) | |
Public Member Functions inherited from parselib.transforms.top_down.TopDown | |
__default__ (self, t) | |
Static Public Attributes | |
list | COMPOUND_ASSIGN = ["*=", "+=", "-=", "/=", "%=", "|=", "&=", "^=", "<<=", ">>="] |
Protected Member Functions | |
_get_op_token_from_compound_assign (self, op) | |
This pass merges separate nodes that are created for easy recognition for grammar, but actually shares the same semantics. TODO: this pass does almost the same thing as the pass NodeMerging Pass, and TODO: the 2 classes should be merged together
Definition at line 7 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.__init__ | ( | self | ) |
Reimplemented from parselib.transforms.top_down.TopDown.
Definition at line 24 of file alias_translation.py.
|
protected |
Definition at line 16 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.arraydimlength | ( | self, | |
tree ) |
Definition at line 89 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.blkassign | ( | self, | |
tree ) |
Definition at line 66 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.haddassign | ( | self, | |
tree ) |
Definition at line 43 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.hbinop | ( | self, | |
tree ) |
Convert a compound assignment into assignment of binary operator Nested compound assignment is not supported
Definition at line 49 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.hcompoundasisgn | ( | self, | |
tree ) |
Definition at line 46 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.hsensedge | ( | self, | |
tree ) |
Definition at line 27 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.hsubassign | ( | self, | |
tree ) |
Definition at line 40 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.htype | ( | self, | |
tree ) |
Definition at line 82 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.htypearray | ( | self, | |
tree ) |
Definition at line 97 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.hunop | ( | self, | |
tree ) |
Definition at line 109 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.stmt | ( | self, | |
tree ) |
filters out noop
Definition at line 103 of file alias_translation.py.
parselib.transforms.alias_translation.AliasTranslation.syscread | ( | self, | |
tree ) |
handles the syscread for array ref
Definition at line 32 of file alias_translation.py.
|
static |
Definition at line 14 of file alias_translation.py.