Class: Internal::ByteDecoder::Expression::Constant
- Inherits:
-
Internal::ByteDecoder::Expression
- Object
- Internal::ByteDecoder::Expression
- Internal::ByteDecoder::Expression::Constant
- Defined in:
- lib/internal/vm/bytedecoder.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Internal::ByteDecoder::Expression
Instance Method Summary collapse
-
#initialize(pc, klass, name) ⇒ Constant
constructor
A new instance of Constant.
- #precedence ⇒ Object
- #to_s ⇒ Object
Methods inherited from Internal::ByteDecoder::Expression
Constructor Details
#initialize(pc, klass, name) ⇒ Constant
Returns a new instance of Constant.
327 328 329 330 331 |
# File 'lib/internal/vm/bytedecoder.rb', line 327 def initialize(pc, klass, name) super(pc) @klass = klass @name = name end |
Instance Method Details
#precedence ⇒ Object
345 346 347 |
# File 'lib/internal/vm/bytedecoder.rb', line 345 def precedence return 1 end |