Module: JPTGRAMMAR::ParenExpr2

Defined in:
lib/parser/jptgrammar.rb

Instance Method Summary collapse

Instance Method Details

#astObject



2337
2338
2339
2340
2341
2342
2343
# File 'lib/parser/jptgrammar.rb', line 2337

def ast
  if elements[0].text_value == ''
    elements[3].ast
  else
    ["not", elements[3].ast]
  end
end