@judo/idem
Version:
A powerful and expressive query language designed for filtering and manipulating data
12 lines (11 loc) • 368 B
TypeScript
/**
* This file extends the generated IdemParser with custom methods for semantic predicates.
* Using declaration merging, we add the `isIterator` method to the IdemParser class prototype.
* This keeps the grammar file (.g4) target-agnostic.
*/
declare module './generated/IdemParser' {
interface IdemParser {
isIterator(): boolean;
}
}
export {};