Home
last modified time | relevance | path

Searched refs:ReturnStmt (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
DReturnStmt.java44 public class ReturnStmt extends Statement { class
49 public ReturnStmt() { in ReturnStmt() method in ReturnStmt
54 public ReturnStmt(final Expression expression) { in ReturnStmt() method in ReturnStmt
62 public ReturnStmt(TokenRange tokenRange, Expression expression) { in ReturnStmt() method in ReturnStmt
71 public ReturnStmt(String expression) { in ReturnStmt() method in ReturnStmt
99 public ReturnStmt setExpression(final Expression expression) { in setExpression()
101 return (ReturnStmt) this; in setExpression()
126 public ReturnStmt removeExpression() { in removeExpression()
132 public ReturnStmt clone() { in clone()
133 return (ReturnStmt) accept(new CloneVisitor(), null); in clone()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DFieldsResolutionTest.java28 import com.github.javaparser.ast.stmt.ReturnStmt;
60 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughThis()
102 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessEnumMethodThroughThis()
114 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in accessClassFieldThroughSuper()
130 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughThis()
152 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldThroughSuper()
175 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass1()
197 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveClassFieldOfClassExtendingUnknownClass2()
219 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveInheritedFieldFromInterface()
DLambdaResolutionTest.java24 import com.github.javaparser.ast.stmt.ReturnStmt;
40 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaMapParameter()
54 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in personsStream()
69 ReturnStmt returnStmt1 = Navigator.findReturnStmt(m1); in lambdaMap()
70 ReturnStmt returnStmt2 = Navigator.findReturnStmt(m2); in lambdaMap()
86 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaReduce()
99 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaPrint()
112 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaBifunc()
125 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaCollectParam()
140 ReturnStmt returnStmt = Navigator.findReturnStmt(method); in lambdaCollect()
[all …]
DEnumResolutionTest.java27 import com.github.javaparser.ast.stmt.ReturnStmt;
77 ReturnStmt returnStmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in resolveEnumConstantAccess()
DVariadicResolutionTest.java24 import com.github.javaparser.ast.stmt.ReturnStmt;
50 ReturnStmt stmt = (ReturnStmt) method.getBody().get().getStatements().get(0); in issue7()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/stmt/
DReturnStmt.java33 public final class ReturnStmt extends Statement { class
37 public ReturnStmt() { in ReturnStmt() method in ReturnStmt
40 public ReturnStmt(final Expression expr) { in ReturnStmt() method in ReturnStmt
44 public ReturnStmt(Range range, final Expression expr) { in ReturnStmt() method in ReturnStmt
54 public ReturnStmt(String expr) { in ReturnStmt() method in ReturnStmt
71 public ReturnStmt setExpr(final Expression expr) { in setExpr()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_stmt_ReturnStmt.txt1 …Line 41) setExpr(expr) ==> com.github.javaparser.ast.stmt.ReturnStmt.setExpr(com.github.javaparser…
2 …Line 46) setExpr(expr) ==> com.github.javaparser.ast.stmt.ReturnStmt.setExpr(com.github.javaparser…
3 …Line 55) setExpr(new NameExpr(expr)) ==> com.github.javaparser.ast.stmt.ReturnStmt.setExpr(com.git…
4 …om.github.javaparser.ast.visitor.GenericVisitor.visit(com.github.javaparser.ast.stmt.ReturnStmt, A)
5 …> com.github.javaparser.ast.visitor.VoidVisitor.visit(com.github.javaparser.ast.stmt.ReturnStmt, A)
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/stmt/
DReturnStmt.java31 public final class ReturnStmt extends Statement { class
35 public ReturnStmt() { in ReturnStmt() method in ReturnStmt
38 public ReturnStmt(final Expression expr) { in ReturnStmt() method in ReturnStmt
42 …public ReturnStmt(final int beginLine, final int beginColumn, final int endLine, final int endColu… in ReturnStmt() method in ReturnStmt
/external/clang/lib/StaticAnalyzer/Checkers/
DReturnPointerRangeChecker.cpp27 public Checker< check::PreStmt<ReturnStmt> > {
31 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
35 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DReturnUndefChecker.cpp27 class ReturnUndefChecker : public Checker< check::PreStmt<ReturnStmt> > {
35 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
39 void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DVforkChecker.cpp46 check::Bind, check::PreStmt<ReturnStmt>> {
65 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
210 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DReturnPointerRangeChecker.cpp27 public Checker< check::PreStmt<ReturnStmt> > {
31 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
35 void ReturnPointerRangeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DMIGChecker.cpp37 class MIGChecker : public Checker<check::PostCall, check::PreStmt<ReturnStmt>,
90 void checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const;
101 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
104 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const { in checkEndFunction()
247 void MIGChecker::checkReturnAux(const ReturnStmt *RS, CheckerContext &C) const { in checkReturnAux()
DReturnUndefChecker.cpp26 class ReturnUndefChecker : public Checker< check::PreStmt<ReturnStmt> > {
34 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
38 void ReturnUndefChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
DCheckerDocumentation.cpp36 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
72 void checkPreStmt(const ReturnStmt *DS, CheckerContext &C) const {} in checkPreStmt()
194 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const {} in checkEndFunction()
DVforkChecker.cpp45 check::Bind, check::PreStmt<ReturnStmt>> {
64 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
210 void VforkChecker::checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const { in checkPreStmt()
DStackAddrEscapeChecker.cpp30 : public Checker<check::PreCall, check::PreStmt<ReturnStmt>,
49 void checkPreStmt(const ReturnStmt *RS, CheckerContext &C) const;
50 void checkEndFunction(const ReturnStmt *RS, CheckerContext &Ctx) const;
252 void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS, in checkPreStmt()
294 void StackAddrEscapeChecker::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
DTraversalChecker.cpp32 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
58 void TraversalDumper::checkEndFunction(const ReturnStmt *RS, in checkEndFunction()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue200Test.java6 import com.github.javaparser.ast.stmt.ReturnStmt;
27 List<ReturnStmt> nodesByType = methodDeclaration.findAll(ReturnStmt.class); in issue200()
/external/llvm-project/flang/lib/Semantics/
Dcheck-return.h15 struct ReturnStmt;
22 void Leave(const parser::ReturnStmt &);
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DFieldDeclarationBuildersTest.java27 import com.github.javaparser.ast.stmt.ReturnStmt;
61 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInAClass()
88 assertEquals(ReturnStmt.class, getter.getBody().get().getStatement(0).getClass()); in testCreateGetterInEnum()
/external/llvm-project/clang/include/clang/Analysis/
DConstructionContext.h93 ConstructionContextItem(const ReturnStmt *RS) in ConstructionContextItem()
560 const ReturnStmt *RS;
564 const ReturnStmt *RS) in ReturnedValueConstructionContext()
571 const ReturnStmt *getReturnStmt() const { return RS; } in getReturnStmt()
588 explicit SimpleReturnedValueConstructionContext(const ReturnStmt *RS) in SimpleReturnedValueConstructionContext()
613 const ReturnStmt *RS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyReturnedValueConstructionContext()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java53 import com.github.javaparser.ast.stmt.ReturnStmt;
179 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfIntersectionType()
193 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfCast()
206 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfCastNonIntersection()
219 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfLambda()
235 ReturnStmt returnStmt = methodDeclaration.getBody().get().getStatement(0).asReturnStmt(); in rangeOfLambdaBody()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DExpressionHelper.java7 import com.github.javaparser.ast.stmt.ReturnStmt;
104 if (parent instanceof ReturnStmt) { in appearsInAssignmentContext()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
DRetainCountChecker.h326 ExplodedNode* checkReturnWithRetEffect(const ReturnStmt *S, CheckerContext &C,
332 void checkEndFunction(const ReturnStmt *RS, CheckerContext &C) const;
356 const ReturnStmt *S=nullptr) const;
373 ExplodedNode * processReturn(const ReturnStmt *S, CheckerContext &C) const;

12345678910>>...12