/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | TokenRange.java | 11 public class TokenRange implements Iterable<JavaToken> { class 12 public static final TokenRange INVALID = new TokenRange(JavaToken.INVALID, JavaToken.INVALID); 17 public TokenRange(JavaToken begin, JavaToken end) { in TokenRange() method in TokenRange 37 public TokenRange withBegin(JavaToken begin) { in withBegin() 38 return new TokenRange(assertNotNull(begin), end); in withBegin() 41 public TokenRange withEnd(JavaToken end) { in withEnd() 42 return new TokenRange(begin, assertNotNull(end)); in withEnd()
|
D | Problem.java | 35 private final TokenRange location; 38 public Problem(String message, TokenRange location, Throwable cause) { in Problem() 78 public Optional<TokenRange> getLocation() { in getLocation() 86 public Optional<TokenRange> getRange() { in getRange()
|
/external/clang/include/clang/Edit/ |
D | Commit.h | 89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange, 92 return insertFromRange(loc, CharSourceRange::getTokenRange(TokenRange), 95 bool insertWrap(StringRef before, SourceRange TokenRange, StringRef after) { in insertWrap() argument 96 return insertWrap(before, CharSourceRange::getTokenRange(TokenRange), after); in insertWrap() 98 bool remove(SourceRange TokenRange) { in remove() argument 99 return remove(CharSourceRange::getTokenRange(TokenRange)); in remove() 101 bool replace(SourceRange TokenRange, StringRef text) { in replace() argument 102 return replace(CharSourceRange::getTokenRange(TokenRange), text); in replace() 104 bool replaceWithInner(SourceRange TokenRange, SourceRange TokenInnerRange) { in replaceWithInner() argument 105 return replaceWithInner(CharSourceRange::getTokenRange(TokenRange), in replaceWithInner()
|
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/ |
D | GeneratedJavaParserBase.java | 72 TokenRange tokenRange() { in tokenRange() 74 return new TokenRange(token(), token()); in tokenRange() 82 TokenRange range(JavaToken begin, JavaToken end) { in range() 84 return new TokenRange(begin, end); in range() 92 TokenRange range(Node begin, JavaToken end) { in range() 94 return new TokenRange(begin.getTokenRange().get().getBegin(), end); in range() 102 TokenRange range(JavaToken begin, Node end) { in range() 104 return new TokenRange(begin, end.getTokenRange().get().getEnd()); in range() 112 TokenRange range(Node begin, Node end) { in range() 114 … return new TokenRange(begin.getTokenRange().get().getBegin(), end.getTokenRange().get().getEnd()); in range() [all …]
|
D | RangedList.java | 12 TokenRange range = new TokenRange(JavaToken.INVALID, JavaToken.INVALID);
|
D | GeneratedJavaParserTokenManagerBase.java | 18 private static TokenRange tokenRange(Token token) { in tokenRange() 20 return new TokenRange(javaToken, javaToken); in tokenRange()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
D | ArrayType.java | 23 import com.github.javaparser.TokenRange; 88 …public ArrayType(TokenRange tokenRange, Type componentType, Origin origin, NodeList<AnnotationExpr… in ArrayType() 138 TokenRange tokenRange = null; in wrapInArrayTypes() 140 …tokenRange = new TokenRange(type.getTokenRange().get().getBegin(), pair.getTokenRange().get().getE… in wrapInArrayTypes() 173 private TokenRange tokenRange; 179 …public ArrayBracketPair(TokenRange tokenRange, Origin origin, NodeList<AnnotationExpr> annotations… in ArrayBracketPair() 194 public ArrayBracketPair setTokenRange(TokenRange range) { in setTokenRange() 199 public Optional<TokenRange> getTokenRange() { in getTokenRange()
|
D | ReferenceType.java | 23 import com.github.javaparser.TokenRange; 55 public ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) { in ReferenceType()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
D | NodeWithTokenRange.java | 3 import com.github.javaparser.TokenRange; 12 Optional<TokenRange> getTokenRange(); in getTokenRange() 14 N setTokenRange(TokenRange range); in setTokenRange()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ |
D | ProblemTest.java | 12 Problem problem = new Problem("Parse error", TokenRange.INVALID, new Exception()); in testSimpleGetters() 14 assertEquals(TokenRange.INVALID, problem.getLocation().get()); in testSimpleGetters() 21 Problem problem = new Problem("Parse error", TokenRange.INVALID, null); in testVerboseMessage()
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/ |
D | MainConstructorGenerator.java | 3 import com.github.javaparser.TokenRange; 31 .addParameter(TokenRange.class, "tokenRange") in generateNode() 52 nodeCu.addImport(TokenRange.class); in generateNode()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
D | ProblemReporter.java | 4 import com.github.javaparser.TokenRange; 31 public void report(TokenRange range, String message, Object... args) { in report()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/expr/ |
D | LambdaExprTest.java | 3 import com.github.javaparser.TokenRange; 24 TokenRange tokenRange = node.getTokenRange().get(); in assertRange()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
D | LiteralExpr.java | 29 import com.github.javaparser.TokenRange; 49 public LiteralExpr(TokenRange tokenRange) { in LiteralExpr()
|
D | NullLiteralExpr.java | 31 import com.github.javaparser.TokenRange; 52 public NullLiteralExpr(TokenRange tokenRange) { in NullLiteralExpr()
|
D | LiteralStringValueExpr.java | 31 import com.github.javaparser.TokenRange; 51 public LiteralStringValueExpr(TokenRange tokenRange, String value) { in LiteralStringValueExpr()
|
D | AnnotationExpr.java | 32 import com.github.javaparser.TokenRange; 58 public AnnotationExpr(TokenRange tokenRange, Name name) { in AnnotationExpr()
|
D | BooleanLiteralExpr.java | 32 import com.github.javaparser.TokenRange; 60 public BooleanLiteralExpr(TokenRange tokenRange, boolean value) { in BooleanLiteralExpr()
|
D | DoubleLiteralExpr.java | 31 import com.github.javaparser.TokenRange; 58 public DoubleLiteralExpr(TokenRange tokenRange, String value) { in DoubleLiteralExpr()
|
D | MarkerAnnotationExpr.java | 32 import com.github.javaparser.TokenRange; 61 public MarkerAnnotationExpr(TokenRange tokenRange, Name name) { in MarkerAnnotationExpr()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
D | EmptyStmt.java | 23 import com.github.javaparser.TokenRange; 50 public EmptyStmt(TokenRange tokenRange) { in EmptyStmt()
|
D | UnparsableStmt.java | 3 import com.github.javaparser.TokenRange; 31 public UnparsableStmt(TokenRange tokenRange) { in UnparsableStmt()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/comments/ |
D | LineComment.java | 31 import com.github.javaparser.TokenRange; 58 public LineComment(TokenRange tokenRange, String content) { in LineComment()
|
D | BlockComment.java | 31 import com.github.javaparser.TokenRange; 59 public BlockComment(TokenRange tokenRange, String content) { in BlockComment()
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
D | BodyDeclaration.java | 34 import com.github.javaparser.TokenRange; 61 public BodyDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) { in BodyDeclaration() 67 protected BodyDeclaration(TokenRange range) { in BodyDeclaration()
|