P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::P4Testgen::ExternInfo Class Reference

#include <extern_info.h>

Public Member Functions

 ExternInfo (const IR::MethodCallExpression &originalCall, const IR::PathExpression &externObjectRef, const IR::ID &methodName, const IR::Vector< IR::Argument > &externArguments)
 
ExternInfooperator= (const ExternInfo &)=delete
 Do not accidentally copy-assign the extern info. It is only passed as reference.
 
ExternInfooperator= (ExternInfo &&)=delete
 

Public Attributes

const IR::Vector< IR::Argument > & externArguments
 Arguments to the extern method.
 
const IR::PathExpression & externObjectRef
 Name of the extern object the call was a member of, if any.
 
const IR::IDmethodName
 Name of the extern method.
 
const IR::MethodCallExpression & originalCall
 Reference to the original P4 extern call.
 

Detailed Description

This class defines parameters useful for the invocation of P4 extern and P4Testgen-internal functions.