Method: Finitio::Syntax::SubType#to_ast
- Defined in:
- lib/finitio/syntax/type/sub_type.rb
#to_ast ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/finitio/syntax/type/sub_type.rb', line 17 def to_ast if c = constraint_def [:sub_type, rel_type.to_ast] + constraint_def.to_ast else rel_type.to_ast end end |