Class: FuPeg::Parser::Position
- Inherits:
-
Struct
- Object
- Struct
- FuPeg::Parser::Position
- Defined in:
- lib/fupeg/parser.rb
Overview
Position handling for failures
Instance Attribute Summary collapse
-
#charpos ⇒ Object
Returns the value of attribute charpos.
-
#colno ⇒ Object
Returns the value of attribute colno.
-
#line ⇒ Object
Returns the value of attribute line.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
Instance Attribute Details
#charpos ⇒ Object
Returns the value of attribute charpos
119 120 121 |
# File 'lib/fupeg/parser.rb', line 119 def charpos @charpos end |
#colno ⇒ Object
Returns the value of attribute colno
119 120 121 |
# File 'lib/fupeg/parser.rb', line 119 def colno @colno end |
#line ⇒ Object
Returns the value of attribute line
119 120 121 |
# File 'lib/fupeg/parser.rb', line 119 def line @line end |
#lineno ⇒ Object
Returns the value of attribute lineno
119 120 121 |
# File 'lib/fupeg/parser.rb', line 119 def lineno @lineno end |