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

Function parse_except

js/SCASTPY.js:535–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533 }
534
535 function parse_except(){
536 var n = input.next();
537 var r={
538 type:"ExceptStatement",
539 poi:{line:n.poi.line,start:n.poi.start},
540 value:n.value,
541 }
542 r.condition=parse_condition()
543 if(is_sp(':')){
544 r.body=parse_block().body
545 }
546 return r
547 }
548
549 function parse_loop(){
550 var n= input.next();

Callers 1

parse_statementFunction · 0.70

Calls 3

parse_conditionFunction · 0.70
is_spFunction · 0.70
parse_blockFunction · 0.70

Tested by

no test coverage detected