Class: SystemRDL::Evaluator::Value
- Inherits:
-
Data
- Object
- Data
- SystemRDL::Evaluator::Value
- Defined in:
- lib/systemrdl/evaluator/value.rb
Instance Attribute Summary collapse
-
#token_range ⇒ Object
readonly
Returns the value of attribute token_range.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
Instance Attribute Details
#token_range ⇒ Object (readonly)
Returns the value of attribute token_range
5 6 7 |
# File 'lib/systemrdl/evaluator/value.rb', line 5 def token_range @token_range end |
#type ⇒ Object (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/systemrdl/evaluator/value.rb', line 5 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value
5 6 7 |
# File 'lib/systemrdl/evaluator/value.rb', line 5 def value @value end |
#width ⇒ Object (readonly)
Returns the value of attribute width
5 6 7 |
# File 'lib/systemrdl/evaluator/value.rb', line 5 def width @width end |
Instance Method Details
#to_s ⇒ Object
6 7 8 |
# File 'lib/systemrdl/evaluator/value.rb', line 6 def to_s value.to_s end |