/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 73 public class SwitchStmt extends Statement implements SwitchNode { class 79 public SwitchStmt() { in SwitchStmt() method in SwitchStmt 84 public SwitchStmt(final Expression selector, final NodeList<SwitchEntry> entries) { in SwitchStmt() method in SwitchStmt 92 public SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntry> entries) { in SwitchStmt() method in SwitchStmt 126 public SwitchStmt setEntries(final NodeList<SwitchEntry> entries) { in setEntries() 129 return (SwitchStmt) this; in setEntries() 140 public SwitchStmt setSelector(final Expression selector) { in setSelector() 143 return (SwitchStmt) this; in setSelector() 169 public SwitchStmt clone() { in clone() 170 return (SwitchStmt) accept(new CloneVisitor(), null); in clone() [all …]
|
D | Statement.java | 219 public SwitchStmt asSwitchStmt() { in asSwitchStmt() 326 public void ifSwitchStmt(Consumer<SwitchStmt> action) { in ifSwitchStmt() 415 public Optional<SwitchStmt> toSwitchStmt() { in toSwitchStmt()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 36 public final class SwitchStmt extends Statement { class 42 public SwitchStmt() { in SwitchStmt() method in SwitchStmt 45 public SwitchStmt(final Expression selector, in SwitchStmt() method in SwitchStmt 51 public SwitchStmt(Range range, final Expression selector, in SwitchStmt() method in SwitchStmt 77 public SwitchStmt setEntries(final List<SwitchEntryStmt> entries) { in setEntries() 83 public SwitchStmt setSelector(final Expression selector) { in setSelector()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/ |
D | com_github_javaparser_ast_stmt_SwitchStmt.txt | 1 …Line 47) setSelector(selector) ==> com.github.javaparser.ast.stmt.SwitchStmt.setSelector(com.githu… 2 …Line 48) setEntries(entries) ==> com.github.javaparser.ast.stmt.SwitchStmt.setEntries(java.util.Li… 3 …Line 54) setSelector(selector) ==> com.github.javaparser.ast.stmt.SwitchStmt.setSelector(com.githu… 4 …Line 55) setEntries(entries) ==> com.github.javaparser.ast.stmt.SwitchStmt.setEntries(java.util.Li… 5 …om.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.SwitchStmt, A) 6 …> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.SwitchStmt, A)
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/ |
D | SwitchStmt.java | 33 public final class SwitchStmt extends Statement { class 39 public SwitchStmt() { in SwitchStmt() method in SwitchStmt 42 public SwitchStmt(final Expression selector, in SwitchStmt() method in SwitchStmt 48 public SwitchStmt(final int beginLine, final int beginColumn, in SwitchStmt() method in SwitchStmt
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparser/ |
D | Navigator.java | 26 import com.github.javaparser.ast.stmt.SwitchStmt; 208 public static SwitchStmt findSwitch(Node node) { in findSwitch() 209 SwitchStmt res = findSwitchHelper(node); in findSwitch() 261 private static SwitchStmt findSwitchHelper(Node node) { in findSwitchHelper() 262 if (node instanceof SwitchStmt) { in findSwitchHelper() 263 return (SwitchStmt) node; in findSwitchHelper() 266 SwitchStmt resChild = findSwitchHelper(child); in findSwitchHelper()
|
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/ |
D | MultiwayPathsCoveredCheck.cpp | 51 static std::pair<std::size_t, bool> countCaseLabels(const SwitchStmt *Switch) { in countCaseLabels() 99 const auto *Switch = Result.Nodes.getNodeAs<SwitchStmt>("switch"); in check() 129 const SwitchStmt *Switch, std::size_t CaseCount) { in handleSwitchWithDefault() 140 const SwitchStmt *Switch, std::size_t CaseCount, in handleSwitchWithoutDefault()
|
D | MultiwayPathsCoveredCheck.h | 34 void handleSwitchWithDefault(const SwitchStmt *Switch, std::size_t CaseCount); 36 const SwitchStmt *Switch, std::size_t CaseCount,
|
/external/llvm-project/clang/lib/CodeGen/ |
D | VarBypassDetector.cpp | 70 if (const Stmt *Init = cast<SwitchStmt>(S)->getInit()) { in BuildScopeInformation() 75 if (const VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) { in BuildScopeInformation() 143 } else if (const SwitchStmt *SS = dyn_cast<SwitchStmt>(St)) { in Detect()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparser/ |
D | Navigator.java | 26 import com.github.javaparser.ast.stmt.SwitchStmt; 200 public static SwitchStmt findSwitch(Node node) { in findSwitch() 228 private static Optional<SwitchStmt> findSwitchHelper(Node node) { in findSwitchHelper() 230 if (node instanceof SwitchStmt) { in findSwitchHelper() 231 return Optional.of((SwitchStmt) node); in findSwitchHelper() 234 Optional<SwitchStmt> resChild = findSwitchHelper(child); in findSwitchHelper()
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/other/ |
D | TokenKindGenerator.java | 13 import com.github.javaparser.ast.stmt.SwitchStmt; 40 …final SwitchStmt valueOfSwitch = kindEnum.findFirst(SwitchStmt.class).orElseThrow(() -> new Assert… in generate() 61 …private void generateValueOfEntry(SwitchStmt valueOfSwitch, String name, IntegerLiteralExpr kind) { in generateValueOfEntry()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | SwitchEntryContext.java | 21 import com.github.javaparser.ast.stmt.SwitchStmt; 47 SwitchStmt switchStmt = (SwitchStmt) requireParentNode(wrappedNode); in solveSymbol()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | SwitchEntryContext.java | 21 import com.github.javaparser.ast.stmt.SwitchStmt; 47 SwitchStmt switchStmt = (SwitchStmt) getParentNode(wrappedNode); in solveSymbol()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/stmt/ |
D | SwitchStmtTest.java | 14 SwitchStmt switchStmt = parseStatement("switch (day) {\n" + in classicSwitch() 27 SwitchStmt switchStmt = parseStatement("switch (day) {\n" + in jep325Example1()
|
/external/llvm-project/clang/lib/AST/ |
D | Stmt.cpp | 1030 SwitchStmt::SwitchStmt(const ASTContext &Ctx, Stmt *Init, VarDecl *Var, in SwitchStmt() function in SwitchStmt 1051 SwitchStmt::SwitchStmt(EmptyShell Empty, bool HasInit, bool HasVar) in SwitchStmt() function in SwitchStmt 1058 SwitchStmt *SwitchStmt::Create(const ASTContext &Ctx, Stmt *Init, VarDecl *Var, in Create() 1065 alignof(SwitchStmt)); in Create() 1066 return new (Mem) SwitchStmt(Ctx, Init, Var, Cond, LParenLoc, RParenLoc); in Create() 1069 SwitchStmt *SwitchStmt::CreateEmpty(const ASTContext &Ctx, bool HasInit, in CreateEmpty() 1073 alignof(SwitchStmt)); in CreateEmpty() 1074 return new (Mem) SwitchStmt(EmptyShell(), HasInit, HasVar); in CreateEmpty() 1077 VarDecl *SwitchStmt::getConditionVariable() { in getConditionVariable() 1084 void SwitchStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | EnumResolutionTest.java | 28 import com.github.javaparser.ast.stmt.SwitchStmt; 48 SwitchStmt switchStmt = Navigator.findSwitch(method); in switchOnEnum()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/ |
D | SwitchStmtMetaModel.java | 8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.stmt.SwitchStmt.class, "SwitchStmt", "com.… in SwitchStmtMetaModel()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
D | ControlFlowLogic.java | 106 if (n.isEmpty() && !parentIs(statement, SwitchStmt.class)) { in canCompleteNormally() 111 if (!n.isEmpty() && !parentIs(statement, SwitchStmt.class)) { in canCompleteNormally()
|
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/ |
D | PopulateSwitch.cpp | 75 const SwitchStmt *Switch = nullptr; 109 Switch = dyn_cast<SwitchStmt>(CAStmt); in REGISTER_TWEAK()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_SwitchEntryContext.txt | 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/llvm-project/clang/test/CodeGenCXX/ |
D | attr-likelihood-if-branch-weights.cpp | 128 void SwitchStmt() { in SwitchStmt() function
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/ |
D | com_github_javaparser_ast_stmt_SwitchStmt.txt | 2 [ Class com.github.javaparser.ast.stmt.SwitchStmt ]
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/ |
D | SourceExtraction.cpp | 43 if(const auto *Switch = dyn_cast<SwitchStmt>(S)) in isSemicolonRequiredAfter()
|
/external/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 309 if (Stmt *Init = cast<SwitchStmt>(S)->getInit()) { in BuildScopeInformation() 313 if (VarDecl *Var = cast<SwitchStmt>(S)->getConditionVariable()) { in BuildScopeInformation() 603 SwitchStmt *SS = cast<SwitchStmt>(Jump); in VerifyJumps()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/ |
D | VoidVisitor.java | 62 import com.github.javaparser.ast.stmt.SwitchStmt; 221 void visit(SwitchStmt n, A arg); in visit()
|