Class: SystemRDL::Evaluator::Value

Inherits:
Data
  • Object
show all
Defined in:
lib/systemrdl/evaluator/value.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#token_rangeObject (readonly)

Returns the value of attribute token_range

Returns:

  • (Object)

    the current value of token_range



5
6
7
# File 'lib/systemrdl/evaluator/value.rb', line 5

def token_range
  @token_range
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/systemrdl/evaluator/value.rb', line 5

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



5
6
7
# File 'lib/systemrdl/evaluator/value.rb', line 5

def value
  @value
end

#widthObject (readonly)

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



5
6
7
# File 'lib/systemrdl/evaluator/value.rb', line 5

def width
  @width
end

Instance Method Details

#to_sObject



6
7
8
# File 'lib/systemrdl/evaluator/value.rb', line 6

def to_s
  value.to_s
end