Interface Lexer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String javadoc()
      Returns a saved javadoc comment.
      Token next()
      Returns the next token in the input stream, or EOF.
      int position()
      Returns the current position in the input.
      SourceFile source()
      Returns the source file for diagnostics.
      java.lang.String stringValue()
      Returns the string value of the current literal or identifier token.
    • Method Detail

      • next

        Token next()
        Returns the next token in the input stream, or EOF.
      • stringValue

        java.lang.String stringValue()
        Returns the string value of the current literal or identifier token.
      • position

        int position()
        Returns the current position in the input.
      • source

        SourceFile source()
        Returns the source file for diagnostics.
      • javadoc

        java.lang.String javadoc()
        Returns a saved javadoc comment.