class Tomlrb::Parser
Public Class Methods
new(tokenizer, **options)
click to toggle source
Calls superclass method
# File lib/tomlrb/parser.rb, line 5 def initialize(tokenizer, **options) @tokenizer = tokenizer @handler = Tomlrb::Handler.new(options) super() end
Public Instance Methods
next_token()
click to toggle source
# File lib/tomlrb/parser.rb, line 11 def next_token @tokenizer.next_token end
parse()
click to toggle source
# File lib/tomlrb/parser.rb, line 15 def parse do_parse @handler end