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



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

def column
  @column
end

#lineObject

Returns the value of attribute line



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

def line
  @line
end

#sourceObject

Returns the value of attribute source



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

def source
  @source
end

#valueObject

Returns the value of attribute value



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

def value
  @value
end