Top Description Constructors Methods
com.github.javaparser

pack-priv abstract Class GeneratedJavaParserTokenManagerBase

extends Object
Class Inheritance
Imports
com.github.javaparser.ast.comments.BlockComment, .Comment, .JavadocComment, .LineComment

Base class for com.github.javaparser.GeneratedJavaParserTokenManager

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static Comment
createCommentFromToken(Token token)

Since comments are completely captured in a single token, including their delimiters, deconstruct them here so we can turn them into nodes later on.

private static TokenRange
tokenRange(Token token)

Create a TokenRange that spans exactly one token

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GeneratedJavaParserTokenManagerBaseback to summary
pack-priv GeneratedJavaParserTokenManagerBase()

Method Detail

createCommentFromTokenback to summary
pack-priv static Comment createCommentFromToken(Token token)

Since comments are completely captured in a single token, including their delimiters, deconstruct them here so we can turn them into nodes later on.

tokenRangeback to summary
private static TokenRange tokenRange(Token token)

Create a TokenRange that spans exactly one token