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

Function parameter_or_not

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

Source from the content-addressed store, hash-verified

79853 }
79854
79855 function parameter_or_not() {
79856 if(is_parameter(token)) {
79857 if(!(stmt.flags & DECL_NO_INOUT)) {
79858 state.unshift(keyword())
79859 return Advance
79860 } else {
79861 return unexpected('parameter is not allowed here')
79862 }
79863 } else {
79864 state.fake(mknode(PLACEHOLDER, {data: '', position: token.position}))
79865 return Advance
79866 }
79867 }
79868
79869 function precision_or_not() {
79870 if(is_precision(token)) {

Callers

nothing calls this directly

Calls 4

is_parameterFunction · 0.70
keywordFunction · 0.70
unexpectedFunction · 0.70
mknodeFunction · 0.70

Tested by

no test coverage detected