Class: Kapusta::Compiler::Language::SigilForm

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#headObject

Returns the value of attribute head

Returns:

  • (Object)

    the current value of head



32
33
34
# File 'lib/kapusta/compiler/language.rb', line 32

def head
  @head
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



32
33
34
# File 'lib/kapusta/compiler/language.rb', line 32

def name
  @name
end

Instance Method Details

#kindObject



33
# File 'lib/kapusta/compiler/language.rb', line 33

def kind = head.to_sym