const QUERY = ['A, E>', 'p<> u8', '"p"']; const PARSED = [ { elems: [], foundElems: 0, original: 'A, E>', returned: [], userQuery: 'a, e>', error: 'Unexpected `<` after `<`', }, { elems: [ { name: "p", fullPath: ["p"], pathWithoutLast: [], pathLast: "p", generics: [], typeFilter: -1, }, { name: "u8", fullPath: ["u8"], pathWithoutLast: [], pathLast: "u8", generics: [], typeFilter: -1, }, ], foundElems: 2, original: "p<> u8", returned: [], userQuery: "p<> u8", error: null, }, { elems: [ { name: "p", fullPath: ["p"], pathWithoutLast: [], pathLast: "p", generics: [ { name: "a", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], }, ], typeFilter: -1, }, ], foundElems: 1, original: '"p"', returned: [], userQuery: '"p"', error: null, }, ];