Module: OracleSqlParser::Grammar::Condition::Null::NullCondition2

Defined in:
lib/oracle-sql-parser/grammar/condition/null.rb

Instance Method Summary collapse

Instance Method Details

#astObject



49
50
51
52
53
# File 'lib/oracle-sql-parser/grammar/condition/null.rb', line 49

def ast
  OracleSqlParser::Ast::NullCondition[
    :target => expr.ast,
    :not => not_keyword.ast]
end

#not_keywordObject



55
56
57
# File 'lib/oracle-sql-parser/grammar/condition/null.rb', line 55

def not_keyword
  n.elements && n.elements.first
end