Class: Pegparse::ParserError
- Inherits:
-
Struct
- Object
- Struct
- Pegparse::ParserError
- Defined in:
- lib/pegparse/parser_errors.rb
Instance Attribute Summary collapse
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Attribute Details
#pos ⇒ Object
Returns the value of attribute pos
3 4 5 |
# File 'lib/pegparse/parser_errors.rb', line 3 def pos @pos end |
#reason ⇒ Object
Returns the value of attribute reason
3 4 5 |
# File 'lib/pegparse/parser_errors.rb', line 3 def reason @reason end |