2021-12-20 16:45:52 +00:00
|
|
|
const PARSED = [
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "-> F<P>",
|
2021-12-20 16:45:52 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 1,
|
2024-09-24 19:33:09 +00:00
|
|
|
userQuery: "-> F<P>",
|
2021-12-20 16:45:52 +00:00
|
|
|
returned: [{
|
2024-09-24 19:33:09 +00:00
|
|
|
name: "F",
|
2022-03-20 14:03:17 +00:00
|
|
|
fullPath: ["f"],
|
2021-12-20 16:45:52 +00:00
|
|
|
pathWithoutLast: [],
|
2022-03-20 14:03:17 +00:00
|
|
|
pathLast: "f",
|
2021-12-20 16:45:52 +00:00
|
|
|
generics: [
|
|
|
|
{
|
2024-09-24 19:33:09 +00:00
|
|
|
name: "P",
|
2021-12-20 16:45:52 +00:00
|
|
|
fullPath: ["p"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "p",
|
|
|
|
generics: [],
|
|
|
|
},
|
|
|
|
],
|
2023-03-01 01:17:59 +00:00
|
|
|
typeFilter: -1,
|
2021-12-20 16:45:52 +00:00
|
|
|
}],
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "-> P",
|
2021-12-20 16:45:52 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 1,
|
2024-09-24 19:33:09 +00:00
|
|
|
userQuery: "-> P",
|
2021-12-20 16:45:52 +00:00
|
|
|
returned: [{
|
2024-09-24 19:33:09 +00:00
|
|
|
name: "P",
|
2021-12-20 16:45:52 +00:00
|
|
|
fullPath: ["p"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "p",
|
|
|
|
generics: [],
|
2023-03-01 01:17:59 +00:00
|
|
|
typeFilter: -1,
|
2021-12-20 16:45:52 +00:00
|
|
|
}],
|
|
|
|
error: null,
|
|
|
|
},
|
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: 1,
|
2024-09-24 19:33:09 +00:00
|
|
|
userQuery: "->,a",
|
2022-03-28 14:14:00 +00:00
|
|
|
returned: [{
|
|
|
|
name: "a",
|
|
|
|
fullPath: ["a"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "a",
|
|
|
|
generics: [],
|
2023-03-01 01:17:59 +00:00
|
|
|
typeFilter: -1,
|
2022-03-28 14:14:00 +00:00
|
|
|
}],
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "aaaaa->a",
|
2022-03-28 14:14:00 +00:00
|
|
|
elems: [{
|
|
|
|
name: "aaaaa",
|
|
|
|
fullPath: ["aaaaa"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "aaaaa",
|
|
|
|
generics: [],
|
2023-03-01 01:17:59 +00:00
|
|
|
typeFilter: -1,
|
2022-03-28 14:14:00 +00:00
|
|
|
}],
|
|
|
|
foundElems: 2,
|
2024-09-24 19:33:09 +00:00
|
|
|
userQuery: "aaaaa->a",
|
2022-03-28 14:14:00 +00:00
|
|
|
returned: [{
|
|
|
|
name: "a",
|
|
|
|
fullPath: ["a"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "a",
|
|
|
|
generics: [],
|
2023-03-01 01:17:59 +00:00
|
|
|
typeFilter: -1,
|
2022-03-28 14:14:00 +00:00
|
|
|
}],
|
|
|
|
error: null,
|
|
|
|
},
|
2022-04-26 11:58:43 +00:00
|
|
|
{
|
2023-06-09 14:49:38 +00:00
|
|
|
query: "-> !",
|
2022-04-26 11:58:43 +00:00
|
|
|
elems: [],
|
|
|
|
foundElems: 1,
|
2024-09-24 19:33:09 +00:00
|
|
|
userQuery: "-> !",
|
2022-04-26 11:58:43 +00:00
|
|
|
returned: [{
|
2023-06-12 21:56:54 +00:00
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
2022-04-26 11:58:43 +00:00
|
|
|
pathWithoutLast: [],
|
2023-06-12 21:56:54 +00:00
|
|
|
pathLast: "never",
|
2022-04-26 11:58:43 +00:00
|
|
|
generics: [],
|
2023-11-20 20:37:57 +00:00
|
|
|
typeFilter: 1,
|
2022-04-26 11:58:43 +00:00
|
|
|
}],
|
|
|
|
error: null,
|
|
|
|
},
|
2024-09-06 00:58:05 +00:00
|
|
|
{
|
|
|
|
query: "a->",
|
|
|
|
elems: [{
|
|
|
|
name: "a",
|
|
|
|
fullPath: ["a"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "a",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
userQuery: "a->",
|
2024-09-24 19:33:09 +00:00
|
|
|
returned: [],
|
2024-09-06 00:58:05 +00:00
|
|
|
hasReturnArrow: true,
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "!->",
|
|
|
|
elems: [{
|
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "never",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: 1,
|
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
userQuery: "!->",
|
2024-09-24 19:33:09 +00:00
|
|
|
returned: [],
|
2024-09-06 00:58:05 +00:00
|
|
|
hasReturnArrow: true,
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "! ->",
|
|
|
|
elems: [{
|
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "never",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: 1,
|
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
userQuery: "! ->",
|
2024-09-24 19:33:09 +00:00
|
|
|
returned: [],
|
2024-09-06 00:58:05 +00:00
|
|
|
hasReturnArrow: true,
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "primitive:!->",
|
|
|
|
elems: [{
|
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "never",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: 1,
|
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
userQuery: "primitive:!->",
|
2024-09-24 19:33:09 +00:00
|
|
|
returned: [],
|
2024-09-06 00:58:05 +00:00
|
|
|
hasReturnArrow: true,
|
|
|
|
error: null,
|
|
|
|
},
|
2021-12-20 16:45:52 +00:00
|
|
|
];
|