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