Class: Sparkql::Evaluator::Node
- Inherits:
-
Struct
- Object
- Struct
- Sparkql::Evaluator::Node
- Defined in:
- lib/sparkql/evaluator.rb
Overview
The struct here mimics some of the parser information about an expression, but should not be confused for an expression. Nodes reduce the expressions to a result based on conjunction logic, and only one exists per block group.
Instance Attribute Summary collapse
-
#block_group ⇒ Object
Returns the value of attribute block_group.
-
#conjunction ⇒ Object
Returns the value of attribute conjunction.
-
#conjunction_level ⇒ Object
Returns the value of attribute conjunction_level.
-
#expressions ⇒ Object
Returns the value of attribute expressions.
-
#good_ors ⇒ Object
Returns the value of attribute good_ors.
-
#level ⇒ Object
Returns the value of attribute level.
-
#match ⇒ Object
Returns the value of attribute match.
-
#unary ⇒ Object
Returns the value of attribute unary.
Instance Attribute Details
#block_group ⇒ Object
Returns the value of attribute block_group
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def block_group @block_group end |
#conjunction ⇒ Object
Returns the value of attribute conjunction
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def conjunction @conjunction end |
#conjunction_level ⇒ Object
Returns the value of attribute conjunction_level
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def conjunction_level @conjunction_level end |
#expressions ⇒ Object
Returns the value of attribute expressions
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def expressions @expressions end |
#good_ors ⇒ Object
Returns the value of attribute good_ors
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def good_ors @good_ors end |
#level ⇒ Object
Returns the value of attribute level
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def level @level end |
#match ⇒ Object
Returns the value of attribute match
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def match @match end |
#unary ⇒ Object
Returns the value of attribute unary
11 12 13 |
# File 'lib/sparkql/evaluator.rb', line 11 def unary @unary end |