Class: RLSL::Prism::IR::BoolLiteral
- Defined in:
- lib/rlsl/prism/ir/expressions.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(value) ⇒ BoolLiteral
constructor
A new instance of BoolLiteral.
Methods inherited from Node
Constructor Details
#initialize(value) ⇒ BoolLiteral
Returns a new instance of BoolLiteral.
59 60 61 62 63 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 59 def initialize(value) super() @value = value @type = :bool end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
55 56 57 |
# File 'lib/rlsl/prism/ir/expressions.rb', line 55 def value @value end |