UNPKG

@bitloops/bl-transpiler

Version:
12 lines 513 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.errorIdentifierError = void 0; const index_js_1 = require("./index.js"); const errorIdentifierError = (node, thisSymbolTable) => { const errors = []; if (!thisSymbolTable.has(node.getIdentifierName())) errors.push(new index_js_1.identifierValidationError(node.getIdentifierName(), node)); return errors; }; exports.errorIdentifierError = errorIdentifierError; //# sourceMappingURL=errorIdentifierError.js.map