Class: Parser

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

Instance Method Summary collapse

Constructor Details

#initialize(expr) ⇒ Parser

Returns a new instance of Parser.



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

def initialize(expr)
  @fichi = expr
  @scan = Scanner.new()
end

Instance Method Details

#parseObject



12
13
14
# File 'lib/parser.rb', line 12

def parse()
  Prog()
end