54 if (name == func->name())
64 for (
int i = 0;
i <
max; ++
i)
75 return !((
testee->numChildren() - 1) % 3);
83 int numChildren =
curveFunc->numChildren() - 2;
98 int numChildren =
ccurveFunc->numChildren() - 2;
Node that compute a local variable assignment.
Node that calls a function.
Node that stores a numeric constant.
Node that stores a string.
Node that references a variable.
Node that constructs a vector from three scalars.
const ExprFuncNode * isNamedFunc(const ExprNode *testee, const std::string &name)
const ExprFuncNode * isCurveFunc(const ExprNode *testee)
double max(double x, double y)
const ExprAssignNode * isVectorAssign(const ExprNode *testee)
const ExprAssignNode * isAssign(const ExprNode *testee)
const ExprFuncNode * isStrFunc(const ExprNode *testee)
const ExprFuncNode * isCcurveFunc(const ExprNode *testee)
const ExprNumNode * isScalar(const ExprNode *testee)
const ExprAssignNode * isStrFuncAssign(const ExprNode *testee)
const ExprVecNode * isLitVec(const ExprNode *testee)
const ExprStrNode * isString(const ExprNode *testee)
const ExprAssignNode * isScalarAssign(const ExprNode *testee)
const ExprAssignNode * isCcurveAssign(const ExprNode *testee)
bool hasCurveNumArgs(const ExprFuncNode *testee)
const ExprVarNode * isVariable(const ExprNode *testee)
const ExprAssignNode * isCurveAssign(const ExprNode *testee)
const ExprVecNode * isVector(const ExprNode *testee)
const ExprFuncNode * isFunc(const ExprNode *testee)