Class GeneratedJavaParserTokenManagerBase

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeneratedJavaParserTokenManagerBase

        GeneratedJavaParserTokenManagerBase()
    • Method Detail

      • tokenRange

        private static TokenRange tokenRange​(Token token)
        Create a TokenRange that spans exactly one token
      • createCommentFromToken

        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.