Class: Jade::Frontend::TypeChecking::StructDef

Inherits:
Data
  • Object
show all
Defined in:
lib/jade/frontend/type_checking/definition.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



5
6
7
# File 'lib/jade/frontend/type_checking/definition.rb', line 5

def body
  @body
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/jade/frontend/type_checking/definition.rb', line 5

def name
  @name
end

#type_paramsObject (readonly)

Returns the value of attribute type_params

Returns:

  • (Object)

    the current value of type_params



5
6
7
# File 'lib/jade/frontend/type_checking/definition.rb', line 5

def type_params
  @type_params
end