os-rust/src/test/rustdoc-js-std/parser-returned.js

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

43 lines
938 B
JavaScript
Raw Normal View History

const QUERY = ['-> F<P>', '-> P'];
2021-12-20 17:45:52 +01:00
const PARSED = [
{
elems: [],
foundElems: 1,
original: "-> F<P>",
2021-12-20 17:45:52 +01:00
returned: [{
name: "f",
fullPath: ["f"],
2021-12-20 17:45:52 +01:00
pathWithoutLast: [],
pathLast: "f",
2021-12-20 17:45:52 +01:00
generics: [
{
name: "p",
fullPath: ["p"],
pathWithoutLast: [],
pathLast: "p",
generics: [],
},
],
}],
typeFilter: -1,
userQuery: "-> f<p>",
2021-12-20 17:45:52 +01:00
error: null,
},
{
elems: [],
foundElems: 1,
original: "-> P",
returned: [{
name: "p",
fullPath: ["p"],
pathWithoutLast: [],
pathLast: "p",
generics: [],
}],
typeFilter: -1,
2022-01-03 16:43:30 +01:00
userQuery: "-> p",
2021-12-20 17:45:52 +01:00
error: null,
},
];