Uses of Class
com.github.javaparser.JavaToken
Packages that use JavaToken
-
Uses of JavaToken in com.github.javaparser
Classes in com.github.javaparser that implement interfaces with type arguments of type JavaTokenFields in com.github.javaparser declared as JavaTokenModifier and TypeFieldDescription(package private) final JavaTokenModifierHolder.beginprivate final JavaTokenTokenRange.beginprivate final JavaTokenTokenRange.endprivate JavaTokenGeneratedJavaParserTokenManager.homeTokenstatic final JavaTokenJavaToken.INVALID(package private) JavaTokenTokenBase.javaTokenThis is the link to the token that JavaParser presents to the userprivate JavaTokenJavaToken.nextTokenprivate JavaTokenJavaToken.previousTokenFields 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) JavaTokenGeneratedJavaParserTokenManager.getHomeToken()(package private) JavaTokenGeneratedJavaParserBase.nodeListBegin(NodeList<?> l) Get the token that starts the NodeList l(package private) JavaTokenGeneratedJavaParserBase.orIfInvalid(JavaToken firstChoice, Node secondChoice) (package private) JavaTokenGeneratedJavaParserBase.orIfInvalid(JavaToken firstChoice, JavaToken secondChoice) (package private) JavaTokenGeneratedJavaParser.token()(package private) abstract JavaTokenGeneratedJavaParserBase.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 ArrayCreationExprGeneratedJavaParser.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) voidvoidInserts newToken into the token list just before this token.voidJavaToken.insertAfter(JavaToken newToken) Inserts newToken into the token list just after this token.(package private) JavaTokenGeneratedJavaParserBase.orIfInvalid(JavaToken firstChoice, Node secondChoice) (package private) JavaTokenGeneratedJavaParserBase.orIfInvalid(JavaToken firstChoice, JavaToken secondChoice) (package private) TokenRangeReturn a TokenRange spanning from begin to end(package private) TokenRangeReturn a TokenRange spanning from begin to end(package private) TokenRangeReturn a TokenRange spanning from begin to endvoidJavaToken.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.hasOnlyWhitespaceJavaTokenBehindFunctionRemovedGroup.hasOnlyWhitespaceJavaTokenInFrontFunctionMethods in com.github.javaparser.printer.lexicalpreservation that return JavaTokenMethods in com.github.javaparser.printer.lexicalpreservation with parameters of type JavaTokenModifier and TypeMethodDescriptionprivate booleanRemovedGroup.hasOnlyWhiteSpaceForTokenFunction(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) Method parameters in com.github.javaparser.printer.lexicalpreservation with type arguments of type JavaTokenModifier and TypeMethodDescriptionprivate booleanRemovedGroup.hasOnlyWhiteSpaceForTokenFunction(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) private booleanRemovedGroup.hasOnlyWhiteSpaceForTokenFunction(JavaToken token, Function<JavaToken, Optional<JavaToken>> tokenFunction) private static voidLexicalPreservingPrinter.storeInitialTextForOneNode(Node node, List<JavaToken> nodeTokens) Recursively stores initial text representation for all child nodes of the given parent node.Constructors in com.github.javaparser.printer.lexicalpreservation with parameters of type JavaToken