Module: Predicate::UnaryFunc
Constant Summary
Constants included
from Expr
Expr::OP_NEGATIONS
Instance Method Summary
collapse
Methods included from Expr
#!, #&, #and_split, #attr_split, #bind, #constant_variables, #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, #identifier, #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
#free_variables ⇒ Object
11
12
13
|
# File 'lib/predicate/nodes/unary_func.rb', line 11
def free_variables
@free_variables ||= operand.free_variables
end
|
#operand ⇒ Object
7
8
9
|
# File 'lib/predicate/nodes/unary_func.rb', line 7
def operand
self[1]
end
|
#priority ⇒ Object
5
|
# File 'lib/predicate/nodes/unary_func.rb', line 5
def priority; 80; end
|