function TokenTranslator(acornTokTypes, code) {

    // token types
    this._acornTokTypes = acornTokTypes;

    // token buffer for templates
    this._tokens = [];

    // track the last curly brace
    this._curlyBrace = null;

    // the source code
    this._code = code;

}
Contains logic to translate Acorn tokens into Esprima tokens.
@param {Object} acornTokTypes The Acorn token types.
@param {string} code The source code Acorn is parsing. This is necessary
     to correct the "value" property of some tokens.
@constructor