Class: OpenEHR::AQL::Model::PredicateAnd

Inherits:
Object
  • Object
show all
Defined in:
lib/openehr/aql/model/predicate.rb

Overview

nodePredicate : ... | nodePredicate AND nodePredicate | ... ; Combines any pathPredicate-body primaries (ArchetypePredicate, NodePredicate, Parameter, StandardPredicate). AND binds tighter than OR, same precedence-climbing convention used for whereExpr (M5) and containsExpr (M7).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(left:, right:) ⇒ PredicateAnd

Returns a new instance of PredicateAnd.



55
56
57
58
59
# File 'lib/openehr/aql/model/predicate.rb', line 55

def initialize(left:, right:)
  @left = left
  @right = right
  freeze
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



53
54
55
# File 'lib/openehr/aql/model/predicate.rb', line 53

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



53
54
55
# File 'lib/openehr/aql/model/predicate.rb', line 53

def right
  @right
end