Home
last modified time | relevance | path

Searched refs:IfStatementBuilder (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DifStatementBuilder.h25 class IfStatementBuilder : public AstBuilder<ir::IfStatement> { class
27 explicit IfStatementBuilder(ark::ArenaAllocator *allocator) : AstBuilder(allocator) {} in IfStatementBuilder() function in ark::es2panda::ir::IfStatementBuilder
29 IfStatementBuilder &SetTest(Expression *test) in SetTest()
35 IfStatementBuilder &SetConsequent(Statement *conseq) in SetConsequent()
41 IfStatementBuilder &SetAlternate(Statement *alternate) in SetAlternate()
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_builder_test.cpp80 using ark::es2panda::ir::IfStatementBuilder;
271 IfStatementBuilder(Allocator()).SetTest(binaryExpr).SetConsequent(consStmnt).SetAlternate(alterStmnt).Build(); in TEST_F()

Completed in 2 milliseconds