Searched refs:StatementBlock (Results 1 – 8 of 8) sorted by relevance
199 class StatementBlock : public Declaration {201 StatementBlock() = default;202 virtual ~StatementBlock() = default;223 StatementBlock* GetStatementBlock();231 StatementBlock body_;244 StatementBlock* GetStatementBlock();252 StatementBlock statements_;267 StatementBlock* AddCase(const std::string& value_expression);273 std::vector<std::unique_ptr<StatementBlock>> case_logic_;306 StatementBlock* OnTrue() { return &on_true_; } in OnTrue()[all …]
140 struct StatementBlock : public Statement { struct143 StatementBlock() = default; argument144 virtual ~StatementBlock() = default;241 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();258 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();266 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();275 std::shared_ptr<StatementBlock> statements = std::make_shared<StatementBlock>();300 std::shared_ptr<StatementBlock> statements = nullptr;
249 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement()253 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement()257 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral()267 void StatementBlock::Write(CodeWriter* to) const { in Write()284 StatementBlock* ConstructorImpl::GetStatementBlock() { in GetStatementBlock()323 StatementBlock* MethodImpl::GetStatementBlock() { in GetStatementBlock()339 StatementBlock* SwitchStatement::AddCase(const string& value_expression) { in AddCase()345 StatementBlock* ret = new StatementBlock(); in AddCase()347 case_logic_.push_back(unique_ptr<StatementBlock>{ret}); in AddCase()355 const unique_ptr<StatementBlock>& statements = case_logic_[i]; in Write()
86 std::shared_ptr<StatementBlock> transact_statements;128 ctor->statements = std::make_shared<StatementBlock>(); in StubClass()148 asBinder->statements = std::make_shared<StatementBlock>(); in StubClass()161 getDefaultTransactionName->statements = std::make_shared<StatementBlock>(); in StubClass()174 getTransactionName->statements = std::make_shared<StatementBlock>(); in StubClass()194 onTransact->statements = std::make_shared<StatementBlock>(); in StubClass()268 m->statements = std::make_shared<StatementBlock>(); in make_as_interface()272 ifstatement->statements = std::make_shared<StatementBlock>(); in make_as_interface()294 instOfStatement->statements = std::make_shared<StatementBlock>(); in make_as_interface()329 ctor->statements = std::make_shared<StatementBlock>(); in ProxyClass()[all …]
241 StatementBlock* b = ret->GetStatementBlock(); in DefineClientTransaction()584 const AidlMethod& method, const Options& options, StatementBlock* b) { in HandleServerTransaction()697 StatementBlock* b) { in HandleServerMetaTransaction()766 StatementBlock* b = s->AddCase(GetTransactionIdFor(interface, *method)); in BuildServerSource()782 StatementBlock* b = s->AddCase(""); in BuildServerSource()1115 StatementBlock* read_block) { in BuildReadFromParcel()1149 StatementBlock* write_block) { in BuildWriteToParcel()1199 StatementBlock* read_block) { in BuildReadFromParcel()1207 StatementBlock* write_block) { in BuildWriteToParcel()
141 void StatementBlock::Write(CodeWriter* to) const { in Write()152 void StatementBlock::Add(std::shared_ptr<Statement> statement) { in Add()156 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add()
486 write_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()523 constructor->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()553 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()559 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
245 StatementBlock block; in TEST_F()