Interface ParsingListener.Token

Enclosing interface:
ParsingListener

public static interface ParsingListener.Token
This represents a token that has been parsed
  • Method Details

    • getText

      String getText()
      Returns:
      the text of the parsed token
    • getLine

      int getLine()
      Returns:
      the line the token occurred on
    • getCharPositionInLine

      int getCharPositionInLine()
      Returns:
      the position within the line the token occurred on