Class: KPeg::FormatParser::KpegPosInfo

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

Instance Attribute Summary collapse

Instance Attribute Details

#charObject

Returns the value of attribute char

Returns:

  • (Object)

    the current value of char



68
69
70
# File 'lib/kpeg/format_parser.rb', line 68

def char
  @char
end

#colObject

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



68
69
70
# File 'lib/kpeg/format_parser.rb', line 68

def col
  @col
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



68
69
70
# File 'lib/kpeg/format_parser.rb', line 68

def line
  @line
end

#lnoObject

Returns the value of attribute lno

Returns:

  • (Object)

    the current value of lno



68
69
70
# File 'lib/kpeg/format_parser.rb', line 68

def lno
  @lno
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



68
69
70
# File 'lib/kpeg/format_parser.rb', line 68

def pos
  @pos
end