MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / parse_keyword

Function parse_keyword

MathBox/mathbox-core.js:33316–33322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33314 }
33315
33316 function parse_keyword() {
33317 if(token.type !== 'keyword') {
33318 return unexpected('expected keyword, got '+token.data)
33319 }
33320
33321 return state.shift(), tokens.shift()
33322 }
33323
33324 function parse_ident() {
33325 if(token.type !== 'ident') {

Callers 1

writeFunction · 0.70

Calls 1

unexpectedFunction · 0.70

Tested by

no test coverage detected