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

Function invariant_or_not

MathBox/mathbox-bundle.js:79827–79839  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79825 )()
79826
79827 function invariant_or_not() {
79828 if(token.data === 'invariant') {
79829 if(stmt.flags & DECL_ALLOW_INVARIANT) {
79830 state.unshift(keyword())
79831 return Advance
79832 } else {
79833 return unexpected('`invariant` is not allowed here')
79834 }
79835 } else {
79836 state.fake(mknode(PLACEHOLDER, {data: '', position: token.position}))
79837 return Advance
79838 }
79839 }
79840
79841 function storage_or_not() {
79842 if(is_storage(token)) {

Callers

nothing calls this directly

Calls 3

keywordFunction · 0.70
unexpectedFunction · 0.70
mknodeFunction · 0.70

Tested by

no test coverage detected