UNPKG

@bitloops/bl-transpiler

Version:
13 lines 644 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.domainRuleIdentifierError = void 0; const validationErrors_js_1 = require("./validationErrors.js"); // TODO: check why is this not matching with bitloopsIdentifierValidator const domainRuleIdentifierError = (node, thisSymbolTable) => { const errors = []; if (!thisSymbolTable.has(node.getIdentifierName())) errors.push(new validationErrors_js_1.identifierValidationError(node.getIdentifierName(), node)); return errors; }; exports.domainRuleIdentifierError = domainRuleIdentifierError; //# sourceMappingURL=domainRuleIdentifierError.js.map