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