rust/tests/rustdoc-js-std/parser-returned.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

98 lines
2.2 KiB
JavaScript
Raw Normal View History

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,
original: "-> F<P>",
2021-12-20 16:45:52 +00:00
returned: [{
name: "f",
fullPath: ["f"],
2021-12-20 16:45:52 +00:00
pathWithoutLast: [],
pathLast: "f",
2021-12-20 16:45:52 +00:00
generics: [
{
name: "p",
fullPath: ["p"],
pathWithoutLast: [],
pathLast: "p",
generics: [],
},
],
typeFilter: -1,
2021-12-20 16:45:52 +00:00
}],
userQuery: "-> f<p>",
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,
original: "-> P",
returned: [{
name: "p",
fullPath: ["p"],
pathWithoutLast: [],
pathLast: "p",
generics: [],
typeFilter: -1,
2021-12-20 16:45:52 +00:00
}],
2022-01-03 15:43:30 +00:00
userQuery: "-> p",
2021-12-20 16:45:52 +00:00
error: null,
},
{
2023-06-09 14:49:38 +00:00
query: "->,a",
elems: [],
foundElems: 1,
original: "->,a",
returned: [{
name: "a",
fullPath: ["a"],
pathWithoutLast: [],
pathLast: "a",
generics: [],
typeFilter: -1,
}],
userQuery: "->,a",
error: null,
},
{
2023-06-09 14:49:38 +00:00
query: "aaaaa->a",
elems: [{
name: "aaaaa",
fullPath: ["aaaaa"],
pathWithoutLast: [],
pathLast: "aaaaa",
generics: [],
typeFilter: -1,
}],
foundElems: 2,
original: "aaaaa->a",
returned: [{
name: "a",
fullPath: ["a"],
pathWithoutLast: [],
pathLast: "a",
generics: [],
typeFilter: -1,
}],
userQuery: "aaaaa->a",
error: null,
},
{
2023-06-09 14:49:38 +00:00
query: "-> !",
elems: [],
foundElems: 1,
original: "-> !",
returned: [{
name: "never",
fullPath: ["never"],
pathWithoutLast: [],
pathLast: "never",
generics: [],
typeFilter: 15,
}],
userQuery: "-> !",
error: null,
},
2021-12-20 16:45:52 +00:00
];