Module: OracleSqlParser::Grammar::Select::Order::OrderByClauseItems2

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

Instance Method Summary collapse

Instance Method Details

#astObject



127
128
129
130
131
# File 'lib/oracle-sql-parser/grammar/select/order.rb', line 127

def ast
  OracleSqlParser::Ast::Array[
    order_by_clause_item.ast, *more_order_by_clause_items.map(&:ast)
  ]
end

#more_order_by_clause_itemsObject



133
134
135
# File 'lib/oracle-sql-parser/grammar/select/order.rb', line 133

def more_order_by_clause_items
  more.elements.map(&:order_by_clause_item)
end