Lines Matching refs:Expression
68 void WriteArgumentList(CodeWriter* to, const vector<Expression*>& arguments) { in WriteArgumentList()
122 FieldVariable::FieldVariable(Expression* o, const string& n) : receiver(o), name(n) {} in FieldVariable()
128 overloaded{[&](Expression* e) { e->Write(to); }, in Write()
155 void StatementBlock::Add(Expression* expression) { in Add()
159 ExpressionStatement::ExpressionStatement(Expression* e) : expression(e) {} in ExpressionStatement()
166 Assignment::Assignment(Variable* l, Expression* r) : lvalue(l), rvalue(r) {} in Assignment()
168 Assignment::Assignment(Variable* l, Expression* r, string c) : lvalue(l), rvalue(r), cast(c) {} in Assignment()
188 MethodCall::MethodCall(Expression* o, const string& n) : receiver(o), name(n) {} in MethodCall()
192 MethodCall::MethodCall(Expression* o, const string& n, int argc = 0, ...) : receiver(o), name(n) { in MethodCall()
209 Expression* expression = (Expression*)va_arg(args, void*); in init()
216 overloaded{[&](Expression* e) { in Write()
227 Comparison::Comparison(Expression* l, const string& o, Expression* r) in Comparison()
249 Expression* expression = (Expression*)va_arg(args, void*); in init()
260 NewArrayExpression::NewArrayExpression(const std::string& t, Expression* s) : type(t), size(s) {} in NewArrayExpression()
268 Cast::Cast(const std::string& t, Expression* e) : type(t), expression(e) {} in Cast()
276 VariableDeclaration::VariableDeclaration(Variable* l, Expression* r) : lvalue(l), rvalue(r) {} in VariableDeclaration()
302 ReturnStatement::ReturnStatement(Expression* e) : expression(e) {} in ReturnStatement()
339 SwitchStatement::SwitchStatement(Expression* e) : expression(e) {} in SwitchStatement()