toString method

  1. @override
String toString ()
override

Returns a textual representation of this token to be used for debugging purposes. The resulting string might contain information about the structure of the token, for example 'StringToken(foo)' for the identifier token 'foo'.

Use lexeme for the text actually parsed by the token.

Implementation

@override
String toString();