2021-12-20 16:45:52 +00:00
|
|
|
const PARSED = [
|
2022-03-20 14:03:17 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '<P>',
|
2022-03-20 14:03:17 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "<P>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "<p>",
|
|
|
|
error: "Found generics without a path",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '-> <P>',
|
2022-03-20 14:03:17 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "-> <P>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "-> <p>",
|
|
|
|
error: "Found generics without a path",
|
|
|
|
},
|
2021-12-20 16:45:52 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: 'a<"P">',
|
2021-12-20 16:45:52 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-03-28 14:14:00 +00:00
|
|
|
original: "a<\"P\">",
|
2021-12-20 16:45:52 +00:00
|
|
|
returned: [],
|
2022-03-28 14:14:00 +00:00
|
|
|
userQuery: "a<\"p\">",
|
2023-02-28 21:54:09 +00:00
|
|
|
error: "Unexpected `\"` in generics",
|
2021-12-20 16:45:52 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '"P" "P"',
|
2021-12-20 16:45:52 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "\"P\" \"P\"",
|
|
|
|
returned: [],
|
2022-01-03 15:43:30 +00:00
|
|
|
userQuery: "\"p\" \"p\"",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Cannot have more than one element if you use quotes",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: '"P","P"',
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "\"P\",\"P\"",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "\"p\",\"p\"",
|
2021-12-20 16:45:52 +00:00
|
|
|
error: "Cannot have more than one literal search element",
|
|
|
|
},
|
|
|
|
{
|
2023-06-12 14:05:00 +00:00
|
|
|
query: "P,\"P\"",
|
2021-12-20 16:45:52 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2023-06-12 14:05:00 +00:00
|
|
|
original: "P,\"P\"",
|
2021-12-20 16:45:52 +00:00
|
|
|
returned: [],
|
2023-06-12 14:05:00 +00:00
|
|
|
userQuery: "p,\"p\"",
|
2021-12-20 16:45:52 +00:00
|
|
|
error: "Cannot use literal search when there is more than one element",
|
|
|
|
},
|
2022-01-03 22:51:20 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '"p" p',
|
2022-01-03 22:51:20 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "\"p\" p",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "\"p\" p",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Cannot have more than one element if you use quotes",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: '"p",p',
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "\"p\",p",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "\"p\",p",
|
|
|
|
error: "Cannot have more than one element if you use quotes",
|
2022-01-03 22:51:20 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '"const": p',
|
2022-01-03 22:51:20 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "\"const\": p",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "\"const\": p",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Cannot use quotes on type filter",
|
2022-01-03 22:51:20 +00:00
|
|
|
},
|
2022-01-09 14:12:46 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<:a>",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-03-28 14:14:00 +00:00
|
|
|
original: "a<:a>",
|
2022-01-09 14:12:46 +00:00
|
|
|
returned: [],
|
2022-03-28 14:14:00 +00:00
|
|
|
userQuery: "a<:a>",
|
2023-03-01 01:17:59 +00:00
|
|
|
error: "Expected type filter before `:`",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<::a>",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-03-28 14:14:00 +00:00
|
|
|
original: "a<::a>",
|
2022-01-09 14:12:46 +00:00
|
|
|
returned: [],
|
2022-03-28 14:14:00 +00:00
|
|
|
userQuery: "a<::a>",
|
2022-01-09 14:12:46 +00:00
|
|
|
error: "Unexpected `::`: paths cannot start with `::`",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "((a))",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "((a))",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "((a))",
|
2022-02-09 19:56:37 +00:00
|
|
|
error: "Unexpected `(`",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "(p -> p",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "(p -> p",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "(p -> p",
|
2022-02-09 19:56:37 +00:00
|
|
|
error: "Unexpected `(`",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "::a::b",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "::a::b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "::a::b",
|
|
|
|
error: "Paths cannot start with `::`",
|
|
|
|
},
|
2023-06-12 14:05:00 +00:00
|
|
|
{
|
|
|
|
query: " ::a::b",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "::a::b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "::a::b",
|
|
|
|
error: "Paths cannot start with `::`",
|
|
|
|
},
|
2022-01-09 14:12:46 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a::::b",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a::::b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a::::b",
|
|
|
|
error: "Unexpected `::::`",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a::b::",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a::b::",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a::b::",
|
|
|
|
error: "Paths cannot end with `::`",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: ":a",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: ":a",
|
|
|
|
returned: [],
|
|
|
|
userQuery: ":a",
|
|
|
|
error: "Expected type filter before `:`",
|
|
|
|
},
|
|
|
|
{
|
2023-06-12 14:05:00 +00:00
|
|
|
query: "a,b:",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2023-06-12 14:05:00 +00:00
|
|
|
original: "a,b:",
|
2022-01-09 14:12:46 +00:00
|
|
|
returned: [],
|
2023-06-12 14:05:00 +00:00
|
|
|
userQuery: "a,b:",
|
|
|
|
error: "Unexpected `:` (expected path after type filter `b:`)",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a (b:",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a (b:",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a (b:",
|
2022-02-09 19:56:37 +00:00
|
|
|
error: "Unexpected `(`",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "_:",
|
2022-01-09 14:12:46 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-03-23 16:26:32 +00:00
|
|
|
original: "_:",
|
2022-01-09 14:12:46 +00:00
|
|
|
returned: [],
|
2022-03-23 16:26:32 +00:00
|
|
|
userQuery: "_:",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Unexpected `:` (expected path after type filter `_:`)",
|
2023-03-01 01:17:59 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "_:a",
|
2023-03-01 01:17:59 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "_:a",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "_:a",
|
2022-03-23 16:26:32 +00:00
|
|
|
error: "Unknown type filter `_`",
|
2022-01-09 14:12:46 +00:00
|
|
|
},
|
2022-03-20 14:03:17 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a-bb",
|
2022-03-20 14:03:17 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a-bb",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a-bb",
|
|
|
|
error: "Unexpected `-` (did you mean `->`?)",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a>bb",
|
2022-03-20 14:03:17 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a>bb",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a>bb",
|
|
|
|
error: "Unexpected `>` (did you mean `->`?)",
|
|
|
|
},
|
2022-03-23 16:26:32 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "ab'",
|
2022-03-23 16:26:32 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "ab'",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "ab'",
|
|
|
|
error: "Unexpected `'`",
|
|
|
|
},
|
2022-03-28 13:08:47 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a->",
|
2022-03-28 13:08:47 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a->",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a->",
|
|
|
|
error: "Expected at least one item after `->`",
|
|
|
|
},
|
2022-03-28 14:14:00 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '"p" <a>',
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: '"p" <a>',
|
|
|
|
returned: [],
|
|
|
|
userQuery: '"p" <a>',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Cannot have more than one element if you use quotes",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: '"p",<a>',
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: '"p",<a>',
|
|
|
|
returned: [],
|
|
|
|
userQuery: '"p",<a>',
|
2022-03-28 14:14:00 +00:00
|
|
|
error: "Found generics without a path",
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: '"p" a<a>',
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: '"p" a<a>',
|
|
|
|
returned: [],
|
|
|
|
userQuery: '"p" a<a>',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: "Cannot have more than one element if you use quotes",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: '"p",a<a>',
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: '"p",a<a>',
|
|
|
|
returned: [],
|
|
|
|
userQuery: '"p",a<a>',
|
|
|
|
error: "Cannot have more than one element if you use quotes",
|
2022-03-28 14:14:00 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a,<",
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'a,<',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'a,<',
|
|
|
|
error: 'Found generics without a path',
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "aaaaa<>b",
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'aaaaa<>b',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'aaaaa<>b',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Expected `,`, `:` or `->` after `>`, found `b`',
|
2022-03-28 14:14:00 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "fn:aaaaa<>b",
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'fn:aaaaa<>b',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'fn:aaaaa<>b',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Expected `,`, `:` or `->` after `>`, found `b`',
|
2022-03-28 14:14:00 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "->a<>b",
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: '->a<>b',
|
|
|
|
returned: [],
|
|
|
|
userQuery: '->a<>b',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Expected `,` after `>`, found `b`',
|
2022-03-28 14:14:00 +00:00
|
|
|
},
|
2022-03-30 09:32:03 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<->",
|
2022-03-30 09:32:03 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'a<->',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'a<->',
|
|
|
|
error: 'Unexpected `-` after `<`',
|
|
|
|
},
|
2022-04-08 12:35:45 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a:: a",
|
2022-04-08 12:35:45 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'a:: a',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'a:: a',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected `:: `',
|
2022-04-08 12:35:45 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a ::a",
|
2022-04-08 12:35:45 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: 'a ::a',
|
|
|
|
returned: [],
|
|
|
|
userQuery: 'a ::a',
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected ` ::`',
|
2022-04-08 12:35:45 +00:00
|
|
|
},
|
2022-04-17 10:05:31 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<a>:",
|
2022-04-17 10:05:31 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a<a>:",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<a>:",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected `<` in type filter (before `:`)',
|
2022-04-17 10:05:31 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<>:",
|
2022-04-17 10:05:31 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a<>:",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<>:",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected `<` in type filter (before `:`)',
|
2022-04-17 10:05:31 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a,:",
|
2022-04-17 10:05:31 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a,:",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a,:",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected `,` in type filter (before `:`)',
|
2022-04-17 10:05:31 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: " a<> :",
|
2022-04-17 10:05:31 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a<> :",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<> :",
|
2023-06-13 12:01:01 +00:00
|
|
|
error: 'Unexpected `<` in type filter (before `:`)',
|
2022-04-17 10:05:31 +00:00
|
|
|
},
|
2022-04-18 21:11:42 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "mod : :",
|
2022-04-18 21:11:42 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "mod : :",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "mod : :",
|
2023-06-12 14:05:00 +00:00
|
|
|
error: 'Unexpected `:` (expected path after type filter `mod:`)',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "mod: :",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "mod: :",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "mod: :",
|
|
|
|
error: 'Unexpected `:` (expected path after type filter `mod:`)',
|
2022-04-18 21:11:42 +00:00
|
|
|
},
|
2022-04-26 11:58:43 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a!a",
|
2022-04-26 11:58:43 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a!a",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!a",
|
2023-02-28 21:54:09 +00:00
|
|
|
error: 'Unexpected `!`: it can only be at the end of an ident',
|
2022-04-26 11:58:43 +00:00
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a!!",
|
2022-04-26 11:58:43 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a!!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!!",
|
|
|
|
error: 'Cannot have more than one `!` in an ident',
|
|
|
|
},
|
2023-02-16 22:32:38 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "mod:a!",
|
2023-02-16 22:32:38 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "mod:a!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "mod:a!",
|
|
|
|
error: 'Invalid search type: macro `!` and `mod` both specified',
|
|
|
|
},
|
2023-06-12 21:56:54 +00:00
|
|
|
{
|
|
|
|
query: "mod:!",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "mod:!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "mod:!",
|
|
|
|
error: 'Invalid search type: primitive never type `!` and `mod` both specified',
|
|
|
|
},
|
2023-02-16 22:32:38 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a!::a",
|
2023-02-16 22:32:38 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a!::a",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!::a",
|
|
|
|
error: 'Cannot have associated items in macros',
|
|
|
|
},
|
2023-03-02 13:28:15 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "a<",
|
2023-03-02 13:28:15 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "a<",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<",
|
|
|
|
error: "Unclosed `<`",
|
|
|
|
},
|
2023-06-13 12:01:01 +00:00
|
|
|
{
|
|
|
|
query: "p<x> , y",
|
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: "p",
|
|
|
|
fullPath: ["p"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "p",
|
|
|
|
generics: [
|
|
|
|
{
|
|
|
|
name: "x",
|
|
|
|
fullPath: ["x"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "x",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "y",
|
|
|
|
fullPath: ["y"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "y",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 2,
|
|
|
|
original: "p<x> , y",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "p<x> , y",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "p<x , y>",
|
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: "p",
|
|
|
|
fullPath: ["p"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "p",
|
|
|
|
generics: [
|
|
|
|
{
|
|
|
|
name: "x",
|
|
|
|
fullPath: ["x"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "x",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "y",
|
|
|
|
fullPath: ["y"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "y",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "p<x , y>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "p<x , y>",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "p ,x , y",
|
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: "p",
|
|
|
|
fullPath: ["p"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "p",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "x",
|
|
|
|
fullPath: ["x"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "x",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "y",
|
|
|
|
fullPath: ["y"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "y",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 3,
|
|
|
|
original: "p ,x , y",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "p ,x , y",
|
|
|
|
error: null,
|
|
|
|
},
|
2021-12-20 16:45:52 +00:00
|
|
|
];
|