/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/expr/ |
D | LiteralStringValueExprTest.java | 77 IntegerLiteralExpr dec = parseExpression("2147483647"); in lowerAndUpperBoundIntegersAreConverted() 78 IntegerLiteralExpr posOct = parseExpression("0177_7777_7777"); in lowerAndUpperBoundIntegersAreConverted() 79 IntegerLiteralExpr negOct = parseExpression("0377_7777_7777"); in lowerAndUpperBoundIntegersAreConverted() 80 IntegerLiteralExpr posHex = parseExpression("0x7fff_ffff"); in lowerAndUpperBoundIntegersAreConverted() 81 IntegerLiteralExpr negHex = parseExpression("0xffff_ffff"); in lowerAndUpperBoundIntegersAreConverted() 82 IntegerLiteralExpr posBin = parseExpression("0b0111_1111_1111_1111_1111_1111_1111_1111"); in lowerAndUpperBoundIntegersAreConverted() 83 IntegerLiteralExpr negBin = parseExpression("0b1000_0000_0000_0000_0000_0000_0000_0000"); in lowerAndUpperBoundIntegersAreConverted() 96 LongLiteralExpr dec = parseExpression("9223372036854775807L"); in lowerAndUpperBoundLongsAreConverted() 97 LongLiteralExpr posOct = parseExpression("07_7777_7777_7777_7777_7777L"); in lowerAndUpperBoundLongsAreConverted() 98 LongLiteralExpr negOct = parseExpression("010_0000_0000_0000_0000_0000L"); in lowerAndUpperBoundLongsAreConverted() [all …]
|
D | DoubleLiteralExprTest.java | 5 import static com.github.javaparser.JavaParser.parseExpression; 11 parseExpression("0x0.00_00_02p-126f"); in test1() 17 parseExpression("0x0.000_000_000_000_1p-1_022"); in test2() 23 parseExpression("0x1.p+1"); in test3() 29 parseExpression("0x.0p0"); in test4() 35 parseExpression("0x0_0.0_0p-1_0"); in test5()
|
D | LambdaExprTest.java | 7 import static com.github.javaparser.JavaParser.parseExpression; 13 Expression expression = parseExpression("x -> y"); in lambdaRange1() 19 Expression expression = parseExpression("(x) -> y"); in lambdaRange2() 31 LambdaExpr lambdaExpr = parseExpression("x -> y").asLambdaExpr(); in getExpressionBody() 37 LambdaExpr lambdaExpr = parseExpression("x -> {y;}").asLambdaExpr(); in getNoExpressionBody()
|
D | StringLiteralExprTest.java | 5 import static com.github.javaparser.JavaParser.parseExpression; 11 StringLiteralExpr omega = parseExpression("\"xxx\\u03a9xxx\""); in unicodeEscapesArePreservedInStrings()
|
D | MethodCallExprTest.java | 5 import static com.github.javaparser.JavaParser.parseExpression; 13 …MethodCallExpr methodCallExpr = parseExpression("callSomeFun(r -> r instanceof SomeType)").asMetho… in replaceLambdaIssue1290()
|
D | InstanceOfExprTest.java | 11 InstanceOfExpr expr = JavaParser.parseExpression("s instanceof @A @DA String"); in annotationsOnTheType()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/ |
D | TreeVisitorTest.java | 39 Expression expression = JavaParser.parseExpression("(2+3)+(4+5)"); in isValidBreadthFirstTraversal() 56 Expression expression = JavaParser.parseExpression("new int[]{1,2,3,4}"); in issue743ConcurrentModificationProblem() 81 }.visitPreOrder(JavaParser.parseExpression("(2+3)+(4+5)")); in isValidPreOrderTraversal() 93 }.visitPostOrder(JavaParser.parseExpression("(2+3)+(4+5)")); in isValidPostOrderTraversal() 107 }.visitPreOrder(JavaParser.parseExpression("new int[]{1,2,3,4}")); in preOrderConcurrentModificationIsOk() 120 }.visitPostOrder(JavaParser.parseExpression("new int[]{1,2,3,4}")); in postOrderConcurrentModificationIsOk() 144 Expression expression = JavaParser.parseExpression("(2+3)+(4+5)"); in isValidDirectChildrenTraversal()
|
D | ModifierVisitorTest.java | 33 import static com.github.javaparser.JavaParser.parseExpression; 76 Expression expression = parseExpression("1+2"); in binaryExprReturnsLeftExpressionWhenRightSideIsRemoved() 90 final Expression expression = parseExpression("1+2"); in binaryExprReturnsRightExpressionWhenLeftSideIsRemoved()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/ |
D | YamlPrinterTest.java | 47 Expression expression = JavaParser.parseExpression("x(1,1)"); in testWithType() 64 Expression expression = JavaParser.parseExpression("1+1"); in testWithoutType() 77 Expression expression = JavaParser.parseExpression("\"a\\\\: b\""); in testWithColonFollowedBySpaceInValue() 90 Expression expression = JavaParser.parseExpression("\"a\\\\:\\\\nb\""); in testWithColonFollowedByLineSeparatorInValue()
|
D | XmlPrinterTest.java | 12 Expression expression = JavaParser.parseExpression("1+1"); in testWithType() 22 Expression expression = JavaParser.parseExpression("1+1"); in testWithoutType() 33 Expression expression = JavaParser.parseExpression("a(1,2)"); in testList()
|
D | ConcreteSyntaxModelTest.java | 40 ClassExpr expr = JavaParser.parseExpression("Foo.class"); in printSimpleClassExpr() 46 ClassExpr expr = JavaParser.parseExpression("Foo[].class"); in printArrayClassExpr() 52 ClassExpr expr = JavaParser.parseExpression("Foo<String>.class"); in printGenericClassExpr()
|
D | PrettyPrintVisitorTest.java | 69 ClassExpr expr = JavaParser.parseExpression("Foo.class"); in printSimpleClassExpr() 75 ClassExpr expr = JavaParser.parseExpression("Foo[].class"); in printArrayClassExpr() 81 ClassExpr expr = JavaParser.parseExpression("Foo<String>.class"); in printGenericClassExpr() 124 Expression expression = JavaParser.parseExpression(code); in printIntersectionType()
|
D | JsonPrinterTest.java | 22 Expression expression = parseExpression("x(1,1)"); in testWithType() 32 Expression expression = parseExpression("1+1"); in testWithoutType()
|
D | DotPrinterTest.java | 53 Expression expression = JavaParser.parseExpression("x(1,1)"); in testWithType() 75 Expression expression = JavaParser.parseExpression("1+1"); in testWithoutType()
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
D | Parser.h | 187 static bool parseExpression(StringRef Code, Sema *S, 190 static bool parseExpression(StringRef Code, Sema *S, in parseExpression() function 192 return parseExpression(Code, S, nullptr, Value, Error); in parseExpression() 194 static bool parseExpression(StringRef Code, VariantValue *Value, in parseExpression() function 196 return parseExpression(Code, nullptr, Value, Error); in parseExpression()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/ |
D | NodeTest.java | 45 import static com.github.javaparser.JavaParser.parseExpression; 355 Expression e = parseExpression("1+1"); in genericWalk() 363 Expression e = parseExpression("1+1"); in classSpecificWalk() 371 Expression e = parseExpression("1+2+3"); in conditionalFindAll() 378 Expression e = parseExpression("1+2+3"); in typeOnlyFindAll() 385 Expression e = parseExpression("1+2+3"); in typeOnlyFindAllMatchesSubclasses() 392 Expression e = parseExpression("1+2+3"); in conditionalTypedFindFirst() 399 Expression e = parseExpression("1+2+3"); in typeOnlyFindFirst() 406 Expression e = parseExpression("1+2+3"); in stream()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithExpression.java | 27 import static com.github.javaparser.JavaParser.parseExpression; 38 return setExpression(parseExpression(expression)); in setExpression()
|
D | NodeWithArguments.java | 28 import static com.github.javaparser.JavaParser.parseExpression; 44 return addArgument(parseExpression(arg)); in addArgument()
|
D | NodeWithAnnotations.java | 31 import static com.github.javaparser.JavaParser.parseExpression; 161 return addSingleMemberAnnotation(name, parseExpression(value)); in addSingleMemberAnnotation()
|
/external/llvm/lib/MC/MCParser/ |
D | MCAsmParser.cpp | 41 bool MCAsmParser::parseExpression(const MCExpr *&Res) { in parseExpression() function in MCAsmParser 43 return parseExpression(Res, L); in parseExpression()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTraversableScopeTest.java | 7 import static com.github.javaparser.JavaParser.parseExpression; 14 … NodeWithTraversableScope expression = parseExpression("getAddress().name.startsWith(\"abc\")"); in traverse1()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | Issue343.java | 42 getExpressionType(typeResolver, JavaParser.parseExpression("new Double[]{2.0d, 3.0d}[1]")); in toResolveDoubleWeNeedTheAST() 48 getExpressionType(typeResolver, JavaParser.parseExpression("new Float[]{2.0d, 3.0d}")); in toResolveFloatWeNeedTheAST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/MCParser/ |
D | MCAsmParser.cpp | 127 bool MCAsmParser::parseExpression(const MCExpr *&Res) { in parseExpression() function in MCAsmParser 129 return parseExpression(Res, L); in parseExpression()
|
D | AsmParser.cpp | 241 bool parseExpression(const MCExpr *&Res); 242 bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) override; 1005 if (parseExpression(Res)) in parseParenExpr() 1020 if (parseExpression(Res)) in parseBracketExpr() 1248 if (parseExpression(Res, EndLoc)) in parsePrimaryExpr() 1258 bool AsmParser::parseExpression(const MCExpr *&Res) { in parseExpression() function in AsmParser 1260 return parseExpression(Res, EndLoc); in parseExpression() 1363 bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) { in parseExpression() function in AsmParser 1433 if (parseExpression(Expr)) in parseAbsoluteExpression() 2635 if (parseExpression(AbsoluteExp, EndLoc)) in parseMacroArguments() [all …]
|
/external/llvm/include/llvm/MC/MCParser/ |
D | MCAsmParser.h | 172 virtual bool parseExpression(const MCExpr *&Res, SMLoc &EndLoc) = 0; 173 bool parseExpression(const MCExpr *&Res);
|