Class: Jade::Symbol::Union
- Inherits:
-
Data
- Object
- Data
- Jade::Symbol::Union
- Includes:
- Base
- Defined in:
- lib/jade/symbol/union.rb
Instance Attribute Summary collapse
-
#decl_span ⇒ Object
readonly
Returns the value of attribute decl_span.
-
#module_name ⇒ Object
readonly
Returns the value of attribute module_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type_params ⇒ Object
readonly
Returns the value of attribute type_params.
-
#variants ⇒ Object
readonly
Returns the value of attribute variants.
Instance Method Summary collapse
Methods included from Base
Instance Attribute Details
#decl_span ⇒ Object (readonly)
Returns the value of attribute decl_span
3 4 5 |
# File 'lib/jade/symbol/union.rb', line 3 def decl_span @decl_span end |
#module_name ⇒ Object (readonly)
Returns the value of attribute module_name
3 4 5 |
# File 'lib/jade/symbol/union.rb', line 3 def module_name @module_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
3 4 5 |
# File 'lib/jade/symbol/union.rb', line 3 def name @name end |
#type_params ⇒ Object (readonly)
Returns the value of attribute type_params
3 4 5 |
# File 'lib/jade/symbol/union.rb', line 3 def type_params @type_params end |
#variants ⇒ Object (readonly)
Returns the value of attribute variants
3 4 5 |
# File 'lib/jade/symbol/union.rb', line 3 def variants @variants end |
Instance Method Details
#constructor_refs ⇒ Object
10 11 12 |
# File 'lib/jade/symbol/union.rb', line 10 def constructor_refs variants end |
#to_ref ⇒ Object
6 7 8 |
# File 'lib/jade/symbol/union.rb', line 6 def to_ref TypeRef[module_name, name] end |