Lines Matching refs:Expression
73 void WriteArgumentList(CodeWriter* to, const vector<std::shared_ptr<Expression>>& arguments) { in WriteArgumentList()
122 FieldVariable::FieldVariable(std::shared_ptr<Expression> o, const string& n) in FieldVariable()
129 overloaded{[&](std::shared_ptr<Expression> e) { e->Write(to); }, in Write()
156 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add()
160 ExpressionStatement::ExpressionStatement(std::shared_ptr<Expression> e) : expression(e) {} in ExpressionStatement()
167 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in Assignment()
170 Assignment::Assignment(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r, string c) in Assignment()
184 MethodCall::MethodCall(const string& n, const std::vector<std::shared_ptr<Expression>>& args) in MethodCall()
187 MethodCall::MethodCall(std::shared_ptr<Expression> o, const string& n) : receiver(o), name(n) {} in MethodCall()
191 MethodCall::MethodCall(std::shared_ptr<Expression> o, const string& n, in MethodCall()
192 const std::vector<std::shared_ptr<Expression>>& args) in MethodCall()
196 const std::vector<std::shared_ptr<Expression>>& args) in MethodCall()
201 overloaded{[&](std::shared_ptr<Expression> e) { in Write()
212 Comparison::Comparison(std::shared_ptr<Expression> l, const string& o, in Comparison()
213 std::shared_ptr<Expression> r) in Comparison()
227 const std::vector<std::shared_ptr<Expression>>& args) in NewExpression()
236 NewArrayExpression::NewArrayExpression(const std::string& t, std::shared_ptr<Expression> s) in NewArrayExpression()
245 Cast::Cast(const std::string& t, std::shared_ptr<Expression> e) : type(t), expression(e) {} in Cast()
253 VariableDeclaration::VariableDeclaration(std::shared_ptr<Variable> l, std::shared_ptr<Expression> r) in VariableDeclaration()
280 ReturnStatement::ReturnStatement(std::shared_ptr<Expression> e) : expression(e) {} in ReturnStatement()
317 SwitchStatement::SwitchStatement(std::shared_ptr<Expression> e) : expression(e) {} in SwitchStatement()
460 std::shared_ptr<Expression> NULL_VALUE = std::make_shared<LiteralExpression>("null");
461 std::shared_ptr<Expression> THIS_VALUE = std::make_shared<LiteralExpression>("this");
462 std::shared_ptr<Expression> SUPER_VALUE = std::make_shared<LiteralExpression>("super");
463 std::shared_ptr<Expression> TRUE_VALUE = std::make_shared<LiteralExpression>("true");
464 std::shared_ptr<Expression> FALSE_VALUE = std::make_shared<LiteralExpression>("false");