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