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
add_token_listener(obj) Instance Public methods Adds a token listener obj
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
get_tkread() Instance Public methods Retrieves a String representation of the
reset() Instance Public methods Resets the tools
get_tk_until(*tokens) Instance Public methods Reads and returns all tokens up
peek_read() Instance Public methods Peek equivalent for
remove_token_listener(obj) Instance Public methods Removes the token listener
Page 1 of 2