Class: KPeg::Position::KpegPosInfo
- Inherits:
-
Struct
- Object
- Struct
- KPeg::Position::KpegPosInfo
- Defined in:
- lib/kpeg/position.rb
Instance Attribute Summary collapse
-
#char ⇒ Object
Returns the value of attribute char.
-
#col ⇒ Object
Returns the value of attribute col.
-
#line ⇒ Object
Returns the value of attribute line.
-
#lno ⇒ Object
Returns the value of attribute lno.
-
#pos ⇒ Object
Returns the value of attribute pos.
Instance Attribute Details
#char ⇒ Object
Returns the value of attribute char
51 52 53 |
# File 'lib/kpeg/position.rb', line 51 def char @char end |
#col ⇒ Object
Returns the value of attribute col
51 52 53 |
# File 'lib/kpeg/position.rb', line 51 def col @col end |
#line ⇒ Object
Returns the value of attribute line
51 52 53 |
# File 'lib/kpeg/position.rb', line 51 def line @line end |
#lno ⇒ Object
Returns the value of attribute lno
51 52 53 |
# File 'lib/kpeg/position.rb', line 51 def lno @lno end |
#pos ⇒ Object
Returns the value of attribute pos
51 52 53 |
# File 'lib/kpeg/position.rb', line 51 def pos @pos end |