Class: Bliss::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/bliss/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Parser

Returns a new instance of Parser.



3
4
5
6
# File 'lib/bliss/parser.rb', line 3

def initialize(path)
  @path = path
  @parser_machine = Bliss::ParserMachine.new(path)
end

Instance Method Details

#parseObject



8
9
10
# File 'lib/bliss/parser.rb', line 8

def parse
  @parser_machine.parse
end