MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / unexpected

Function unexpected

MathBox/mathbox-core.js:33414–33420  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

33412 // utils ----------------------------
33413
33414 function unexpected(str) {
33415 errored = true
33416 stream.emit('error', new Error(
33417 (str || 'unexpected '+state) +
33418 ' at line '+state[0].token.line
33419 ))
33420 }
33421
33422 function assert(type, data) {
33423 return 1,

Callers 15

endFunction · 0.70
parse_stmtFunction · 0.70
invariant_or_notFunction · 0.70
storage_or_notFunction · 0.70
parameter_or_notFunction · 0.70
struct_or_typeFunction · 0.70
maybe_nameFunction · 0.70
parse_decllistFunction · 0.70
parse_keyword_or_identFunction · 0.70
parse_keywordFunction · 0.70
parse_identFunction · 0.70
parse_exprFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected