Class: KPeg::StringEscape::KpegPosInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/kpeg/string_escape.rb

Instance Attribute Summary collapse

Instance Attribute Details

#char ⇒ Object

Returns the value of attribute char

Returns:

  • (Object) —

    the current value of char



76
77
78
# File 'lib/kpeg/string_escape.rb', line 76

def char
  @char
end

#col ⇒ Object

Returns the value of attribute col

Returns:

  • (Object) —

    the current value of col



76
77
78
# File 'lib/kpeg/string_escape.rb', line 76

def col
  @col
end

#line ⇒ Object

Returns the value of attribute line

Returns:

  • (Object) —

    the current value of line



76
77
78
# File 'lib/kpeg/string_escape.rb', line 76

def line
  @line
end

#lno ⇒ Object

Returns the value of attribute lno

Returns:

  • (Object) —

    the current value of lno



76
77
78
# File 'lib/kpeg/string_escape.rb', line 76

def lno
  @lno
end

#pos ⇒ Object

Returns the value of attribute pos

Returns:

  • (Object) —

    the current value of pos



76
77
78
# File 'lib/kpeg/string_escape.rb', line 76

def pos
  @pos
end