Class: OpenEHR::AQL::Model::PredicateAnd
- Inherits:
-
Object
- Object
- OpenEHR::AQL::Model::PredicateAnd
- 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
-
#left ⇒ Object
readonly
Returns the value of attribute left.
-
#right ⇒ Object
readonly
Returns the value of attribute right.
Instance Method Summary collapse
-
#initialize(left:, right:) ⇒ PredicateAnd
constructor
A new instance of PredicateAnd.
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
#left ⇒ Object (readonly)
Returns the value of attribute left.
53 54 55 |
# File 'lib/openehr/aql/model/predicate.rb', line 53 def left @left end |
#right ⇒ Object (readonly)
Returns the value of attribute right.
53 54 55 |
# File 'lib/openehr/aql/model/predicate.rb', line 53 def right @right end |