Class: KPeg::StringEscape::KpegPosInfo

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

Instance Attribute Summary collapse

Instance Attribute Details

#charObject

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

#colObject

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

#lineObject

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

#lnoObject

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

#posObject

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