Searched refs:StatementBlock (Results 1 – 8 of 8) sorted by relevance
142 struct StatementBlock : public Statement { struct145 StatementBlock() = default; argument146 virtual ~StatementBlock() = default;245 StatementBlock* statements = new StatementBlock;262 StatementBlock* statements = new StatementBlock;270 StatementBlock* statements = new StatementBlock;279 StatementBlock* statements = new StatementBlock;305 StatementBlock* statements = nullptr;
206 class StatementBlock : public Declaration {208 StatementBlock() = default;209 virtual ~StatementBlock() = default;221 DISALLOW_COPY_AND_ASSIGN(StatementBlock);237 StatementBlock body_;254 StatementBlock* GetStatementBlock();262 StatementBlock statements_;278 StatementBlock* AddCase(const std::string& value_expression);284 std::vector<std::unique_ptr<StatementBlock>> case_logic_;323 StatementBlock* OnTrue() { return &on_true_; } in OnTrue()[all …]
229 void StatementBlock::AddStatement(unique_ptr<AstNode> statement) { in AddStatement()233 void StatementBlock::AddStatement(AstNode* statement) { in AddStatement()237 void StatementBlock::AddLiteral(const std::string& expression_str, in AddLiteral()247 void StatementBlock::Write(CodeWriter* to) const { in Write()296 StatementBlock* MethodImpl::GetStatementBlock() { in GetStatementBlock()310 StatementBlock* SwitchStatement::AddCase(const string& value_expression) { in AddCase()316 StatementBlock* ret = new StatementBlock(); in AddCase()318 case_logic_.push_back(unique_ptr<StatementBlock>{ret}); in AddCase()326 const unique_ptr<StatementBlock>& statements = case_logic_[i]; in Write()
82 StatementBlock* transact_statements;135 ctor->statements = new StatementBlock; in StubClass()150 asBinder->statements = new StatementBlock; in StubClass()163 getDefaultTransactionName->statements = new StatementBlock; in StubClass()176 getTransactionName->statements = new StatementBlock; in StubClass()195 onTransact->statements = new StatementBlock; in StubClass()268 m->statements = new StatementBlock; in make_as_interface()272 ifstatement->statements = new StatementBlock; in make_as_interface()296 instOfStatement->statements = new StatementBlock; in make_as_interface()333 ctor->statements = new StatementBlock; in ProxyClass()[all …]
149 write_method->statements = new StatementBlock(); in generate_parcel_class()187 read_method->statements = new StatementBlock(); in generate_parcel_class()236 describe_contents_method->statements = new StatementBlock(); in generate_parcel_class()
199 bool DeclareLocalVariable(const AidlArgument& a, StatementBlock* b) { in DeclareLocalVariable()236 StatementBlock* b = ret->GetStatementBlock(); in DefineClientTransaction()486 const AidlMethod& method, const Options& options, StatementBlock* b) { in HandleServerTransaction()613 StatementBlock* b) { in HandleServerMetaTransaction()662 StatementBlock* b = s->AddCase(GetTransactionIdFor(*method)); in BuildServerSource()678 StatementBlock* b = s->AddCase(""); in BuildServerSource()1049 StatementBlock* read_block = read->GetStatementBlock(); in BuildParcelSource()1078 StatementBlock* write_block = write->GetStatementBlock(); in BuildParcelSource()
140 void StatementBlock::Write(CodeWriter* to) const { in Write()151 void StatementBlock::Add(Statement* statement) { in Add()155 void StatementBlock::Add(Expression* expression) { in Add()
179 StatementBlock block; in TEST_F()