Class: FilterLexer::EQOperator
- Inherits:
-
RelationalOperator
- Object
- Treetop::Runtime::SyntaxNode
- RelationalOperator
- FilterLexer::EQOperator
- Defined in:
- lib/filter_lexer/nodes/relational_operators.rb,
lib/filter_lexer/formatters/sql.rb
Overview
An relational equality operator
Instance Method Summary collapse
Methods inherited from RelationalOperator
#query_string, #query_variables
Instance Method Details
#sql ⇒ Object
75 76 77 78 79 80 81 82 |
# File 'lib/filter_lexer/formatters/sql.rb', line 75 def sql case parent.data when BooleanLiteral, NullLiteral return 'IS' else return '=' end end |