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

Function parse_with

js/SCASTPY.js:628–638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

626 }
627
628 function parse_with(){
629 var n= input.next();
630 var r={
631 type:"WithStatement",
632 value:n.value,
633 poi:{line:n.poi.line,start:n.poi.start},
634 condition:parse_condition(),
635 }
636 if(is_sp(':'))r.body=parse_block().body
637 return r
638 }
639
640 function parse_keyword(){
641 // assert raise

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