@bitloops/bl-transpiler
Version:
The one and only Bitloops Language transpiler
8 lines • 373 B
JavaScript
import { identifierValidationError } from './validationErrors.js';
export const readModelIdentifierError = (node, thisSymbolTable) => {
const errors = [];
if (!thisSymbolTable.has(node.getIdentifierName()))
errors.push(new identifierValidationError(node.getIdentifierName(), node));
return errors;
};
//# sourceMappingURL=readModelIdentifierError.js.map