@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
12 lines • 532 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.bitloopsIdentifierError = void 0;
const index_js_1 = require("./index.js");
const bitloopsIdentifierError = (node, thisSymbolTable) => {
const errors = [];
if (!thisSymbolTable.has(node.getIdentifierName()))
errors.push(new index_js_1.identifierValidationError(node.getIdentifierName(), node));
return errors;
};
exports.bitloopsIdentifierError = bitloopsIdentifierError;
//# sourceMappingURL=bitloopsIdentifierValidator.js.map