Module: Predicate::Literal
- Includes:
- Expr
- Defined in:
- lib/predicate/nodes/literal.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
#free_variables ⇒ Object
9
10
11
|
# File 'lib/predicate/nodes/literal.rb', line 9
def free_variables
@free_variables ||= []
end
|
#priority ⇒ Object
5
6
7
|
# File 'lib/predicate/nodes/literal.rb', line 5
def priority
100
end
|
#value ⇒ Object
13
14
15
|
# File 'lib/predicate/nodes/literal.rb', line 13
def value
last
end
|