Home
last modified time | relevance | path

Searched refs:STATEMENT (Results 1 – 25 of 40) sorted by relevance

12

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/validator/
DJava10ValidatorTest.java12 import static com.github.javaparser.ParseStart.STATEMENT;
23 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a = 5;")); in varAllowedInLocalVariableDeclaration()
29 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a : as){}")); in varAllowedInForEach()
35 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(var a = 5;a<9;a++){}")); in varAllowedInOldFor()
41 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int a = (var)20;")); in varNotAllowedInCast()
47 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(var f = new FileReader(\… in varNotAllowedInTryWithResources()
59 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("new X<var>();")); in varNotAllowedInTypeArguments()
65 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("x((var x) -> null);")); in varNotAllowedInLambdaParameters()
71 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a;")); in emptyInitializerNotAllowed()
77 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var a=1, b=2;")); in multipleVariablesNotAllowed()
[all …]
DJava12ValidatorTest.java9 import static com.github.javaparser.ParseStart.STATEMENT;
19 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3+4+5: ;}")); in expressionsInLabelsNotAllowed()
25 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int a = switch(x){};")); in switchExpressionNotAllowed()
31 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3,4,5: ;}")); in multiLabelCaseAllowed()
37 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3: break 6;}"… in valueBreakAllowed()
DJava11ValidatorTest.java9 import static com.github.javaparser.ParseStart.STATEMENT;
20 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("x((var x, var y) -> x+y);")); in varAllowedInLocalVariableDeclaration()
26 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int a = switch(x){};")); in switchExpressionNotAllowed()
32 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3,4,5: ;}")); in multiLabelCaseNotAllowed()
38 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3: break 6;}"… in noValueBreak()
DJava7ValidatorTest.java18 import static com.github.javaparser.ParseStart.STATEMENT;
41 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try{}")); in tryWithoutAnything()
47 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(Reader r = new Reader())… in tryWithResourceVariableDeclaration()
53 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(a.b.c){}")); in tryWithResourceReference()
59 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case \"abc\": ;}")… in stringsInSwitch()
77 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try{}catch(Abc|Def e){}")); in multiCatch()
104 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("a(() -> 1);")); in noLambdas()
DJava5ValidatorTest.java132 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(X x: xs){}")); in foreach()
138 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(int i, j : nums){}")); in noMultipleVariablesInForEach()
145 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(static transient int i :… in noModifiersInForEachBesideFinal()
164 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int enum;")); in enumAllowedAsIdentifier()
170 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case GREEN: ;}")); in enumAllowedInSwitch()
DJava9ValidatorTest.java11 import static com.github.javaparser.ParseStart.STATEMENT;
23 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("a.b._.c.d = act(_, _ -> _);"… in underscoreIdentifiers()
75 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(a.b.c){}")); in tryWithResourceReference()
DJava1_0ValidatorTest.java29 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try(X x=new Y()){}")); in tryWithoutResources()
101 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(X x : xs){}")); in noForEach()
107 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3: break bla;… in labelBreakAllowed()
113 …ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("switch(x){case 3: break;}")); in emptyBreakAllowed()
DJava1_4ValidatorTest.java22 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("assert a;")); in yesAssert()
53 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("for(X x: xs){}")); in noforeach()
67 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int enum;")); in enumAllowedAsIdentifier()
DJava1_3ValidatorTest.java9 import static com.github.javaparser.ParseStart.STATEMENT;
19 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("assert a;")); in noAssert()
DJava6ValidatorTest.java11 import static com.github.javaparser.ParseStart.STATEMENT;
33 … ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("try{}catch(Abc|Def e){}")); in noMultiCatch()
DJava8ValidatorTest.java11 import static com.github.javaparser.ParseStart.STATEMENT;
73 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("a(() -> 1);")); in lambdas()
DJava1_2ValidatorTest.java11 import static com.github.javaparser.ParseStart.STATEMENT;
271 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int strictfp;")); in strictfpNotAllowedAsIdentifier()
DJava1_1ValidatorTest.java13 import static com.github.javaparser.ParseStart.STATEMENT;
289 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("int strictfp;")); in strictfpAllowedAsIdentifier()
/external/libxml2/result/
Dp3p.rde10 3 1 STATEMENT 0 0
30 3 15 STATEMENT 0 0
39 3 1 STATEMENT 0 0
45 3 15 STATEMENT 0 0
Dp3p.rdr10 3 1 STATEMENT 0 0
30 3 15 STATEMENT 0 0
39 3 1 STATEMENT 0 0
45 3 15 STATEMENT 0 0
Dp3p.sax12 SAX.startElement(STATEMENT, purp='2,3', recpnt='0', id='0', consq='a site with clothes you'd apprec…
35 SAX.endElement(STATEMENT)
44 SAX.startElement(STATEMENT, action='read&#38;write', purp='0', recpnt='0', id='1')
51 SAX.endElement(STATEMENT)
Dp3p.sax212 SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, purp='2,3"...', 3, recpnt='0" i...', 1, id='0"
36 SAX.endElementNs(STATEMENT, NULL, NULL)
45 SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, action='read...', 14, purp='0" r...', 1, recpnt=…
53 SAX.endElementNs(STATEMENT, NULL, NULL)
/external/libxml2/result/noent/
Dp3p.sax212 SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, purp='2,3"...', 3, recpnt='0" i...', 1, id='0"
36 SAX.endElementNs(STATEMENT, NULL, NULL)
45 SAX.startElementNs(STATEMENT, NULL, NULL, 0, 4, 0, action='read...', 10, purp='0" r...', 1, recpnt=…
53 SAX.endElementNs(STATEMENT, NULL, NULL)
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicTest.java120 NameCategory.TYPE_NAME, ParseStart.STATEMENT); in classLiteralTypeName()
126 NameCategory.TYPE_NAME, ParseStart.STATEMENT); in thisExprTypeName()
132 NameCategory.TYPE_NAME, ParseStart.STATEMENT); in qualifiedSuperFieldAccessTypeName()
138 NameCategory.TYPE_NAME, ParseStart.STATEMENT); in qualifiedSuperCallTypeName()
144 NameCategory.TYPE_NAME, ParseStart.STATEMENT); in qualifiedSuperMethodReferenceTypeName()
608 REFERENCE, ParseStart.STATEMENT); in classifyRoleClassLiteralTypeName()
614 REFERENCE, ParseStart.STATEMENT); in classifyRoleThisExprTypeName()
620 REFERENCE, ParseStart.STATEMENT); in classifyRoleQualifiedSuperFieldAccessTypeName()
626 REFERENCE, ParseStart.STATEMENT); in classifyRoleQualifiedSuperCallTypeName()
632 REFERENCE, ParseStart.STATEMENT); in classifyRoleQualifiedSuperMethodReferenceTypeName()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/version/
DJava10PostProcessorTest.java12 import static com.github.javaparser.ParseStart.STATEMENT;
22 ParseResult<Statement> result = javaParser.parse(STATEMENT, provider("var x=\"\";")); in varIsAType()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/
DParserConfigurationTest.java8 import static com.github.javaparser.ParseStart.STATEMENT;
28 .parse(STATEMENT, provider("try{}")); in noProblemsHere()
/external/grpc-grpc/include/grpc/impl/codegen/
Dport_platform.h497 #define GPR_UNREACHABLE_CODE(STATEMENT) argument
499 #define GPR_UNREACHABLE_CODE(STATEMENT) \ argument
503 STATEMENT; \
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Dport_platform.h540 #define GPR_UNREACHABLE_CODE(STATEMENT) argument
542 #define GPR_UNREACHABLE_CODE(STATEMENT) \ argument
546 STATEMENT; \
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Dport_platform.h540 #define GPR_UNREACHABLE_CODE(STATEMENT) argument
542 #define GPR_UNREACHABLE_CODE(STATEMENT) \ argument
546 STATEMENT; \
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
DParseStart.java23 ParseStart<Statement> STATEMENT = ASTParser::BlockStatement; field

12