Searched refs:Statement (Results 1 – 7 of 7) sorted by relevance
126 struct Statement : public AstNode { struct127 virtual ~Statement() = default;130 struct LiteralStatement : public Statement {140 struct StatementBlock : public Statement {141 std::vector<std::shared_ptr<Statement>> statements;147 void Add(std::shared_ptr<Statement> statement);151 struct ExpressionStatement : public Statement {229 struct VariableDeclaration : public Statement {239 struct IfStatement : public Statement {249 struct ReturnStatement : public Statement {[all …]
184 Statement s(new LiteralExpression("foo")); in TEST_F()196 block.AddStatement(unique_ptr<AstNode>(new Statement("foo"))); in TEST_F()197 block.AddStatement(unique_ptr<AstNode>(new Statement("bar"))); in TEST_F()244 case2->AddStatement(unique_ptr<AstNode>{new Statement{"baz"}}); in TEST_F()246 case1->AddStatement(unique_ptr<AstNode>{new Statement{"foo"}}); in TEST_F()247 case1->AddStatement(unique_ptr<AstNode>{new Statement{"bar"}}); in TEST_F()
242 statements_.push_back(unique_ptr<AstNode>(new Statement(expression_str))); in AddLiteral()388 Statement::Statement(unique_ptr<AstNode> expression) in Statement() function in android::aidl::cpp::Statement391 Statement::Statement(AstNode* expression) : expression_(expression) {} in Statement() function in android::aidl::cpp::Statement393 Statement::Statement(const string& expression) in Statement() function in android::aidl::cpp::Statement396 void Statement::Write(CodeWriter* to) const { in Write()
313 class Statement : public AstNode {315 explicit Statement(std::unique_ptr<AstNode> expression);316 explicit Statement(AstNode* expression); // Takes possession.317 explicit Statement(const std::string& expression);318 ~Statement() = default;
149 void StatementBlock::Add(std::shared_ptr<Statement> statement) { in Add()
594 b->AddStatement(new Statement(new MethodCall( in HandleServerTransaction()
95 …titutes acceptance of the QuoVadis Root CA 3 Certificate Policy / Certification Practice Statement.