MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / parse_stmtlist

Function parse_stmtlist

MathBox/mathbox-bundle.js:79740–79762  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79738 // parse states ---------------
79739
79740 function parse_stmtlist() {
79741 // determine the type of the statement
79742 // and then start parsing
79743 return stative(
79744 function() { state.scope.enter(); return Advance }
79745 , normal_mode
79746 )()
79747
79748 function normal_mode() {
79749 if(token.data === state[0].expecting) {
79750 return state.scope.exit(), state.shift()
79751 }
79752 switch(token.type) {
79753 case 'preprocessor':
79754 state.fake(adhoc())
79755 tokens.shift()
79756 return
79757 default:
79758 state.unshift(stmt())
79759 return
79760 }
79761 }
79762 }
79763
79764 function parse_stmt() {
79765 if(state[0].brace) {

Callers 1

writeFunction · 0.70

Calls 1

stativeFunction · 0.70

Tested by

no test coverage detected