module OracleSqlParser::Grammar::Condition::PatternMatching::LikeCondition3

Public Instance Methods

ast() click to toggle source
# 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() click to toggle source
# File lib/oracle-sql-parser/grammar/condition/pattern_matching.rb, line 123
def not_keyword
  n.elements && n.elements.first
end