2022-04-26 06:58:43 -05:00
|
|
|
const PARSED = [
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "R<!>",
|
2022-04-26 06:58:43 -05:00
|
|
|
elems: [{
|
|
|
|
name: "r",
|
|
|
|
fullPath: ["r"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "r",
|
|
|
|
generics: [
|
|
|
|
{
|
2023-06-12 16:56:54 -05:00
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
2022-04-26 06:58:43 -05:00
|
|
|
pathWithoutLast: [],
|
2023-06-12 16:56:54 -05:00
|
|
|
pathLast: "never",
|
2022-04-26 06:58:43 -05:00
|
|
|
generics: [],
|
2023-11-20 14:37:57 -06:00
|
|
|
typeFilter: 1,
|
2022-04-26 06:58:43 -05:00
|
|
|
},
|
|
|
|
],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-04-26 06:58:43 -05:00
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "R<!>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "r<!>",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "!",
|
2022-04-26 06:58:43 -05:00
|
|
|
elems: [{
|
2023-06-12 16:56:54 -05:00
|
|
|
name: "never",
|
|
|
|
fullPath: ["never"],
|
2022-04-26 06:58:43 -05:00
|
|
|
pathWithoutLast: [],
|
2023-06-12 16:56:54 -05:00
|
|
|
pathLast: "never",
|
2022-04-26 06:58:43 -05:00
|
|
|
generics: [],
|
2023-11-20 14:37:57 -06:00
|
|
|
typeFilter: 1,
|
2022-04-26 06:58:43 -05:00
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "!",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "a!",
|
2022-04-26 06:58:43 -05:00
|
|
|
elems: [{
|
2023-02-16 16:32:38 -06:00
|
|
|
name: "a",
|
|
|
|
fullPath: ["a"],
|
2022-04-26 06:58:43 -05:00
|
|
|
pathWithoutLast: [],
|
2023-02-16 16:32:38 -06:00
|
|
|
pathLast: "a",
|
2022-04-26 06:58:43 -05:00
|
|
|
generics: [],
|
2023-11-20 14:37:57 -06:00
|
|
|
typeFilter: 16,
|
2022-04-26 06:58:43 -05:00
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "a!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "a!::b",
|
2023-02-16 16:32:38 -06:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-04-26 06:58:43 -05:00
|
|
|
original: "a!::b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!::b",
|
2023-02-16 16:32:38 -06:00
|
|
|
error: "Cannot have associated items in macros",
|
2022-04-26 06:58:43 -05:00
|
|
|
},
|
2023-06-12 16:56:54 -05:00
|
|
|
{
|
|
|
|
query: "!<T>",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "!<T>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "!<t>",
|
|
|
|
error: "Never type `!` does not accept generic parameters",
|
|
|
|
},
|
2022-04-26 06:58:43 -05:00
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "!::b",
|
2022-04-26 06:58:43 -05:00
|
|
|
elems: [{
|
2023-02-16 16:32:38 -06:00
|
|
|
name: "!::b",
|
2023-06-12 16:56:54 -05:00
|
|
|
fullPath: ["never", "b"],
|
|
|
|
pathWithoutLast: ["never"],
|
2023-02-16 16:32:38 -06:00
|
|
|
pathLast: "b",
|
2022-04-26 06:58:43 -05:00
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-04-26 06:58:43 -05:00
|
|
|
}],
|
|
|
|
foundElems: 1,
|
2023-02-16 16:32:38 -06:00
|
|
|
original: "!::b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "!::b",
|
|
|
|
error: null,
|
|
|
|
},
|
2023-06-12 16:56:54 -05:00
|
|
|
{
|
|
|
|
query: "b::!",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "b::!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "b::!",
|
|
|
|
error: "Never type `!` is not associated item",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "!::!",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "!::!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "!::!",
|
|
|
|
error: "Never type `!` is not associated item",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "b::!::c",
|
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
|
|
|
original: "b::!::c",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "b::!::c",
|
|
|
|
error: "Never type `!` is not associated item",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "!::b<T>",
|
|
|
|
elems: [{
|
|
|
|
name: "!::b",
|
|
|
|
fullPath: ["never", "b"],
|
|
|
|
pathWithoutLast: ["never"],
|
|
|
|
pathLast: "b",
|
|
|
|
generics: [
|
|
|
|
{
|
|
|
|
name: "t",
|
|
|
|
fullPath: ["t"],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: "t",
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
}
|
|
|
|
],
|
|
|
|
typeFilter: -1,
|
|
|
|
}],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "!::b<T>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "!::b<t>",
|
|
|
|
error: null,
|
|
|
|
},
|
2023-02-16 16:32:38 -06:00
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: "a!::b!",
|
2023-02-16 16:32:38 -06:00
|
|
|
elems: [],
|
|
|
|
foundElems: 0,
|
2022-04-26 06:58:43 -05:00
|
|
|
original: "a!::b!",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a!::b!",
|
2023-02-16 16:32:38 -06:00
|
|
|
error: "Cannot have associated items in macros",
|
2022-04-26 06:58:43 -05:00
|
|
|
},
|
|
|
|
];
|