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

Function parameter_or_not

MathBox/mathbox-core.js:33170–33182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33168 }
33169
33170 function parameter_or_not() {
33171 if(is_parameter(token)) {
33172 if(!(stmt.flags & DECL_NO_INOUT)) {
33173 state.unshift(keyword())
33174 return Advance
33175 } else {
33176 return unexpected('parameter is not allowed here')
33177 }
33178 } else {
33179 state.fake(mknode(PLACEHOLDER, {data: '', position: token.position}))
33180 return Advance
33181 }
33182 }
33183
33184 function precision_or_not() {
33185 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