Searched refs:StatementBlock (Results 1 – 8 of 8) sorted by relevance
194 class StatementBlock : public Declaration {196 StatementBlock() = default;197 virtual ~StatementBlock() = default;218 StatementBlock* GetStatementBlock();226 StatementBlock body_;241 StatementBlock* GetStatementBlock();249 StatementBlock statements_;263 StatementBlock* AddCase(const std::string& value_expression);269 std::vector<std::unique_ptr<StatementBlock>> case_logic_;302 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;
231 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement()235 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement()239 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral()249 void StatementBlock::Write(CodeWriter* to) const { in Write()266 StatementBlock* ConstructorImpl::GetStatementBlock() { in GetStatementBlock()302 StatementBlock* MethodImpl::GetStatementBlock() { in GetStatementBlock()316 StatementBlock* SwitchStatement::AddCase(const string& value_expression) { in AddCase()322 StatementBlock* ret = new StatementBlock(); in AddCase()324 case_logic_.push_back(unique_ptr<StatementBlock>{ret}); in AddCase()332 const unique_ptr<StatementBlock>& statements = case_logic_[i]; in Write()
84 std::shared_ptr<StatementBlock> transact_statements;126 ctor->statements = std::make_shared<StatementBlock>(); in StubClass()146 asBinder->statements = std::make_shared<StatementBlock>(); in StubClass()159 getDefaultTransactionName->statements = std::make_shared<StatementBlock>(); in StubClass()172 getTransactionName->statements = std::make_shared<StatementBlock>(); in StubClass()192 onTransact->statements = std::make_shared<StatementBlock>(); in StubClass()263 m->statements = std::make_shared<StatementBlock>(); in make_as_interface()267 ifstatement->statements = std::make_shared<StatementBlock>(); in make_as_interface()289 instOfStatement->statements = std::make_shared<StatementBlock>(); in make_as_interface()324 ctor->statements = std::make_shared<StatementBlock>(); in ProxyClass()[all …]
173 write_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()210 constructor->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()239 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()245 read_or_create_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()352 describe_contents_method->statements = std::make_shared<StatementBlock>(); in generate_parcel_class()
138 void StatementBlock::Write(CodeWriter* to) const { in Write()149 void StatementBlock::Add(std::shared_ptr<Statement> statement) { in Add()153 void StatementBlock::Add(std::shared_ptr<Expression> expression) { in Add()
224 bool DeclareLocalVariable(const AidlArgument& a, StatementBlock* b, in DeclareLocalVariable()259 StatementBlock* b = ret->GetStatementBlock(); in DefineClientTransaction()530 const AidlMethod& method, const Options& options, StatementBlock* b) { in HandleServerTransaction()644 StatementBlock* b) { in HandleServerMetaTransaction()714 StatementBlock* b = s->AddCase(GetTransactionIdFor(*method)); in BuildServerSource()730 StatementBlock* b = s->AddCase(""); in BuildServerSource()1139 StatementBlock* read_block = read->GetStatementBlock(); in BuildParcelSource()1169 StatementBlock* write_block = write->GetStatementBlock(); in BuildParcelSource()
195 StatementBlock block; in TEST_F()