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

Function advance_ident

MathBox/mathbox-core.js:33485–33497  ·  view source on GitHub ↗
(declare)

Source from the content-addressed store, hash-verified

33483 }
33484
33485 function advance_ident(declare) {
33486 return declare ? function() {
33487 var name = token.data
33488 return assert('ident') && (state.unshift(ident()), state.scope.define(name), Advance)
33489 } : function() {
33490 if(!assert('ident')) return
33491
33492 var s = Object.create(state.scope.find(token.data))
33493 s.token = token
33494
33495 return (tokens.shift(), Advance)
33496 }
33497 }
33498
33499 function advance_stmtlist() {
33500 return function() {

Callers 1

setup_stative_parsersFunction · 0.70

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected