Class: Twig::ExpressionParser::Infix::IsNot
- Inherits:
-
Is
- Object
- Base
- Twig::ExpressionParser::InfixExpressionParser
- Is
- Twig::ExpressionParser::Infix::IsNot
- Includes:
- ParsesArguments
- Defined in:
- lib/twig/expression_parser/infix/is_not.rb
Constant Summary
Constants inherited from Twig::ExpressionParser::InfixExpressionParser
Twig::ExpressionParser::InfixExpressionParser::LEFT, Twig::ExpressionParser::InfixExpressionParser::RIGHT
Instance Method Summary collapse
Methods inherited from Is
#associativity, #description, #precedence
Methods inherited from Twig::ExpressionParser::InfixExpressionParser
#associativity, #left?, #right?, #type
Methods inherited from Base
#aliases, #precedence, #to_s, #type
Instance Method Details
#name ⇒ Object
13 14 15 |
# File 'lib/twig/expression_parser/infix/is_not.rb', line 13 def name 'is not' end |
#parse(parser, left, token) ⇒ Object
9 10 11 |
# File 'lib/twig/expression_parser/infix/is_not.rb', line 9 def parse(parser, left, token) Node::Expression::Unary::Not.new(super, token.lineno) end |