Class: Cyrel::AST::OptimizedNodes::LiteralData
- Inherits:
-
Data
- Object
- Data
- Cyrel::AST::OptimizedNodes::LiteralData
- Defined in:
- lib/cyrel/ast/optimized_nodes.rb
Overview
Literal values - these are created frequently and benefit from Data
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value
11 12 13 |
# File 'lib/cyrel/ast/optimized_nodes.rb', line 11 def value @value end |
Instance Method Details
#accept(visitor) ⇒ Object
12 13 14 |
# File 'lib/cyrel/ast/optimized_nodes.rb', line 12 def accept(visitor) visitor.visit_literal_data(self) end |