MCPcopy Create free account
hub / github.com/davidkingzyb/SCAST / parse_arguments

Function parse_arguments

js/SCASTPY.js:378–396  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

376 }
377 }
378 function parse_arguments() {
379 var r={
380 type: "Arguments",
381 body: [],
382 poi:{line:input.peek().poi.line,start:input.peek().poi.start},
383 value:''
384 }
385 skip_punc("(");
386 while (!is_punc(")")) {
387 var sts = parse_arg()
388 if(sts){
389 r.value+=sts.value+' ';
390 r.body.push(sts)
391 }
392 }
393 skip_punc(")");
394 // console.log('arguments',r)
395 return r
396 }
397 function parse_block(iscls){
398 var poi={line:input.peek().poi.line,start:input.peek().poi.start}
399 var body = [];

Callers 4

parse_idFunction · 0.70
parse_argFunction · 0.70
parse_functionFunction · 0.70
parse_conditionFunction · 0.70

Calls 3

skip_puncFunction · 0.70
is_puncFunction · 0.70
parse_argFunction · 0.70

Tested by

no test coverage detected