MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / precision_or_not

Function precision_or_not

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

Source from the content-addressed store, hash-verified

33182 }
33183
33184 function precision_or_not() {
33185 if(is_precision(token)) {
33186 state.unshift(keyword())
33187 return Advance
33188 } else {
33189 state.fake(mknode(PLACEHOLDER, {data: '', position: token.position}))
33190 return Advance
33191 }
33192 }
33193
33194 function struct_or_type() {
33195 if(token.data === 'struct') {

Callers

nothing calls this directly

Calls 3

is_precisionFunction · 0.70
keywordFunction · 0.70
mknodeFunction · 0.70

Tested by

no test coverage detected