Lines Matching refs:expression
153 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add() argument
154 this->statements.push_back(std::make_shared<ExpressionStatement>(expression)); in Add()
157 ExpressionStatement::ExpressionStatement(std::shared_ptr<Expression> e) : expression(e) {} in ExpressionStatement()
160 this->expression->Write(to); in Write()
242 Cast::Cast(const std::string& t, std::shared_ptr<Expression> e) : type(t), expression(e) {} in Cast()
246 expression->Write(to); in Write()
265 if (this->expression != nullptr) { in Write()
267 this->expression->Write(to); in Write()
277 ReturnStatement::ReturnStatement(std::shared_ptr<Expression> e) : expression(e) {} in ReturnStatement()
281 this->expression->Write(to); in Write()
314 SwitchStatement::SwitchStatement(std::shared_ptr<Expression> e) : expression(e) {} in SwitchStatement()
318 this->expression->Write(to); in Write()