Class: Taoism::Token::Position

Inherits:
Data
  • Object
show all
Defined in:
lib/taoism/token.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colObject (readonly)

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



5
6
7
# File 'lib/taoism/token.rb', line 5

def col
  @col
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/taoism/token.rb', line 5

def line
  @line
end

#offsetObject (readonly)

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



5
6
7
# File 'lib/taoism/token.rb', line 5

def offset
  @offset
end