Class: Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/rblade/compiler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/rblade/compiler.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/rblade/compiler.rb', line 9

def value
  @value
end