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

Function storage_or_not

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

Source from the content-addressed store, hash-verified

79839 }
79840
79841 function storage_or_not() {
79842 if(is_storage(token)) {
79843 if(stmt.flags & DECL_ALLOW_STORAGE) {
79844 state.unshift(keyword())
79845 return Advance
79846 } else {
79847 return unexpected('storage is not allowed here')
79848 }
79849 } else {
79850 state.fake(mknode(PLACEHOLDER, {data: '', position: token.position}))
79851 return Advance
79852 }
79853 }
79854
79855 function parameter_or_not() {
79856 if(is_parameter(token)) {

Callers

nothing calls this directly

Calls 4

is_storageFunction · 0.70
keywordFunction · 0.70
unexpectedFunction · 0.70
mknodeFunction · 0.70

Tested by

no test coverage detected