const PARSED = [ { query: 'A', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", normalizedPathLast: "a", generics: [], bindings: [ [ 'b', [ { name: "C", fullPath: ["c"], pathWithoutLast: [], pathLast: "c", normalizedPathLast: "c", generics: [], typeFilter: -1, }, ] ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A', returned: [], error: null, }, { query: 'A', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], bindings: [ [ 'b', [{ name: "C", fullPath: ["c"], pathWithoutLast: [], pathLast: "c", generics: [], typeFilter: -1, }] ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A', returned: [], error: null, }, { query: 'A', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], bindings: [ [ 'b', [{ name: "never", fullPath: ["never"], pathWithoutLast: [], pathLast: "never", generics: [], typeFilter: 1, }] ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A', returned: [], error: null, }, { query: 'A', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], bindings: [ [ 'b', [{ name: "[]", fullPath: ["[]"], pathWithoutLast: [], pathLast: "[]", generics: [], typeFilter: 1, }] ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A', returned: [], error: null, }, { query: 'A', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], bindings: [ [ 'b', [{ name: "[]", fullPath: ["[]"], pathWithoutLast: [], pathLast: "[]", generics: [ { name: "never", fullPath: ["never"], pathWithoutLast: [], pathLast: "never", generics: [], typeFilter: 1, }, ], typeFilter: 1, }] ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A', returned: [], error: null, }, { query: 'A', elems: [], foundElems: 0, userQuery: 'A', returned: [], error: "Cannot write `=` twice in a binding", }, { query: 'A', elems: [], foundElems: 0, userQuery: 'A', returned: [], error: "Unexpected `>` after `=`", }, { query: 'B=C', elems: [], foundElems: 0, userQuery: 'B=C', returned: [], error: "Type parameter `=` must be within generics list", }, { query: '[B=C]', elems: [], foundElems: 0, userQuery: '[B=C]', returned: [], error: "Type parameter `=` cannot be within slice `[]`", }, { query: 'A=C>', elems: [ { name: "A", fullPath: ["a"], pathWithoutLast: [], pathLast: "a", generics: [], bindings: [ [ 'b', [ { name: "C", fullPath: ["c"], pathWithoutLast: [], pathLast: "c", generics: [], typeFilter: -1, }, { name: "X", fullPath: ["x"], pathWithoutLast: [], pathLast: "x", generics: [], typeFilter: -1, }, ], ], ], typeFilter: -1, }, ], foundElems: 1, userQuery: 'A=C>', returned: [], error: null, }, ];