P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::CopySrcInfo Class Reference
Inheritance diagram for P4::CopySrcInfo:

Public Member Functions

 CopySrcInfo (const Util::SourceInfo &srcInfo)
 
const IR::Node * preorder (IR::Node *node)
 Only visit first node.
 

Detailed Description

This simple visitor copies the specified source information to the root node of the IR tree that it is invoked on.