UNPKG

@bitloops/bl-transpiler

Version:
9 lines 448 B
import { identifierValidationError } from './validationErrors.js'; // TODO: check why is this not matching with bitloopsIdentifierValidator export const domainRuleIdentifierError = (node, thisSymbolTable) => { const errors = []; if (!thisSymbolTable.has(node.getIdentifierName())) errors.push(new identifierValidationError(node.getIdentifierName(), node)); return errors; }; //# sourceMappingURL=domainRuleIdentifierError.js.map