/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/ |
D | ConcreteSyntaxModel.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 41 import static com.github.javaparser.GeneratedJavaParserConstants.*; 75 …rvableProperty.TYPE_PARAMETERS, sequence(comma(), space()), token(GeneratedJavaParserConstants.LT), in typeParameters() 76 sequence(token(GeneratedJavaParserConstants.GT), space())); in typeParameters() 80 …ervableProperty.TYPE_ARGUMENTS, sequence(comma(), space()), token(GeneratedJavaParserConstants.LT), in typeArguments() 81 sequence(token(GeneratedJavaParserConstants.GT))); in typeArguments() 94 token(GeneratedJavaParserConstants.AT), in concreteSyntaxModelByClass.put() 95 token(GeneratedJavaParserConstants.INTERFACE), in concreteSyntaxModelByClass.put() 116 …leProperty.DEFAULT_VALUE, IS_PRESENT, sequence(space(), token(GeneratedJavaParserConstants._DEFAUL… in concreteSyntaxModelByClass.put() 124 …ervableProperty.INTERFACE, FLAG, token(GeneratedJavaParserConstants.INTERFACE), token(GeneratedJav… in concreteSyntaxModelByClass.put() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/ |
D | CsmAttribute.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 58 return GeneratedJavaParserConstants.IDENTIFIER; in getTokenType() 61 for (int i=0;i<GeneratedJavaParserConstants.tokenImage.length;i++) { in getTokenType() 62 if (GeneratedJavaParserConstants.tokenImage[i].equals(expectedImage)) { in getTokenType() 71 for (int i = 0; i < GeneratedJavaParserConstants.tokenImage.length; i++) { in getTokenType() 72 if (GeneratedJavaParserConstants.tokenImage[i].equals(expectedImage)) { in getTokenType() 80 return GeneratedJavaParserConstants.INTEGER_LITERAL; in getTokenType() 83 return GeneratedJavaParserConstants.IDENTIFIER; in getTokenType()
|
D | CsmElement.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 92 return new CsmToken(GeneratedJavaParserConstants.SEMICOLON); in semicolon() 106 return new CsmToken(GeneratedJavaParserConstants.COMMA); in comma() 143 …return sequence(token(GeneratedJavaParserConstants.LBRACE), indent(), content, unindent(), token(G… in block()
|
D | CsmToken.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 55 this.content = GeneratedJavaParserConstants.tokenImage[tokenType]; in CsmToken()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/ |
D | DifferenceElementCalculatorTest.java | 3 import com.github.javaparser.GeneratedJavaParserConstants; 53 new CsmToken(GeneratedJavaParserConstants.LPAREN), in calculateDifferenceAIsEmpty() 55 new CsmToken(GeneratedJavaParserConstants.RPAREN), in calculateDifferenceAIsEmpty() 59 … assertEquals(added(new CsmToken(GeneratedJavaParserConstants.LPAREN)), differenceElements.get(0)); in calculateDifferenceAIsEmpty() 61 … assertEquals(added(new CsmToken(GeneratedJavaParserConstants.RPAREN)), differenceElements.get(2)); in calculateDifferenceAIsEmpty() 71 new CsmToken(GeneratedJavaParserConstants.LPAREN), in calculateDifferenceBIsEmpty() 73 new CsmToken(GeneratedJavaParserConstants.RPAREN), in calculateDifferenceBIsEmpty() 78 …assertEquals(removed(new CsmToken(GeneratedJavaParserConstants.LPAREN)), differenceElements.get(0)… in calculateDifferenceBIsEmpty() 80 …assertEquals(removed(new CsmToken(GeneratedJavaParserConstants.RPAREN)), differenceElements.get(2)… in calculateDifferenceBIsEmpty() 110 … assertEquals(kept(new CsmToken(GeneratedJavaParserConstants.AT)), differenceElements.get(i++)); in annotationDeclarationExampleWithModifierAdded() [all …]
|
D | LexicalDifferenceCalculatorTest.java | 3 import com.github.javaparser.GeneratedJavaParserConstants; 66 assertEquals(new CsmToken(GeneratedJavaParserConstants.AT), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 67 assertEquals(new CsmToken(GeneratedJavaParserConstants.INTERFACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 71 assertEquals(new CsmToken(GeneratedJavaParserConstants.LBRACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 85 assertEquals(new CsmToken(GeneratedJavaParserConstants.RBRACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleOriginal() 99 assertEquals(new CsmToken(GeneratedJavaParserConstants.AT), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 100 assertEquals(new CsmToken(GeneratedJavaParserConstants.INTERFACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 104 assertEquals(new CsmToken(GeneratedJavaParserConstants.LBRACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 118 assertEquals(new CsmToken(GeneratedJavaParserConstants.RBRACE), csm.elements.get(i++)); in annotationDeclarationModifiersExampleModified() 132 assertEquals(new CsmToken(GeneratedJavaParserConstants.AT), csm.elements.get(i++)); in annotationDeclarationNameExampleModified() [all …]
|
D | LexicalPreservingPrinterTest.java | 19 import com.github.javaparser.GeneratedJavaParserConstants; 64 …assertEquals(GeneratedJavaParserConstants.EOF, ((TokenTextElement) getTextForNode(classA).getTextE… in checkNodeTextCreatedForSimplestClass() 736 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 738 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 740 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.LPAREN)); in nodeTextForMethod() 742 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.RPAREN)); in nodeTextForMethod() 743 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 749 … assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.LBRACE)); in nodeTextForMethod() 751 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() 752 assertTrue(nodeText.getElements().get(index++).isToken(GeneratedJavaParserConstants.SPACE)); in nodeTextForMethod() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
D | TextElement.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 37 return isToken(GeneratedJavaParserConstants.JAVADOC_COMMENT) in isCommentToken() 38 || isToken(GeneratedJavaParserConstants.SINGLE_LINE_COMMENT) in isCommentToken() 39 || isToken(GeneratedJavaParserConstants.MULTI_LINE_COMMENT); in isCommentToken()
|
D | LexicalDifferenceCalculator.java | 3 import com.github.javaparser.GeneratedJavaParserConstants; 240 elements.add(new CsmToken(GeneratedJavaParserConstants.STRING_LITERAL, in calculatedSyntaxModelForNode() 257 return GeneratedJavaParserConstants.PUBLIC; in toToken() 259 return GeneratedJavaParserConstants.PRIVATE; in toToken() 261 return GeneratedJavaParserConstants.PROTECTED; in toToken() 263 return GeneratedJavaParserConstants.STATIC; in toToken() 265 return GeneratedJavaParserConstants.FINAL; in toToken() 267 return GeneratedJavaParserConstants.ABSTRACT; in toToken()
|
D | NodeText.java | 24 import com.github.javaparser.GeneratedJavaParserConstants; 226 … return ((TokenTextElement)lastElement).getTokenKind() == GeneratedJavaParserConstants.SPACE; in endWithSpace()
|
D | Difference.java | 3 import static com.github.javaparser.GeneratedJavaParserConstants.*; 7 import com.github.javaparser.GeneratedJavaParserConstants; 539 indentation.add(new TokenTextElement(GeneratedJavaParserConstants.SPACE)); in applyAddedDiffElement()
|
D | LexicalPreservingPrinter.java | 54 import static com.github.javaparser.GeneratedJavaParserConstants.*;
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | JavaTokenTest.java | 29 import static com.github.javaparser.GeneratedJavaParserConstants.*; 71 JavaToken.Kind kind = JavaToken.Kind.valueOf(GeneratedJavaParserConstants.ASSERT); in testKindEnum() 74 assertEquals(GeneratedJavaParserConstants.ASSERT, kind.getKind()); in testKindEnum()
|
D | JavaParserTest.java | 223 …assertEquals(GeneratedJavaParserConstants.LPAREN, lambdaExpr.getTokenRange().get().getBegin().getK… in rangeOfLambda() 224 …assertEquals(GeneratedJavaParserConstants.RPAREN, lambdaExpr.getTokenRange().get().getEnd().getKin… in rangeOfLambda() 262 final int tokenCount = GeneratedJavaParserConstants.tokenImage.length; in everyTokenHasACategory()
|
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/ |
D | TokenBase.java | 3 import static com.github.javaparser.GeneratedJavaParserConstants.GT;
|
D | GeneratedJavaParserTokenManagerBase.java | 8 import static com.github.javaparser.GeneratedJavaParserConstants.*;
|
D | GeneratedJavaParserBase.java | 17 import static com.github.javaparser.GeneratedJavaParserConstants.EOF;
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | JavaToken.java | 88 if (token.kind == GeneratedJavaParserConstants.GT) { in JavaToken() 91 } else if (token.kind == GeneratedJavaParserConstants.RSIGNEDSHIFT) { in JavaToken() 111 String content = GeneratedJavaParserConstants.tokenImage[kind]; in JavaToken()
|
D | TokenTypes.java | 3 import static com.github.javaparser.GeneratedJavaParserConstants.*;
|
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
D | GeneratedJavaParserConstants.java | 29 public interface GeneratedJavaParserConstants { interface
|
D | GeneratedJavaParserTokenManager.java | 46 public class GeneratedJavaParserTokenManager implements GeneratedJavaParserConstants {
|
D | GeneratedJavaParser.java | 46 …class GeneratedJavaParser extends GeneratedJavaParserBase implements GeneratedJavaParserConstants {
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/modules/ |
D | ModuleDeclarationTest.java | 13 import static com.github.javaparser.GeneratedJavaParserConstants.IDENTIFIER;
|