Exception: PETOOH::YY_SyntaxError

Inherits:
Exception
  • Object
show all
Defined in:
gen/lib/petooh.rb

Direct Known Subclasses

YY_SyntaxExpectationError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, pos) ⇒ YY_SyntaxError

Returns a new instance of YY_SyntaxError.



282
283
284
285
# File 'gen/lib/petooh.rb', line 282

def initialize(message, pos)
  super(message)
  @pos = pos
end

Instance Attribute Details

#posObject (readonly)

Returns the value of attribute pos.



287
288
289
# File 'gen/lib/petooh.rb', line 287

def pos
  @pos
end