Method: TestML::Compiler::Lite#parse_args

Defined in:
lib/testml/compiler/lite.rb

#parse_argsObject



128
129
130
131
132
133
134
135
136
137
# File 'lib/testml/compiler/lite.rb', line 128

def parse_args
  pop == '(' or fail
  args = []
  while peek != ')' do
    args.push parse_expression
    pop if peek == ','
  end
  pop
  return args
end