Uses of Class
com.github.javaparser.JavaToken
Packages that use JavaToken
-
Uses of JavaToken in com.github.javaparser
Fields in com.github.javaparser declared as JavaTokenModifier and TypeFieldDescription(package private) final JavaToken
ModifierHolder.begin
private final JavaToken
TokenRange.begin
private final JavaToken
TokenRange.end
private JavaToken
GeneratedJavaParserTokenManager.homeToken
static final JavaToken
JavaToken.INVALID
(package private) JavaToken
TokenBase.javaToken
This is the link to the token that JavaParser presents to the userprivate JavaToken
JavaToken.nextToken
private JavaToken
JavaToken.previousToken
Fields in com.github.javaparser with type parameters of type JavaTokenMethods in com.github.javaparser that return JavaTokenModifier and TypeMethodDescriptionJavaToken.findFirstToken()
JavaToken.findLastToken()
TokenRange.getBegin()
TokenRange.getEnd()
(package private) JavaToken
GeneratedJavaParserTokenManager.getHomeToken()
(package private) JavaToken
GeneratedJavaParserBase.nodeListBegin
(NodeList<?> l) Get the token that starts the NodeList l(package private) JavaToken
GeneratedJavaParserBase.orIfInvalid
(JavaToken firstChoice, Node secondChoice) (package private) JavaToken
GeneratedJavaParserBase.orIfInvalid
(JavaToken firstChoice, JavaToken secondChoice) (package private) JavaToken
GeneratedJavaParser.token()
(package private) abstract JavaToken
GeneratedJavaParserBase.token()
Methods in com.github.javaparser that return types with arguments of type JavaTokenModifier and TypeMethodDescriptionJavaToken.getNextToken()
JavaToken.getPreviousToken()
GeneratedJavaParserBase.getTokens()
Return the list of JavaParser specific tokens that have been encountered while parsing code using this parser.GeneratedJavaParserTokenManager.getTokens()
TokenRange.iterator()
Methods in com.github.javaparser with parameters of type JavaTokenModifier and TypeMethodDescriptionfinal ArrayCreationExpr
GeneratedJavaParser.ArrayCreation
(JavaToken begin, Type type) https://docs.oracle.com/javase/specs/jls/se15/html/jls-15.html#jls-15.10(package private) void
(package private) void
void
Inserts newToken into the token list just before this token.void
JavaToken.insertAfter
(JavaToken newToken) Inserts newToken into the token list just after this token.(package private) JavaToken
GeneratedJavaParserBase.orIfInvalid
(JavaToken firstChoice, Node secondChoice) (package private) JavaToken
GeneratedJavaParserBase.orIfInvalid
(JavaToken firstChoice, JavaToken secondChoice) (package private) TokenRange
Return a TokenRange spanning from begin to end(package private) TokenRange
Return a TokenRange spanning from begin to end(package private) TokenRange
Return a TokenRange spanning from begin to endvoid
JavaToken.replaceToken
(JavaToken newToken) Replaces the current token with newToken.Constructors in com.github.javaparser with parameters of type JavaTokenModifierConstructorDescription(package private)
ModifierHolder
(JavaToken begin, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations) TokenRange
(JavaToken begin, JavaToken end) Constructor parameters in com.github.javaparser with type arguments of type JavaToken -
Uses of JavaToken in com.github.javaparser.printer.lexicalpreservation
Fields in com.github.javaparser.printer.lexicalpreservation declared as JavaTokenFields in com.github.javaparser.printer.lexicalpreservation with type parameters of type JavaTokenModifier and TypeFieldDescriptionRemovedGroup.hasOnlyWhitespaceJavaTokenBehindFunction
RemovedGroup.hasOnlyWhitespaceJavaTokenInFrontFunction
Methods in com.github.javaparser.printer.lexicalpreservation that return JavaTokenMethods in com.github.javaparser.printer.lexicalpreservation with parameters of type JavaTokenModifier and TypeMethodDescriptionprivate boolean
RemovedGroup.hasOnlyWhiteSpaceForTokenFunction
(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) Method parameters in com.github.javaparser.printer.lexicalpreservation with type arguments of type JavaTokenModifier and TypeMethodDescriptionprivate boolean
RemovedGroup.hasOnlyWhiteSpaceForTokenFunction
(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) private boolean
RemovedGroup.hasOnlyWhiteSpaceForTokenFunction
(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) private static void
LexicalPreservingPrinter.storeInitialTextForOneNode
(Node node, List<JavaToken> nodeTokens) Constructors in com.github.javaparser.printer.lexicalpreservation with parameters of type JavaToken