Module: OracleSqlParser::Grammar::Condition::In::InCondition2

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

Instance Method Summary collapse

Instance Method Details

#astObject



46
47
48
49
50
51
52
# File 'lib/oracle-sql-parser/grammar/condition/in.rb', line 46

def ast
  OracleSqlParser::Ast::InCondition[
    :target => target.ast,
    :not => not_keyword.ast,
    :values =>  values.ast
  ]
end

#not_keywordObject



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

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