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, #comp, #contradiction, #empty, #from_hash, #has_size, #identifier, #in, #literal, #match, #native, #not, #opaque, #or, #placeholder, #qualified_identifier, #tautology, #var, #vars
Instance Method Details
#evaluate(tuple) ⇒ Object
11
12
13
|
# File 'lib/predicate/nodes/opaque.rb', line 11
def evaluate(tuple)
raise NotImplementedError, "Opaque#evaluate is not defined"
end
|
#free_variables ⇒ Object
7
8
9
|
# File 'lib/predicate/nodes/opaque.rb', line 7
def free_variables
@free_variables ||= []
end
|
#priority ⇒ Object
5
|
# File 'lib/predicate/nodes/opaque.rb', line 5
def priority; 100; end
|