Module: OracleSqlParser::Grammar::Condition::PatternMatching::LikeCondition3
- Defined in:
- lib/oracle-sql-parser/grammar/condition/pattern_matching.rb
Instance Method Summary collapse
Instance Method Details
#ast ⇒ Object
113 114 115 116 117 118 119 120 121 |
# File 'lib/oracle-sql-parser/grammar/condition/pattern_matching.rb', line 113 def ast OracleSqlParser::Ast::LikeCondition[ :target => target.ast, :not => not_keyword.ast, :like => like.ast, :text => text.ast, :escape => e.try(:escape_text).ast ] end |
#not_keyword ⇒ Object
123 124 125 |
# File 'lib/oracle-sql-parser/grammar/condition/pattern_matching.rb', line 123 def not_keyword n.elements && n.elements.first end |