import { getMessages } from '../messages/index.js';
const { log, logCore, ParserExtraMensagens } = getMessages();
let currentParsingArquivo;
export function setCurrentParsingFile(file) {
    currentParsingArquivo = file;
}
export function getCurrentParsingFile() {
    return currentParsingArquivo || 'desconhecido';
}
export function wrapMinimal(lang, rawAst) {
    return {
        type: 'File',
        program: {
            type: 'Program',
            body: [],
            sourceType: 'script',
            directives: []
        },
        comments: [],
        tokens: [],
        tutanusExtra: {
            lang,
            rawAst
        }
    };
}
export { log, logCore, ParserExtraMensagens };
//# sourceMappingURL=utils.js.map