Module: Predicate::Not
- Includes:
- Expr
- Defined in:
- lib/predicate/nodes/not.rb
Constant Summary
Constants included
from Expr
Expr::OP_NEGATIONS
Instance Method Summary
collapse
Methods included from Expr
#&, #and_split, #constant_variables, #contradiction?, #qualify, #rename, #sexpr, #tautology?, #to_proc, #to_ruby_code, #to_sequel, #|
Methods included from Factory
#and, #between, #comp, #contradiction, #from_hash, #identifier, #in, #literal, #native, #not, #or, #qualified_identifier, #tautology
Instance Method Details
#! ⇒ Object
13
14
15
|
# File 'lib/predicate/nodes/not.rb', line 13
def !
last
end
|
#free_variables ⇒ Object
17
18
19
|
# File 'lib/predicate/nodes/not.rb', line 17
def free_variables
@free_variables ||= last.free_variables
end
|
#operator_symbol ⇒ Object
5
6
7
|
# File 'lib/predicate/nodes/not.rb', line 5
def operator_symbol
:'!'
end
|
#priority ⇒ Object
9
10
11
|
# File 'lib/predicate/nodes/not.rb', line 9
def priority
90
end
|