OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GeneratedJavaParserConstants
(Results
1 - 22
of
22
) sorted by null
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
TextElement.java
24
import com.github.javaparser.
GeneratedJavaParserConstants
;
34
return isToken(
GeneratedJavaParserConstants
.JAVADOC_COMMENT)
35
|| isToken(
GeneratedJavaParserConstants
.SINGLE_LINE_COMMENT)
36
|| isToken(
GeneratedJavaParserConstants
.MULTI_LINE_COMMENT);
LexicalDifferenceCalculator.java
3
import com.github.javaparser.
GeneratedJavaParserConstants
;
239
elements.add(new CsmToken(
GeneratedJavaParserConstants
.STRING_LITERAL,
254
return
GeneratedJavaParserConstants
.PUBLIC;
256
return
GeneratedJavaParserConstants
.PRIVATE;
258
return
GeneratedJavaParserConstants
.PROTECTED;
260
return
GeneratedJavaParserConstants
.STATIC;
262
return
GeneratedJavaParserConstants
.FINAL;
264
return
GeneratedJavaParserConstants
.ABSTRACT;
Difference.java
3
import com.github.javaparser.
GeneratedJavaParserConstants
;
14
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
530
indentation.add(new TokenTextElement(
GeneratedJavaParserConstants
.SPACE));
[
all
...]
LexicalPreservingPrinter.java
53
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
TokenBase.java
3
import static com.github.javaparser.
GeneratedJavaParserConstants
.GT;
GeneratedJavaParserTokenManagerBase.java
8
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
GeneratedJavaParserBase.java
18
import static com.github.javaparser.
GeneratedJavaParserConstants
.EOF;
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/
ConcreteSyntaxModel.java
24
import com.github.javaparser.
GeneratedJavaParserConstants
;
41
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
76
return list(ObservableProperty.TYPE_PARAMETERS, CsmElement.sequence(CsmElement.comma(), CsmElement.space()), CsmElement.token(
GeneratedJavaParserConstants
.LT),
77
CsmElement.sequence(CsmElement.token(
GeneratedJavaParserConstants
.GT), CsmElement.space()));
81
return list(ObservableProperty.TYPE_ARGUMENTS, CsmElement.sequence(CsmElement.comma(), CsmElement.space()), CsmElement.token(
GeneratedJavaParserConstants
.LT),
82
CsmElement.sequence(CsmElement.token(
GeneratedJavaParserConstants
.GT)));
95
CsmElement.token(
GeneratedJavaParserConstants
.AT),
96
CsmElement.token(
GeneratedJavaParserConstants
.INTERFACE),
117
CsmElement.conditional(ObservableProperty.DEFAULT_VALUE, IS_PRESENT, CsmElement.sequence(CsmElement.space(), CsmElement.token(
GeneratedJavaParserConstants
._DEFAULT), CsmElement.space(), CsmElement.child(DEFAULT_VALUE))),
125
conditional(ObservableProperty.INTERFACE, FLAG, token(
GeneratedJavaParserConstants
.INTERFACE), token(GeneratedJavaParserConstants.CLASS))
[
all
...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
CsmAttribute.java
24
import com.github.javaparser.
GeneratedJavaParserConstants
;
54
return
GeneratedJavaParserConstants
.IDENTIFIER;
57
for (int i=0;i<
GeneratedJavaParserConstants
.tokenImage.length;i++) {
58
if (
GeneratedJavaParserConstants
.tokenImage[i].equals(expectedImage)) {
65
return (Integer)(
GeneratedJavaParserConstants
.class.getDeclaredField(text).get(null));
71
return
GeneratedJavaParserConstants
.INTEGER_LITERAL;
74
return
GeneratedJavaParserConstants
.IDENTIFIER;
CsmElement.java
24
import com.github.javaparser.
GeneratedJavaParserConstants
;
92
return new CsmToken(
GeneratedJavaParserConstants
.SEMICOLON);
106
return new CsmToken(
GeneratedJavaParserConstants
.COMMA);
143
return sequence(token(
GeneratedJavaParserConstants
.LBRACE), indent(), content, unindent(), token(
GeneratedJavaParserConstants
.RBRACE));
CsmToken.java
24
import com.github.javaparser.
GeneratedJavaParserConstants
;
55
this.content =
GeneratedJavaParserConstants
.tokenImage[tokenType];
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/
DifferenceTest.java
3
import com.github.javaparser.
GeneratedJavaParserConstants
;
50
new CsmToken(
GeneratedJavaParserConstants
.LPAREN),
52
new CsmToken(
GeneratedJavaParserConstants
.RPAREN),
56
assertEquals(added(new CsmToken(
GeneratedJavaParserConstants
.LPAREN)), diff.getElements().get(0));
58
assertEquals(added(new CsmToken(
GeneratedJavaParserConstants
.RPAREN)), diff.getElements().get(2));
68
new CsmToken(
GeneratedJavaParserConstants
.LPAREN),
70
new CsmToken(
GeneratedJavaParserConstants
.RPAREN),
75
assertEquals(removed(new CsmToken(
GeneratedJavaParserConstants
.LPAREN)), diff.getElements().get(0));
77
assertEquals(removed(new CsmToken(
GeneratedJavaParserConstants
.RPAREN)), diff.getElements().get(2));
105
assertEquals(added(new CsmToken(
GeneratedJavaParserConstants
.PUBLIC)), diff.getElements().get(i++))
[
all
...]
LexicalPreservingPrinterTest.java
56
assertEquals(
GeneratedJavaParserConstants
.EOF, ((TokenTextElement)getTextForNode(classA).getTextElement(6)).getTokenKind());
665
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.PUBLIC));
666
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.SPACE));
668
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.SPACE));
670
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.LPAREN));
672
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.RPAREN));
673
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.SPACE));
679
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.LBRACE));
681
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.SPACE));
682
assertTrue(nodeText.getElements().get(index++).isToken(
GeneratedJavaParserConstants
.SPACE))
[
all
...]
LexicalDifferenceCalculatorTest.java
3
import com.github.javaparser.
GeneratedJavaParserConstants
;
62
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.AT), csm.elements.get(i++));
63
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.INTERFACE), csm.elements.get(i++));
67
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.LBRACE), csm.elements.get(i++));
81
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.RBRACE), csm.elements.get(i++));
93
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.PUBLIC), csm.elements.get(i++));
95
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.AT), csm.elements.get(i++));
96
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.INTERFACE), csm.elements.get(i++));
100
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.LBRACE), csm.elements.get(i++));
114
assertEquals(new CsmToken(
GeneratedJavaParserConstants
.RBRACE), csm.elements.get(i++))
[
all
...]
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/
JavaTokenTest.java
29
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
72
JavaToken.Kind kind = JavaToken.Kind.valueOf(
GeneratedJavaParserConstants
.ASSERT);
75
assertEquals(
GeneratedJavaParserConstants
.ASSERT, kind.getKind());
JavaParserTest.java
177
assertEquals(
GeneratedJavaParserConstants
.LPAREN, lambdaExpr.getTokenRange().get().getBegin().getKind());
178
assertEquals(
GeneratedJavaParserConstants
.RPAREN, lambdaExpr.getTokenRange().get().getEnd().getKind());
216
final int tokenCount =
GeneratedJavaParserConstants
.tokenImage.length;
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
GeneratedJavaParserConstants.java
1
/* Generated By:JavaCC: Do not edit this line.
GeneratedJavaParserConstants
.java */
29
public interface
GeneratedJavaParserConstants
{
GeneratedJavaParserTokenManager.java
46
public class GeneratedJavaParserTokenManager implements
GeneratedJavaParserConstants
{
[
all
...]
GeneratedJavaParser.java
46
final class GeneratedJavaParser extends GeneratedJavaParserBase implements
GeneratedJavaParserConstants
{
[
all
...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
JavaToken.java
88
if (token.kind ==
GeneratedJavaParserConstants
.GT) {
91
} else if (token.kind ==
GeneratedJavaParserConstants
.RSIGNEDSHIFT) {
111
String content =
GeneratedJavaParserConstants
.tokenImage[kind];
TokenTypes.java
3
import static com.github.javaparser.
GeneratedJavaParserConstants
.*;
7
* Complements
GeneratedJavaParserConstants
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/modules/
ModuleDeclarationTest.java
17
import static com.github.javaparser.
GeneratedJavaParserConstants
.IDENTIFIER;
Completed in 336 milliseconds