Home
last modified time | relevance | path

Searched refs:switchStmt (Results 1 – 7 of 7) sorted by relevance

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DSwitchEntryContext.java47 SwitchStmt switchStmt = (SwitchStmt) requireParentNode(wrappedNode); in solveSymbol() local
48 ResolvedType type = JavaParserFacade.get(typeSolver).getType(switchStmt.getSelector()); in solveSymbol()
61 for (SwitchEntryStmt seStmt : switchStmt.getEntries()) { in solveSymbol()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt2 …Line 48) JavaParserFacade.get(typeSolver).getType(switchStmt.getSelector()) ==> com.github.javapar…
4 Line 48) switchStmt.getSelector() ==> com.github.javaparser.ast.stmt.SwitchStmt.getSelector()
14 Line 61) switchStmt.getEntries() ==> com.github.javaparser.ast.stmt.SwitchStmt.getEntries()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DEnumResolutionTest.java43 SwitchStmt switchStmt = Navigator.findSwitch(method); in switchOnEnum() local
44 Expression expression = switchStmt.getEntries().get(0).getLabel().get(); in switchOnEnum()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp978 switchStmt(hasCondition(integerLiteral(equals(42)))); in TEST()
1300 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1302 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1304 switchStmt(forEachSwitchCase(caseStmt())))); in TEST()
1307 ifStmt(has(switchStmt(forEachSwitchCase(defaultStmt())))))); in TEST()
1309 switchStmt(forEachSwitchCase( in TEST()
1312 switchStmt(forEachSwitchCase( in TEST()
1315 switchStmt(forEachSwitchCase( in TEST()
1319 switchStmt(forEachSwitchCase(caseStmt().bind("x"))), in TEST()
DASTMatchersNodeTest.cpp1059 EXPECT_TRUE(matches("void x() { switch(42) { case 42:; } }", switchStmt())); in TEST()
1060 EXPECT_TRUE(matches("void x() { switch(42) { default:; } }", switchStmt())); in TEST()
1061 EXPECT_TRUE(matches("void x() { switch(42) default:; }", switchStmt())); in TEST()
1062 EXPECT_TRUE(notMatches("void x() {}", switchStmt())); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp392 REGISTER_MATCHER(switchStmt); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1555 const internal::VariadicDynCastAllOfMatcher<Stmt, SwitchStmt> switchStmt; variable