Home
last modified time | relevance | path

Searched refs:thenStmt (Results 1 – 17 of 17) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DIfStmt.java53 private Statement thenStmt; field in IfStmt
63 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
64 this(null, condition, thenStmt, elseStmt); in IfStmt()
71 …public IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt)… in IfStmt() argument
74 setThenStmt(thenStmt); in IfStmt()
103 return thenStmt; in getThenStmt()
140 public IfStmt setThenStmt(final Statement thenStmt) { in setThenStmt() argument
141 assertNotNull(thenStmt); in setThenStmt()
142 if (thenStmt == this.thenStmt) { in setThenStmt()
145 notifyPropertyChange(ObservableProperty.THEN_STMT, this.thenStmt, thenStmt); in setThenStmt()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DIfStmt.java36 private Statement thenStmt; field in IfStmt
43 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
45 setThenStmt(thenStmt); in IfStmt()
50 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
53 setThenStmt(thenStmt); in IfStmt()
74 return thenStmt; in getThenStmt()
89 public IfStmt setThenStmt(final Statement thenStmt) { in setThenStmt() argument
90 this.thenStmt = thenStmt; in setThenStmt()
91 setAsParentNodeOf(this.thenStmt); in setThenStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DIfStmt.java35 private Statement thenStmt; field in IfStmt
42 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
44 setThenStmt(thenStmt); in IfStmt()
49 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
52 setThenStmt(thenStmt); in IfStmt()
73 return thenStmt; in getThenStmt()
86 public void setThenStmt(final Statement thenStmt) { in setThenStmt() argument
87 this.thenStmt = thenStmt; in setThenStmt()
88 setAsParentNodeOf(this.thenStmt); in setThenStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_stmt_IfStmt.txt8 Line 44) setThenStmt(thenStmt) ==> void
15 Line 52) setThenStmt(thenStmt) ==> void
21 Line 73) thenStmt ==> com.github.javaparser.ast.stmt.Statement
26 Line 87) this.thenStmt = thenStmt ==> com.github.javaparser.ast.stmt.Statement
27 Line 88) setAsParentNodeOf(this.thenStmt) ==> void
Dcom_github_javaparser_ast_visitor_CloneVisitor.txt679 …Line 1013) Statement thenStmt = cloneNodes(_n.getThenStmt(), _arg) ==> com.github.javaparser.ast.s…
685 …(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), condition, thenStmt, elseStmt) ==> co…
686 …(), _n.getBeginColumn(), _n.getEndLine(), _n.getEndColumn(), condition, thenStmt, elseStmt) ==> co…
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_stmt_IfStmt.txt2 …Line 45) setThenStmt(thenStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setThenStmt(com.github.ja…
5 …Line 53) setThenStmt(thenStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setThenStmt(com.github.ja…
11 …Line 91) setAsParentNodeOf(this.thenStmt) ==> com.github.javaparser.ast.Node.setAsParentNodeOf(com…
Dcom_github_javaparser_ast_visitor_ModifierVisitorAdapter.txt342 …Line 627) n.setThenStmt(thenStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setThenStmt(com.github…
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DModifierVisitorAdapter.java620 final Statement thenStmt = (Statement) n.getThenStmt().accept(this, arg); in visit() local
621 if (thenStmt == null) { in visit()
627 n.setThenStmt(thenStmt); in visit()
DCloneVisitor.java1100 Statement thenStmt = cloneNodes(_n.getThenStmt(), _arg); in visit() local
1106 condition, thenStmt, elseStmt in visit()
/external/clang/lib/Sema/
DSemaStmt.cpp509 Stmt *thenStmt, SourceLocation ElseLoc, in ActOnIfStmt() argument
525 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), thenStmt, in ActOnIfStmt()
528 return BuildIfStmt(IfLoc, IsConstexpr, InitStmt, Cond, thenStmt, ElseLoc, in ActOnIfStmt()
534 Stmt *thenStmt, SourceLocation ElseLoc, in BuildIfStmt() argument
542 DiagnoseUnusedExprResult(thenStmt); in BuildIfStmt()
547 Cond.get().second, thenStmt, ElseLoc, elseStmt); in BuildIfStmt()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DModifierVisitor.java527 Statement thenStmt = (Statement) n.getThenStmt().accept(this, arg); in visit() local
529 if (condition == null || thenStmt == null) in visit()
533 n.setThenStmt(thenStmt); in visit()
DCloneVisitor.java792 Statement thenStmt = cloneNode(n.getThenStmt(), arg); in visit() local
794 IfStmt r = new IfStmt(n.getTokenRange().orElse(null), condition, thenStmt, elseStmt); in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DCloneVisitor.java1013 Statement thenStmt = cloneNodes(_n.getThenStmt(), _arg); in visit() local
1019 condition, thenStmt, elseStmt in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParser.java3935 Statement thenStmt; in IfStatement() local
3946 thenStmt = Statement(); in IfStatement()
3958 IfStmt tmp = new IfStmt(range(begin, tokenEnd()),condition, thenStmt, elseStmt); in IfStatement()
3961 thenStmt.setComment(thenCmmt); in IfStatement()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj2255 Statement thenStmt;
2260 …"if" {begin=token();} "(" condition = Expression() ")" {} thenStmt = Statement() [ LOOKAHEAD(1) "e…
2262 return new IfStmt(range(begin, token()), condition, thenStmt, elseStmt);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParser.java4046 Statement thenStmt; in IfStatement() local
4058 thenStmt = Statement(); in IfStatement()
4069 …IfStmt tmp = new IfStmt(line, column, token.endLine, token.endColumn,condition, thenStmt, elseStmt… in IfStatement()
4071 thenStmt.setComment(thenCmmt); in IfStatement()
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParser.java4175 Statement thenStmt; in IfStatement() local
4184 thenStmt = Statement(); in IfStatement()
4196 return new IfStmt(range(begin, token()), condition, thenStmt, elseStmt); in IfStatement()