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

Public Member Functions

 exprUses (const IR::Expression *e, cstring n)
 
 operator bool () const
 

Detailed Description

Functor to check if an expression uses an lvalue. The lvalue is specified as a a cstring, which can be the name of a variable with optional field names and constant array indexes for fields of headers or structs or unions or elements of stacks.