Class TokenMap.TokenMapToken

  • Enclosing class:
    TokenMap

    private static final class TokenMap.TokenMapToken
    extends java.lang.Object
    The "token" used by a token map. Note that this isn't the same thing as the Token class, but it's basically a 1-1 correspondence for reserved words, etc.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TokenMapToken​(char[] text, int tokenType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • text

        private char[] text
      • offset

        private int offset
      • length

        private int length
      • tokenType

        private int tokenType
    • Constructor Detail

      • TokenMapToken

        private TokenMapToken​(char[] text,
                              int tokenType)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object