Home
last modified time | relevance | path

Searched refs:getExpression (Results 1 – 25 of 215) sorted by relevance

123456789

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DMethodsResolutionTest.java47 Expression expression = returnStmt.getExpression().get(); in solveMethodAccessThroughSuper()
87 …on = method.getBody().get().getStatements().get(0).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToLong()
93 …on = method.getBody().get().getStatements().get(1).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToLong()
99 …on = method.getBody().get().getStatements().get(2).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToLong()
105 …on = method.getBody().get().getStatements().get(3).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToLong()
121 …on = method.getBody().get().getStatements().get(0).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToInt()
127 …on = method.getBody().get().getStatements().get(1).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToInt()
133 …on = method.getBody().get().getStatements().get(2).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToInt()
139 …on = method.getBody().get().getStatements().get(3).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToInt()
154 …on = method.getBody().get().getStatements().get(0).asExpressionStmt().getExpression().asMethodCall… in solveMethodWithTypePromotionsToShort()
[all …]
DLambdaResolutionTest.java42 MethodCallExpr methodCallExpr = (MethodCallExpr) returnStmt.getExpression().get(); in lambdaMapParameter()
56 Expression expression = returnStmt.getExpression().get(); in personsStream()
72 Expression e1 = returnStmt1.getExpression().get(); in lambdaMap()
73 Expression e2 = returnStmt2.getExpression().get(); in lambdaMap()
88 Expression expr = returnStmt.getExpression().get(); in lambdaReduce()
101 Expression expr = returnStmt.getExpression().get(); in lambdaBifunc()
114 MethodCallExpr methodCallExpr = (MethodCallExpr) returnStmt.getExpression().get(); in lambdaCollectParam()
129 Expression expression = returnStmt.getExpression().get(); in lambdaCollect()
142 Expression expression = returnStmt.getExpression().get(); in lambdaBlockExplicitReturn()
155 Expression expression = returnStmt.getExpression().get(); in lambdaBlockMultiLineReturn()
[all …]
DFieldsResolutionTest.java48 Expression expression = returnStmt.getExpression().get(); in accessClassFieldThroughThis()
60 AssignExpr assignExpr = (AssignExpr) expressionStmt.getExpression(); in accessClassFieldThroughThisWithCompetingSymbolInParentContext()
90 Expression expression = returnStmt.getExpression().get(); in accessEnumMethodThroughThis()
102 Expression expression = returnStmt.getExpression().get(); in accessFieldThroughSuper()
DGenericsResolutionTest.java144 Expression expression = stmt.getExpression(); in resolveUsageOfGenericFieldSimpleCase()
176 Expression expression = stmt.getExpression(); in resolveUsageOfGenericFieldAdvancedCase()
279 … type = JavaParserFacade.get(new ReflectionTypeSolver()).getType(returnStmt.getExpression().get()); in classCast()
332 … type = JavaParserFacade.get(new ReflectionTypeSolver()).getType(returnStmt.getExpression().get()); in typeParamOnReturnType()
400 Expression returnStmtExpr = returnStmt.getExpression().get(); in genericCollectionWithWildcardsAndExtensions()
432 Expression returnStmtExpr = returnStmt.getExpression().get(); in genericCollectionWithWildcards()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/
DDepthFirstAdapter.java127 if(node.getExpression() != null) in caseAVarCommand()
129 node.getExpression().apply(this); in caseAVarCommand()
152 if(node.getExpression() != null) in caseALvarCommand()
154 node.getExpression().apply(this); in caseALvarCommand()
177 if(node.getExpression() != null) in caseAEvarCommand()
179 node.getExpression().apply(this); in caseAEvarCommand()
202 if(node.getExpression() != null) in caseAUvarCommand()
204 node.getExpression().apply(this); in caseAUvarCommand()
231 if(node.getExpression() != null) in caseASetCommand()
233 node.getExpression().apply(this); in caseASetCommand()
[all …]
DReversedDepthFirstAdapter.java124 if(node.getExpression() != null) in caseAVarCommand()
126 node.getExpression().apply(this); in caseAVarCommand()
149 if(node.getExpression() != null) in caseALvarCommand()
151 node.getExpression().apply(this); in caseALvarCommand()
174 if(node.getExpression() != null) in caseAEvarCommand()
176 node.getExpression().apply(this); in caseAEvarCommand()
199 if(node.getExpression() != null) in caseAUvarCommand()
201 node.getExpression().apply(this); in caseAUvarCommand()
224 if(node.getExpression() != null) in caseASetCommand()
226 node.getExpression().apply(this); in caseASetCommand()
[all …]
/external/testng/src/main/java/org/testng/xml/
DXmlMethodSelector.java51 public String getExpression() { in getExpression() method in XmlMethodSelector
107 xsb.addCDATA(getExpression()); in toXml()
126 + ((getExpression() == null) ? 0 : getExpression().hashCode()); in hashCode()
147 if (getExpression() == null) { in equals()
148 if (other.getExpression() != null) in equals()
150 } else if (!getExpression().equals(other.getExpression())) in equals()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DTemplateInterpreter.java110 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAVarCommand()
122 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAUvarCommand()
132 evaluateVariable(node.getExpression(), "[lvar expression]"); in caseALvarCommand()
141 evaluateVariable(node.getExpression(), "[evar expression]"); in caseAEvarCommand()
168 include(node.getExpression(), false); in caseAHardLincludeCommand()
178 include(node.getExpression(), true); in caseALincludeCommand()
187 include(node.getExpression(), false); in caseAHardIncludeCommand()
197 include(node.getExpression(), true); in caseAIncludeCommand()
210 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseASetCommand()
244 Value value = expressionEvaluator.evaluate(node.getExpression()); in caseAIfCommand()
[all …]
DExpressionEvaluator.java124 executeFunction("#", node.getExpression()); in caseANumericExpression()
129 executeFunction("!", node.getExpression()); in caseANotExpression()
134 executeFunction("?", node.getExpression()); in caseAExistsExpression()
219 executeFunction("-", node.getExpression()); in caseANegativeExpression()
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h75 bool isBitPiece() const { return getExpression()->isBitPiece(); } in isBitPiece()
76 const DIExpression *getExpression() const { return Expression; } in getExpression() function
143 return A.getExpression() == B.getExpression(); in sortUniqueValues()
178 return A.getExpression()->getBitPieceOffset() <
179 B.getExpression()->getBitPieceOffset();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h76 bool isFragment() const { return getExpression()->isFragment(); } in isFragment()
77 const DIExpression *getExpression() const { return Expression; } in getExpression() function
146 return A.getExpression() == B.getExpression(); in sortUniqueValues()
181 return A.getExpression()->getFragmentInfo()->OffsetInBits <
182 B.getExpression()->getFragmentInfo()->OffsetInBits;
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateTranslator.java239 .translateToString(node.getExpression()))); in caseAVarCommand()
242 escapingEvaluator.computeIfExemptFromEscaping(node.getExpression(), propagateEscapeStatus); in caseAVarCommand()
253 .translateToString(node.getExpression()))); in caseAUvarCommand()
270 .getExpression()))); in caseASetCommand()
275 .getExpression(), propagateEscapeStatus))); in caseASetCommand()
298 java.startIfBlock(expressionTranslator.translateToBoolean(node.getExpression())); in caseAIfCommand()
315 JavaExpression parent = expressionTranslator.translateToData(node.getExpression()); in caseAEachCommand()
331 JavaExpression value = expressionTranslator.translateUntyped(node.getExpression()); in caseAWithCommand()
377 JavaExpression end = expressionTranslator.translateToNumber(node.getExpression()); in caseALoopToCommand()
486 expressionTranslator.declareAsVariable(tempVariableName, node.getExpression()); in caseAAltCommand()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DRedundentExprEliminator.java196 WalkingIterator iter1 = (WalkingIterator) testee.m_exprOwner.getExpression(); in matchAndEliminatePartialPaths()
206 WalkingIterator iter2 = (WalkingIterator) meh.m_exprOwner.getExpression(); in matchAndEliminatePartialPaths()
238 WalkingIterator sharedIter = (WalkingIterator)matchedPaths.m_exprOwner.getExpression(); in matchAndEliminatePartialPaths()
246 WalkingIterator iter = (WalkingIterator)owner.getExpression(); in matchAndEliminatePartialPaths()
272 WalkingIterator wi = (WalkingIterator)testee.m_exprOwner.getExpression(); in partialIsVariable()
309 getElemFromExpression(next.m_exprOwner.getExpression()); in findCommonAncestor()
387 ElemTemplateElement elemOwner = getElemFromExpression(next.m_exprOwner.getExpression()); in isNotSameAsOwner()
565 LocPathIterator lpi = (LocPathIterator)eo.getExpression(); in createMultistepExprList()
607 Expression expr1 = firstOccuranceOwner.getExpression(); in findAndEliminateRedundant()
618 Expression expr2 = owner2.getExpression(); in findAndEliminateRedundant()
[all …]
DAVTPartXPath.java67 return m_xpath.getExpression().canTraverseOutsideSubtree(); in canTraverseOutsideSubtree()
148 m_xpath.getExpression().callVisitors(m_xpath, visitor); in callVisitors()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/
DJavaParserTest.java134 CastExpr castExpr = returnStmt.getExpression().get().asCastExpr(); in rangeOfIntersectionType()
148 CastExpr castExpr = returnStmt.getExpression().get().asCastExpr(); in rangeOfCast()
161 CastExpr castExpr = returnStmt.getExpression().get().asCastExpr(); in rangeOfCastNonIntersection()
174 CastExpr castExpr = returnStmt.getExpression().get().asCastExpr(); in rangeOfLambda()
175 LambdaExpr lambdaExpr = castExpr.getExpression().asLambdaExpr(); in rangeOfLambda()
190 CastExpr castExpr = returnStmt.getExpression().get().asCastExpr(); in rangeOfLambdaBody()
191 LambdaExpr lambdaExpr = castExpr.getExpression().asLambdaExpr(); in rangeOfLambdaBody()
/external/catch2/include/internal/
Dcatch_assertionresult.cpp55 std::string AssertionResult::getExpression() const { in getExpression() function in Catch::AssertionResult
77 return hasExpression() && getExpandedExpression() != getExpression(); in hasExpandedExpression()
83 ? getExpression() in getExpandedExpression()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFactory.txt21 …Line 103) expressionStmt.getExpression() ==> com.github.javaparser.ast.stmt.ExpressionStmt.getExpr…
22 …Line 104) expressionStmt.getExpression() ==> com.github.javaparser.ast.stmt.ExpressionStmt.getExpr…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java510 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
565 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
717 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
785 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
844 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
884 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
965 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
976 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
DNoCommentHashCodeVisitor.java114 return (n.getExpression().accept(this, arg)) * 31 + (n.getType().accept(this, arg)); in visit()
194 …return (n.getArguments().accept(this, arg)) * 31 + (n.getExpression().isPresent() ? n.getExpressio… in visit()
199 return (n.getExpression().accept(this, arg)); in visit()
239 return (n.getExpression().accept(this, arg)) * 31 + (n.getType().accept(this, arg)); in visit()
357 return (n.getExpression().isPresent() ? n.getExpression().get().accept(this, arg) : 0); in visit()
392 return (n.getBody().accept(this, arg)) * 31 + (n.getExpression().accept(this, arg)); in visit()
402 return (n.getExpression().accept(this, arg)); in visit()
422 return (n.getExpression().accept(this, arg)) * 31 + (n.getOperator().hashCode()); in visit()
DEqualsVisitor.java622 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
687 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
870 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
950 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
1022 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
1070 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
1165 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
1178 if (!nodeEquals(n.getExpression(), n2.getExpression())) in visit()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DExpressionCompatibleWithType.java195 Expression e = ((ExpressionStmt)lambdaExpr.getBody()).getExpression(); in reduce()
214 Expression e = ((ExpressionStmt)lambdaExpr.getBody()).getExpression(); in reduce()
264 .filter(r -> r.getExpression().isPresent()) in getAllReturnExpressions()
265 .map(r -> r.getExpression().get()) in getAllReturnExpressions()
278 return returnStmts.stream().allMatch(r -> r.getExpression().isPresent()); in isValueCompatibleBlock()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue144.java40 MethodCallExpr methodCallExpr = (MethodCallExpr) expressionStmt.getExpression(); in issue144()
52 MethodCallExpr methodCallExpr = (MethodCallExpr) expressionStmt.getExpression(); in issue144WithReflectionTypeSolver()
64 MethodCallExpr methodCallExpr = (MethodCallExpr) expressionStmt.getExpression(); in issue144WithCombinedTypeSolver()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DParsingSteps.java140 …eclarationExpr expression = (VariableDeclarationExpr) ((ExpressionStmt) statement).getExpression(); in thenLambdaInClassIsCalled()
156 …VariableDeclarationExpr variableDeclarationExpr = statement.getExpression().asVariableDeclarationE… in thenLambdaInMethodCallInStatementInMethodInClassBody()
160 LambdaExpr lambdaExpr = castExpr.getExpression().asLambdaExpr(); in thenLambdaInMethodCallInStatementInMethodInClassBody()
244 …VariableDeclarationExpr expression = ((ExpressionStmt) statement).getExpression().asVariableDeclar… in getLambdaExprInStatementInMethodInClass()
268 ConditionalExpr conditionalExpr = (ConditionalExpr) returnStmt.getExpression().orElse(null); in thenLambdaInConditionalExpressionInMethodInClassIsParentOfContainedParameter()
329 AssignExpr assignExpr = assignStmt.getExpression().asAssignExpr(); in thenTheAssignExprProducedDoesntHaveANullTarget()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DOperation.java152 public Expression getExpression() in getExpression() method in Operation.LeftExprOwner
182 public Expression getExpression() in getExpression() method in Operation
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
DVarOptimizer.java162 PExpression expression = varCommand.getExpression(); in optimizeVarCommands()
309 if (!(escapeCommand.getExpression() instanceof AStringExpression)) { in asSimpleEscapeCommand()
331 return ((AStringExpression) escapeCommand.getExpression()).getValue().getText(); in simpleNameOf()

123456789