Method: Crokus::Parser#parse_return

Defined in:
lib/crokus/parser.rb

#parse_returnObject



367
368
369
370
371
372
373
374
375
# File 'lib/crokus/parser.rb', line 367

def parse_return
  indent "parse_return"
  expect :return
  unless showNext.is? :semicolon
    e=expression
  end
  dedent
  Return.new(e)
end