Class: Kapusta::Compiler::Language::FunctionForm
- Inherits:
-
Struct
- Object
- Struct
- Kapusta::Compiler::Language::FunctionForm
- Defined in:
- lib/kapusta/compiler/language.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#head ⇒ Object
Returns the value of attribute head.
-
#name ⇒ Object
Returns the value of attribute name.
-
#params ⇒ Object
Returns the value of attribute params.
-
#prefix_length ⇒ Object
Returns the value of attribute prefix_length.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
6 7 8 |
# File 'lib/kapusta/compiler/language.rb', line 6 def body @body end |
#head ⇒ Object
Returns the value of attribute head
6 7 8 |
# File 'lib/kapusta/compiler/language.rb', line 6 def head @head end |
#name ⇒ Object
Returns the value of attribute name
6 7 8 |
# File 'lib/kapusta/compiler/language.rb', line 6 def name @name end |
#params ⇒ Object
Returns the value of attribute params
6 7 8 |
# File 'lib/kapusta/compiler/language.rb', line 6 def params @params end |
#prefix_length ⇒ Object
Returns the value of attribute prefix_length
6 7 8 |
# File 'lib/kapusta/compiler/language.rb', line 6 def prefix_length @prefix_length end |
Instance Method Details
#anonymous? ⇒ Boolean
9 |
# File 'lib/kapusta/compiler/language.rb', line 9 def anonymous? = name.nil? |
#named? ⇒ Boolean
7 |
# File 'lib/kapusta/compiler/language.rb', line 7 def named? = !name.nil? |