Module: Qrb::Syntax::RelationType

Defined in:
lib/qrb/syntax/relation_type.rb

Instance Method Summary collapse

Instance Method Details

#compile(factory) ⇒ Object



5
6
7
# File 'lib/qrb/syntax/relation_type.rb', line 5

def compile(factory)
  factory.relation(heading.compile(factory))
end

#to_astObject



9
10
11
# File 'lib/qrb/syntax/relation_type.rb', line 9

def to_ast
  [:relation_type, heading.to_ast]
end