Module: Predicate::Opaque
- Includes:
- Expr
- Defined in:
- lib/predicate/nodes/opaque.rb
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_s, #to_sequel, #unqualify, #|
Methods included from Factory
#and, #between, #comp, #contradiction, #from_hash, #identifier, #in, #intersect, #literal, #match, #native, #not, #opaque, #or, #placeholder, #qualified_identifier, #tautology
Instance Method Details
#evaluate(tuple) ⇒ Object
13
14
15
|
# File 'lib/predicate/nodes/opaque.rb', line 13
def evaluate(tuple)
raise NotImplementedError, "Opaque#evaluate is not defined"
end
|
#free_variables ⇒ Object
9
10
11
|
# File 'lib/predicate/nodes/opaque.rb', line 9
def free_variables
@free_variables ||= []
end
|
#priority ⇒ Object
5
6
7
|
# File 'lib/predicate/nodes/opaque.rb', line 5
def priority
100
end
|