do_parse() public

The entry point of the parser. This method is used with #next_token. If Racc wants to get token (and its value), calls next_token.

Example:

def parse
  @q = [[1,1],
        [2,2],
        [3,3],
        [false, '$']]
  do_parse
end

def next_token
  @q.shift
end
Show source
Register or log in to add new notes.