Class: Kapusta::Compiler::Language::BindingForm
- Inherits:
-
Struct
- Object
- Struct
- Kapusta::Compiler::Language::BindingForm
- Defined in:
- lib/kapusta/compiler/language.rb
Instance Attribute Summary collapse
-
#head ⇒ Object
Returns the value of attribute head.
-
#target ⇒ Object
Returns the value of attribute target.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#head ⇒ Object
Returns the value of attribute head
16 17 18 |
# File 'lib/kapusta/compiler/language.rb', line 16 def head @head end |
#target ⇒ Object
Returns the value of attribute target
16 17 18 |
# File 'lib/kapusta/compiler/language.rb', line 16 def target @target end |
#value ⇒ Object
Returns the value of attribute value
16 17 18 |
# File 'lib/kapusta/compiler/language.rb', line 16 def value @value end |
Instance Method Details
#mutable? ⇒ Boolean
17 |
# File 'lib/kapusta/compiler/language.rb', line 17 def mutable? = head == 'var' |