MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / parse_ident

Function parse_ident

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

Source from the content-addressed store, hash-verified

33322 }
33323
33324 function parse_ident() {
33325 if(token.type !== 'ident') {
33326 return unexpected('expected user-defined name, got '+token.data)
33327 }
33328
33329 state[0].data = token.data
33330 return state.shift(), tokens.shift()
33331 }
33332
33333
33334 function parse_expr() {

Callers 1

writeFunction · 0.70

Calls 1

unexpectedFunction · 0.70

Tested by

no test coverage detected