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

Function state_gather

MathBox/mathbox-core.js:902–917  ·  view source on GitHub ↗
(quietly)

Source from the content-addressed store, hash-verified

900 }
901
902 function state_gather(quietly) {
903 if(/[^\d\w\-_]/.test(c) && !escaped) {
904 if(c === '\\') {
905 escaped = true
906 } else {
907 !quietly && stream.queue(token())
908 state = READY
909 --idx
910 }
911
912 return
913 }
914
915 escaped = false
916 gathered.push(c)
917 }
918
919 function token() {
920 var data = gathered.join('')

Callers 4

ondataFunction · 0.70
state_pseudoFunction · 0.70
state_attr_startFunction · 0.70
state_attr_endFunction · 0.70

Calls 1

tokenFunction · 0.70

Tested by

no test coverage detected