Home | History | Annotate | Download | only in c2hal

Lines Matching defs:Expression

30 struct Expression {
31 Expression() {}
32 virtual ~Expression() {}
69 static Expression *parenthesize(Expression *inner);
70 static Expression *atom(Type type, const std::string &value, bool isId = false);
71 static Expression *unary(std::string op, Expression *rhs);
72 static Expression *binary(Expression *lhs, std::string op, Expression *rhs);
73 static Expression *ternary(Expression *lhs, Expression *mhs, Expression *rhs);
74 static Expression *arraySubscript(std::string id, Expression *subscript);
75 static Expression *functionCall(std::string id, std::vector<Expression *> *args);
79 // convert this expression to a string.
86 DISALLOW_COPY_AND_ASSIGN(Expression);