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

Public Member Functions

 DoOrderArguments (ReferenceMap *refMap, TypeMap *typeMap)
 
const IR::Node * postorder (IR::ConstructorCallExpression *expression) override
 
const IR::Node * postorder (IR::Declaration_Instance *instance) override
 
const IR::Node * postorder (IR::MethodCallExpression *expression) override
 

Detailed Description

Order the arguments of a call in the order that the parameters appear. This only works if all optional parameters are at the end.