Class Tokenizer.TokenizerToken

  • All Implemented Interfaces:
    Token
    Enclosing class:
    Tokenizer

    private static class Tokenizer.TokenizerToken
    extends Object
    implements Token
    The Class TokenizerToken.
    • Field Detail

      • type

        int type
        The type.
      • line

        int line
        The line.
      • col

        int col
        The col.
    • Constructor Detail

      • TokenizerToken

        public TokenizerToken()
        Instantiates a new tokenizer token.
    • Method Detail

      • getText

        public String getText()
        Description copied from interface: Token
        Gets the text.
        Specified by:
        getText in interface Token
        Returns:
        the text
      • getInnerText

        public String getInnerText()
        Description copied from interface: Token
        Gets the inner text.
        Specified by:
        getInnerText in interface Token
        Returns:
        the inner text
      • getName

        public String getName()
        Description copied from interface: Token
        Gets the name.
        Specified by:
        getName in interface Token
        Returns:
        the name
      • getType

        public int getType()
        Description copied from interface: Token
        Gets the type.
        Specified by:
        getType in interface Token
        Returns:
        the type
      • getLine

        public int getLine()
        Description copied from interface: Token
        Gets the line.
        Specified by:
        getLine in interface Token
        Returns:
        the line
      • getCol

        public int getCol()
        Description copied from interface: Token
        Gets the col.
        Specified by:
        getCol in interface Token
        Returns:
        the col
      • init

        public void init()
        Inits the.