Class: Faust2Ruby::Lexer::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/faust2ruby/lexer.rb

Overview

Token struct for lexer output

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



10
11
12
# File 'lib/faust2ruby/lexer.rb', line 10

def column
  @column
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



10
11
12
# File 'lib/faust2ruby/lexer.rb', line 10

def line
  @line
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



10
11
12
# File 'lib/faust2ruby/lexer.rb', line 10

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



10
11
12
# File 'lib/faust2ruby/lexer.rb', line 10

def value
  @value
end