Module: Predicate::SetOp
Constant Summary
Constants included
from Expr
Expr::OP_NEGATIONS
Instance Method Summary
collapse
Methods included from Expr
#!, #&, #and_split, #attr_split, #bind, #constants, #contradiction?, #dyadic_priority, #identifier?, #literal?, #opaque?, #qualify, #rename, #sexpr, #tautology?, #to_hash, #to_postgres, #to_s, #to_sequel, #unqualify, #|
Methods included from Factory
#_factor_predicate, #and, #comp, #contradiction, #empty, #from_hash, #h, #has_size, #in, #literal, #match, #native, #not, #opaque, #or, #pg_array_empty, #pg_array_literal, #pg_array_overlaps, #placeholder, #qualified_identifier, #sexpr, #tautology, #var, #vars
Instance Method Details
#constant_variables ⇒ Object
21
22
23
|
# File 'lib/predicate/nodes/set_op.rb', line 21
def constant_variables
[]
end
|
#free_variables ⇒ Object
17
18
19
|
# File 'lib/predicate/nodes/set_op.rb', line 17
def free_variables
@free_variables ||= left.free_variables | right.free_variables
end
|
#left ⇒ Object
Also known as:
identifier
7
8
9
|
# File 'lib/predicate/nodes/set_op.rb', line 7
def left
self[1]
end
|
#priority ⇒ Object
5
|
# File 'lib/predicate/nodes/set_op.rb', line 5
def priority; 80; end
|
#right ⇒ Object
Also known as:
values
12
13
14
|
# File 'lib/predicate/nodes/set_op.rb', line 12
def right
self[2]
end
|