Home
last modified time | relevance | path

Searched refs:elseStmt (Results 1 – 15 of 15) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DIfStmt.java56 private Statement elseStmt; 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 …ublic IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt) { in IfStmt() argument
75 setElseStmt(elseStmt); in IfStmt()
98 return Optional.ofNullable(elseStmt); in getElseStmt()
127 public IfStmt setElseStmt(final Statement elseStmt) { in setElseStmt() argument
128 if (elseStmt == this.elseStmt) { in setElseStmt()
131 notifyPropertyChange(ObservableProperty.ELSE_STMT, this.elseStmt, elseStmt); in setElseStmt()
132 if (this.elseStmt != null) in setElseStmt()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DIfStmt.java38 private Statement elseStmt; field in IfStmt
43 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
46 setElseStmt(elseStmt); in IfStmt()
50 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
54 setElseStmt(elseStmt); in IfStmt()
70 return elseStmt; in getElseStmt()
83 public IfStmt setElseStmt(final Statement elseStmt) { in setElseStmt() argument
84 this.elseStmt = elseStmt; in setElseStmt()
85 setAsParentNodeOf(this.elseStmt); in setElseStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DIfStmt.java37 private Statement elseStmt; field in IfStmt
42 public IfStmt(final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
45 setElseStmt(elseStmt); in IfStmt()
49 final Expression condition, final Statement thenStmt, final Statement elseStmt) { in IfStmt() argument
53 setElseStmt(elseStmt); in IfStmt()
69 return elseStmt; in getElseStmt()
81 public void setElseStmt(final Statement elseStmt) { in setElseStmt() argument
82 this.elseStmt = elseStmt; in setElseStmt()
83 setAsParentNodeOf(this.elseStmt); in setElseStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_stmt_IfStmt.txt9 Line 45) setElseStmt(elseStmt) ==> void
16 Line 53) setElseStmt(elseStmt) ==> void
20 Line 69) elseStmt ==> com.github.javaparser.ast.stmt.Statement
24 Line 82) this.elseStmt = elseStmt ==> com.github.javaparser.ast.stmt.Statement
25 Line 83) setAsParentNodeOf(this.elseStmt) ==> void
Dcom_github_javaparser_ast_visitor_CloneVisitor.txt681 …Line 1014) Statement elseStmt = cloneNodes(_n.getElseStmt(), _arg) ==> com.github.javaparser.ast.s…
685 …BeginColumn(), _n.getEndLine(), _n.getEndColumn(), condition, thenStmt, elseStmt) ==> com.github.j…
686 …BeginColumn(), _n.getEndLine(), _n.getEndColumn(), condition, thenStmt, elseStmt) ==> com.github.j…
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_stmt_IfStmt.txt3 …Line 46) setElseStmt(elseStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setElseStmt(com.github.ja…
6 …Line 54) setElseStmt(elseStmt) ==> com.github.javaparser.ast.stmt.IfStmt.setElseStmt(com.github.ja…
10 …Line 85) setAsParentNodeOf(this.elseStmt) ==> com.github.javaparser.ast.Node.setAsParentNodeOf(com…
/external/clang/lib/Sema/
DSemaStmt.cpp510 Stmt *elseStmt) { in ActOnIfStmt() argument
524 if (!elseStmt) in ActOnIfStmt()
529 elseStmt); in ActOnIfStmt()
535 Stmt *elseStmt) { in BuildIfStmt() argument
543 DiagnoseUnusedExprResult(elseStmt); in BuildIfStmt()
547 Cond.get().second, thenStmt, ElseLoc, elseStmt); in BuildIfStmt()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/visitor/
DCloneVisitor.java1101 Statement elseStmt = cloneNodes(_n.getElseStmt(), _arg); in visit() local
1106 condition, thenStmt, elseStmt in visit()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DCloneVisitor.java791 Statement elseStmt = cloneNode(n.getElseStmt(), arg); in visit() local
794 IfStmt r = new IfStmt(n.getTokenRange().orElse(null), condition, thenStmt, elseStmt); in visit()
DModifierVisitor.java526 Statement elseStmt = n.getElseStmt().map(s -> (Statement) s.accept(this, arg)).orElse(null); in visit() local
532 n.setElseStmt(elseStmt); in visit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/visitor/
DCloneVisitor.java1014 Statement elseStmt = cloneNodes(_n.getElseStmt(), _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.java3936 Statement elseStmt = null; in IfStatement() local
3951 elseStmt = Statement(); in IfStatement()
3958 IfStmt tmp = new IfStmt(range(begin, tokenEnd()),condition, thenStmt, elseStmt); in IfStatement()
3962 if (elseStmt != null) in IfStatement()
3964 elseStmt.setComment(elseCmmt); in IfStatement()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DASTParser.java4047 Statement elseStmt = null; in IfStatement() local
4063 elseStmt = Statement(); in IfStatement()
4069 …fStmt tmp = new IfStmt(line, column, token.endLine, token.endColumn,condition, thenStmt, elseStmt); in IfStatement()
4072 if (elseStmt != null) in IfStatement()
4073 elseStmt.setComment(elseCmmt); in IfStatement()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj2256 Statement elseStmt = null;
2260 …tion = Expression() ")" {} thenStmt = Statement() [ LOOKAHEAD(1) "else" {} elseStmt = Statement() ]
2262 return new IfStmt(range(begin, token()), condition, thenStmt, elseStmt);
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParser.java4176 Statement elseStmt = null; in IfStatement() local
4189 elseStmt = Statement(); in IfStatement()
4196 return new IfStmt(range(begin, token()), condition, thenStmt, elseStmt); in IfStatement()