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