Class: Jaina::Parser::Expression::Operator::Not Private
- Inherits:
-
NonTerminal
- Object
- Abstract
- NonTerminal
- Jaina::Parser::Expression::Operator::Not
- Defined in:
- lib/jaina/parser/expression/operator/not.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary
Constants inherited from Abstract
Abstract::Error, Abstract::InompatibleDirectionComparisonError
Constants included from Abstract::DSL
Abstract::DSL::Error, Abstract::DSL::IncorrectAssociativityDirectionError, Abstract::DSL::IncorrectPrecedenceLevelError, Abstract::DSL::IncorrectTokenError, Abstract::DSL::LEFT_ASSOC, Abstract::DSL::RIGHT_ASSOC
Instance Attribute Summary
Attributes inherited from Abstract
Instance Method Summary collapse
- #evaluate(context) ⇒ Any private
- #expression ⇒ Jaina::Parser::Expression::Operator::Abstract private
Methods inherited from NonTerminal
Methods inherited from Abstract
Methods included from Abstract::DSL
Constructor Details
This class inherits a constructor from Jaina::Parser::Expression::Operator::Abstract
Instance Method Details
#evaluate(context) ⇒ Any
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/jaina/parser/expression/operator/not.rb', line 17 def evaluate(context) !expression.evaluate(context) end |
#expression ⇒ Jaina::Parser::Expression::Operator::Abstract
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 |
# File 'lib/jaina/parser/expression/operator/not.rb', line 25 def expression expressions.first end |