Class: Kapusta::Compiler::Language::MacroDefinitionForm

Inherits:
Struct
  • Object
show all
Defined in:
lib/kapusta/compiler/language.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



35
36
37
# File 'lib/kapusta/compiler/language.rb', line 35

def body
  @body
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



35
36
37
# File 'lib/kapusta/compiler/language.rb', line 35

def name
  @name
end

#paramsObject

Returns the value of attribute params

Returns:

  • (Object)

    the current value of params



35
36
37
# File 'lib/kapusta/compiler/language.rb', line 35

def params
  @params
end