Method: Crokus::Parser#function_formal_args

Defined in:
lib/crokus/parser.rb

#function_formal_argsObject



217
218
219
220
221
222
223
224
225
226
227
228
229
230
# File 'lib/crokus/parser.rb', line 217

def function_formal_args
  indent "function_formal_args"
  args=[]
  expect :lparen
  while !showNext.is? :rparen
    args << func_formal_arg()
    if !showNext.is? :rparen
      expect :comma
    end
  end
  expect :rparen
  dedent
  return args
end