Class: Cadenza::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/cadenza/token.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column


3
4
5
# File 'lib/cadenza/token.rb', line 3

def column
  @column
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line


3
4
5
# File 'lib/cadenza/token.rb', line 3

def line
  @line
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source


3
4
5
# File 'lib/cadenza/token.rb', line 3

def source
  @source
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value


3
4
5
# File 'lib/cadenza/token.rb', line 3

def value
  @value
end