Class: Jade::Frontend::TypeChecking::TypeDef
- Inherits:
-
Data
- Object
- Data
- Jade::Frontend::TypeChecking::TypeDef
- Defined in:
- lib/jade/frontend/type_checking/definition.rb
Instance Attribute Summary collapse
-
#constructors ⇒ Object
readonly
Returns the value of attribute constructors.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type_params ⇒ Object
readonly
Returns the value of attribute type_params.
Instance Method Summary collapse
Instance Attribute Details
#constructors ⇒ Object (readonly)
Returns the value of attribute constructors
6 7 8 |
# File 'lib/jade/frontend/type_checking/definition.rb', line 6 def constructors @constructors end |
#name ⇒ Object (readonly)
Returns the value of attribute name
6 7 8 |
# File 'lib/jade/frontend/type_checking/definition.rb', line 6 def name @name end |
#type_params ⇒ Object (readonly)
Returns the value of attribute type_params
6 7 8 |
# File 'lib/jade/frontend/type_checking/definition.rb', line 6 def type_params @type_params end |
Instance Method Details
#opaque? ⇒ Boolean
7 8 9 |
# File 'lib/jade/frontend/type_checking/definition.rb', line 7 def opaque? constructors.empty? end |