examples/grammars/tinyc/tinyc.js
function createToken(options) {
    const newToken = chevrotain.createToken(options)
    allTokens.push(newToken)
    return newToken
}
function createToken(options) {
    const newToken = chevrotain.createToken(options)
    allTokens.push(newToken)
    return newToken
}
function createToken ( options ) { const newToken = chevrotain . createToken ( options ) allTokens . push ( newToken ) return newToken }
Utility to avoid manually building the allTokens array
Utility to avoid manually building the allTokens array