Searched refs:ifStmt (Results 1 – 9 of 9) sorted by relevance
15 …IfStmt ifStmt = (IfStmt) JavaParser.parseStatement("if (cond) doSomething(); else doSomethingElse(… in issue1247withElseSingleStmt() local16 assertEquals(false, ifStmt.hasElseBlock()); in issue1247withElseSingleStmt()17 assertEquals(true, ifStmt.hasElseBranch()); in issue1247withElseSingleStmt()18 assertEquals(false, ifStmt.hasCascadingIfStmt()); in issue1247withElseSingleStmt()23 …IfStmt ifStmt = (IfStmt) JavaParser.parseStatement("if (cond) doSomething(); else { doSomethingEls… in issue1247withElseBlockStmt() local24 assertEquals(true, ifStmt.hasElseBlock()); in issue1247withElseBlockStmt()25 assertEquals(true, ifStmt.hasElseBranch()); in issue1247withElseBlockStmt()26 assertEquals(false, ifStmt.hasCascadingIfStmt()); in issue1247withElseBlockStmt()31 …IfStmt ifStmt = (IfStmt) JavaParser.parseStatement("if (cond1) doSomething(); else if (cond2) doSo… in issue1247withElseSingleStmtWhichIsAnIf() local32 assertEquals(false, ifStmt.hasElseBlock()); in issue1247withElseSingleStmtWhichIsAnIf()[all …]
717 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()719 ifStmt(hasThen(cxxBoolLiteral(equals(true)))))); in TEST()721 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()723 ifStmt(hasElse(cxxBoolLiteral(equals(true)))))); in TEST()963 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()1307 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()1332 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()1335 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()1341 ifStmt(hasConditionVariableStatement(declStmt())))); in TEST()1409 compoundStmt(forEachDescendant(ifStmt().bind("if")), in TEST()[all …]
316 StatementMatcher MixedTypes = stmt(anyOf(ifStmt(), binaryOperator())); in TEST()1825 stmt(allOf(ifStmt().bind("if"), in TEST()1830 stmt(allOf(ifStmt().bind("if"), has(stmt(equalsBoundNode("if"))))))); in TEST()
775 ifStmt(hasCondition(cxxBoolLiteral(equals(true)))); in TEST()1463 "void f() { if (true) if(true) {} }", ifStmt().bind(""), in TEST()
84 id("id", ifStmt( in TEST()95 id("id", ifStmt(hasCondition(cxxBoolLiteral(equals(false))))), in TEST()
34 ifStmt(hasParent(compoundStmt())))); in TEST()
269 REGISTER_MATCHER(ifStmt); in RegistryMaps()
1384 const internal::VariadicDynCastAllOfMatcher<Stmt, IfStmt> ifStmt; variable
META-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...