|
Represents a function call in an expression with calling style, function name, and arguments. More...
#include <predicateExpression.h>
Public Types | |
enum | Kind { BareCall , ColonCall , ParenCall } |
Public Attributes | |
Kind | kind |
std::string | funcName |
std::vector< FnArg > | args |
Friends | |
template<class HashState > | |
void | TfHashAppend (HashState &h, FnCall const &c) |
bool | operator== (FnCall const &l, FnCall const &r) |
bool | operator!= (FnCall const &l, FnCall const &r) |
void | swap (FnCall &l, FnCall &r) |
Represents a function call in an expression with calling style, function name, and arguments.
Definition at line 124 of file predicateExpression.h.
enum Kind |
Enumerator | |
---|---|
BareCall | no-arg call like 'active' |
ColonCall | colon-separated pos args, like 'isa:Imageable' |
ParenCall | paren/comma & pos/kw args like 'foo(23, bar=baz)' |
Definition at line 125 of file predicateExpression.h.
Definition at line 144 of file predicateExpression.h.
Definition at line 140 of file predicateExpression.h.
Definition at line 147 of file predicateExpression.h.
|
friend |
Definition at line 136 of file predicateExpression.h.
std::vector<FnArg> args |
Definition at line 133 of file predicateExpression.h.
std::string funcName |
Definition at line 132 of file predicateExpression.h.
Kind kind |
Definition at line 131 of file predicateExpression.h.