Home
last modified time | relevance | path

Searched refs:WhileStmt (Results 1 – 25 of 162) sorted by relevance

1234567

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DWhileStmt.java47 public class WhileStmt extends Statement implements NodeWithBody<WhileStmt>, NodeWithCondition<Whil… class
53 public WhileStmt() { in WhileStmt() method in WhileStmt
58 public WhileStmt(final Expression condition, final Statement body) { in WhileStmt() method in WhileStmt
66 public WhileStmt(TokenRange tokenRange, Expression condition, Statement body) { in WhileStmt() method in WhileStmt
96 public WhileStmt setBody(final Statement body) { in setBody()
99 return (WhileStmt) this; in setBody()
110 public WhileStmt setCondition(final Expression condition) { in setCondition()
113 return (WhileStmt) this; in setCondition()
133 public WhileStmt clone() { in clone()
134 return (WhileStmt) accept(new CloneVisitor(), null); in clone()
[all …]
DStatement.java269 public WhileStmt asWhileStmt() { in asWhileStmt()
346 public void ifWhileStmt(Consumer<WhileStmt> action) { in ifWhileStmt()
440 public Optional<WhileStmt> toWhileStmt() { in toWhileStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DWhileStmt.java33 public final class WhileStmt extends Statement implements NodeWithBody<WhileStmt> { class
39 public WhileStmt() { in WhileStmt() method in WhileStmt
42 public WhileStmt(final Expression condition, final Statement body) { in WhileStmt() method in WhileStmt
47 public WhileStmt(Range range, final Expression condition, final Statement body) { in WhileStmt() method in WhileStmt
71 public WhileStmt setBody(final Statement body) { in setBody()
77 public WhileStmt setCondition(final Expression condition) { in setCondition()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_stmt_WhileStmt.txt1 …Line 43) setCondition(condition) ==> com.github.javaparser.ast.stmt.WhileStmt.setCondition(com.git…
2 …Line 44) setBody(body) ==> com.github.javaparser.ast.stmt.WhileStmt.setBody(com.github.javaparser.…
3 …Line 49) setCondition(condition) ==> com.github.javaparser.ast.stmt.WhileStmt.setCondition(com.git…
4 …Line 50) setBody(body) ==> com.github.javaparser.ast.stmt.WhileStmt.setBody(com.github.javaparser.…
5 …com.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.WhileStmt, A)
6 …=> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.WhileStmt, A)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DWhileStmt.java31 public final class WhileStmt extends Statement { class
37 public WhileStmt() { in WhileStmt() method in WhileStmt
40 public WhileStmt(final Expression condition, final Statement body) { in WhileStmt() method in WhileStmt
45 …public WhileStmt(final int beginLine, final int beginColumn, final int endLine, final int endColum… in WhileStmt() method in WhileStmt
/external/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp30 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
43 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DLoopWidening.cpp35 return cast<WhileStmt>(LoopStmt)->getCond(); in getLoopCondition()
48 assert(isa<ForStmt>(LoopStmt) || isa<WhileStmt>(LoopStmt) || in getWidenedLoopState()
/external/llvm-project/clang/test/Analysis/
Dtraversal-algorithm.mm53 // DFS:27 WhileStmt
99 // DFS-next:27 WhileStmt
132 // DFS-next:27 WhileStmt
165 // DFS-next:27 WhileStmt
/external/clang/test/Analysis/
Dtraversal-algorithm.mm53 // DFS:27 WhileStmt
99 // DFS-next:27 WhileStmt
132 // DFS-next:27 WhileStmt
165 // DFS-next:27 WhileStmt
/external/llvm-project/clang/lib/AST/
DStmt.cpp1098 WhileStmt::WhileStmt(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in WhileStmt() function in WhileStmt
1115 WhileStmt::WhileStmt(EmptyShell Empty, bool HasVar) in WhileStmt() function in WhileStmt
1120 WhileStmt *WhileStmt::Create(const ASTContext &Ctx, VarDecl *Var, Expr *Cond, in Create()
1127 alignof(WhileStmt)); in Create()
1128 return new (Mem) WhileStmt(Ctx, Var, Cond, Body, WL, LParenLoc, RParenLoc); in Create()
1131 WhileStmt *WhileStmt::CreateEmpty(const ASTContext &Ctx, bool HasVar) { in CreateEmpty()
1134 alignof(WhileStmt)); in CreateEmpty()
1135 return new (Mem) WhileStmt(EmptyShell(), HasVar); in CreateEmpty()
1138 VarDecl *WhileStmt::getConditionVariable() { in getConditionVariable()
1145 void WhileStmt::setConditionVariable(const ASTContext &Ctx, VarDecl *V) { in setConditionVariable()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DWhileStmtMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.stmt.WhileStmt.class, "WhileStmt", "com.gi… in WhileStmtMetaModel()
/external/starlark-go/syntax/
Dgrammar.txt7 Statement = DefStmt | IfStmt | ForStmt | WhileStmt | SimpleStmt .
19 WhileStmt = 'while' Test ':' Suite .
Dsyntax.go96 func (*WhileStmt) stmt() {}
335 type WhileStmt struct { struct
342 func (x *WhileStmt) Span() (start, end Position) { argument
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp402 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
403 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp406 const WhileStmt *WStmt1 = cast<WhileStmt>(Stmt1); in isIdenticalStmt()
407 const WhileStmt *WStmt2 = cast<WhileStmt>(Stmt2); in isIdenticalStmt()
/external/llvm-project/clang/test/CodeGenCXX/
Dattr-likelihood-if-branch-weights.cpp64 void WhileStmt() { in WhileStmt() function
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/expected_output/
Dcom_github_javaparser_ast_stmt_WhileStmt.txt2 [ Class com.github.javaparser.ast.stmt.WhileStmt ]
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp35 if (const auto *While = dyn_cast<WhileStmt>(S)) in isSemicolonRequiredAfter()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DVoidVisitor.java67 import com.github.javaparser.ast.stmt.WhileStmt;
231 void visit(WhileStmt n, A arg); in visit()
DGenericVisitor.java67 import com.github.javaparser.ast.stmt.WhileStmt;
231 public R visit(WhileStmt n, A arg); in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DVoidVisitor.java64 import com.github.javaparser.ast.stmt.WhileStmt;
232 void visit(WhileStmt n, A arg); in visit()
DGenericVisitor.java64 import com.github.javaparser.ast.stmt.WhileStmt;
232 R visit(WhileStmt n, A arg); in visit()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisleadingIndentationCheck.cpp71 } else if (const auto *CurrentWhile = dyn_cast<WhileStmt>(CurrentStmt)) { in missingBracesCheck()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInfiniteLoopCheck.cpp140 if (const auto *While = dyn_cast<WhileStmt>(LoopStmt)) { in check()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DExtractVariable.cpp136 isa<ReturnStmt>(Stmt) || isa<WhileStmt>(Stmt); in computeInsertionPoint()
348 if (const auto* WS = llvm::dyn_cast<WhileStmt>(Outer)) in childExprIsStmt()

1234567