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

Public Member Functions

 hnsbinop (self, tree)
 
 blkassign (self, tree)
 
- Public Member Functions inherited from parselib.transforms.top_down.TopDown
 __default__ (self, t)
 
 __init__ (self)
 

Private Member Functions

 __transform_arrayref_syscread (self, tree)
 

Detailed Description

This pass merges separate nodes that are created for easy recognition for grammar,
but actually shares the same semantics

Definition at line 4 of file node_merge.py.

Member Function Documentation

◆ __transform_arrayref_syscread()

parselib.transforms.node_merge.NodeMergePass.__transform_arrayref_syscread ( self,
tree )
private

Definition at line 14 of file node_merge.py.

◆ blkassign()

parselib.transforms.node_merge.NodeMergePass.blkassign ( self,
tree )
this handler fixes the a[b].read() case by removing read() and making it a[b]

Definition at line 22 of file node_merge.py.

◆ hnsbinop()

parselib.transforms.node_merge.NodeMergePass.hnsbinop ( self,
tree )

Definition at line 9 of file node_merge.py.


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