Class: Neo4j::Cypher::Operator::EvalContext
- Inherits:
-
Object
- Object
- Neo4j::Cypher::Operator::EvalContext
show all
- Includes:
- MathFunctions, Context
- Defined in:
- lib/neo4j-cypher/operator.rb
Instance Attribute Summary
Attributes included from Context
#clause
Instance Method Summary
collapse
Methods included from Context
#clause_list, #initialize
Instance Method Details
#&(other) ⇒ Object
103
104
105
|
# File 'lib/neo4j-cypher/operator.rb', line 103
def &(other)
Operator.new(clause.clause_list, clause, other.clause, "and").eval_context
end
|
#not ⇒ Object
111
112
113
114
|
# File 'lib/neo4j-cypher/operator.rb', line 111
def not
clause.not
self
end
|
#|(other) ⇒ Object
107
108
109
|
# File 'lib/neo4j-cypher/operator.rb', line 107
def |(other)
Operator.new(clause.clause_list, clause, other.clause, "or").eval_context
end
|