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

Function parse_keyword

js/SCASTPY.js:640–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638 }
639
640 function parse_keyword(){
641 // assert raise
642 // yield return
643 // async await
644 // import from
645 // break continue
646 // del
647 // global nonlocal
648 // pass
649 var n=input.peek()
650 var r={
651 type:"Expression",
652 value:n.value,
653 poi:{line:n.poi.line,start:n.poi.start},
654 }
655 input.next()
656 var nn=input.peek()
657 if(nn){
658 r.body=[parse_expression()]
659 }
660 // console.log('keyword',r)
661 return r
662 }
663 function parse_lambda(){
664 var n=input.peek()
665 var r={

Callers 1

parse_expressionFunction · 0.70

Calls 1

parse_expressionFunction · 0.70

Tested by

no test coverage detected