Class: ComponentEmbeddedRuby::Lexer::Token

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

Instance Attribute Summary collapse

Instance Attribute Details

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



9
10
11
# File 'lib/component_embedded_ruby/lexer.rb', line 9

def position
  @position
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/component_embedded_ruby/lexer.rb', line 9

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



9
10
11
# File 'lib/component_embedded_ruby/lexer.rb', line 9

def value
  @value
end