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