Interface Parser.SyntaxHandler

    • Method Detail

      • newLine

        void newLine​(CharSequence text)
        Indicates that a new line starts.
        Parameters:
        text - the new line character (CR, LF, CR/LF or FF)
      • whitespace

        void whitespace​(CharSequence text)
        Called when whitespace characters are encountered.
        Parameters:
        text - the whitespace text
      • token

        void token​(CharSequence text)
        Called when a token is encountered. No distinction between operators and values is done here.
        Parameters:
        text - the token text
      • comment

        void comment​(CharSequence text)
        Called for a comment.
        Parameters:
        text - the comment