Class: Jade::Frontend::TypeChecking::Placeholder
- Inherits:
-
Data
- Object
- Data
- Jade::Frontend::TypeChecking::Placeholder
- Defined in:
- lib/jade/frontend/type_checking/placeholder.rb
Instance Attribute Summary collapse
-
#constraints ⇒ Object
readonly
Returns the value of attribute constraints.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#constraints ⇒ Object (readonly)
Returns the value of attribute constraints
4 5 6 |
# File 'lib/jade/frontend/type_checking/placeholder.rb', line 4 def constraints @constraints end |
#type ⇒ Object (readonly)
Returns the value of attribute type
4 5 6 |
# File 'lib/jade/frontend/type_checking/placeholder.rb', line 4 def type @type end |
Instance Method Details
#free_vars ⇒ Object
5 6 7 |
# File 'lib/jade/frontend/type_checking/placeholder.rb', line 5 def free_vars type.unbound_vars + constraints.flat_map(&:unbound_vars) end |