Collection of methods for writing parsers against RDoc::RubyLex and RDoc::RubyToken
peek_tk() Instance Public methods Peek at the next token, but don't remove it
skip_tkspace(skip_nl = true) Instance Public methods Skips whitespace tokens
unget_tk(tk) Instance Public methods Returns tk to the scanner
token_listener(obj) Instance Public methods Has obj listen to tokens
add_token_listener(obj) Instance Public methods Adds a token listener obj
reset() Instance Public methods Resets the tools
get_tkread() Instance Public methods Retrieves a String representation of the
peek_read() Instance Public methods Peek equivalent for
get_tk_until(*tokens) Instance Public methods Reads and returns all tokens up
get_tk() Instance Public methods Fetches the next token from the scanner
Page 1 of 2