Module: Alf::Predicate::Native
- Includes:
- Expr
- Defined in:
- lib/alf-predicate/alf/predicate/nodes/native.rb
Constant Summary
Constants included
from Expr
Expr::OP_NEGATIONS
Instance Method Summary
collapse
Methods included from Expr
#!, #&, #and_split, #constant_variables, #contradiction?, #rename, #sexpr, #tautology?, #to_ruby_code, #|
Methods included from Factory
#_factor_predicate, #and, #between, #comp, #contradiction, #in, #literal, #native, #not, #or, #relation, #sexpr, #tautology, #var_ref
Instance Method Details
#free_variables ⇒ Object
14
15
16
|
# File 'lib/alf-predicate/alf/predicate/nodes/native.rb', line 14
def free_variables
raise NotSupportedError
end
|
#priority ⇒ Object
6
7
8
|
# File 'lib/alf-predicate/alf/predicate/nodes/native.rb', line 6
def priority
90
end
|
#to_proc(options = {}) ⇒ Object
10
11
12
|
# File 'lib/alf-predicate/alf/predicate/nodes/native.rb', line 10
def to_proc(options = {})
self[1]
end
|