Module: ActiveFacts::CQL::FactTypes::ConditionContraction1

Defined in:
lib/activefacts/cql/parser/FactTypes.rb

Instance Method Summary collapse

Instance Method Details

#astObject



1541
1542
1543
1544
1545
# File 'lib/activefacts/cql/parser/FactTypes.rb', line 1541

def ast
  c = Compiler::Comparison.new(comparator.text_value, role.ast, e2.ast, certainty.value)
  c.conjunction = comparator.text_value
  [ role.ast, pq.empty? ? [] : pq.list, c ]
end