summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-js-std/parser-literal.js
blob: 87b3baff1e2a4bcdedf0ddfab5d82f44bdfac641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const QUERY = ['R<P>'];

const PARSED = [
    {
        elems: [{
            name: "r",
            fullPath: ["r"],
            pathWithoutLast: [],
            pathLast: "r",
            generics: [
                {
                    name: "p",
                    fullPath: ["p"],
                    pathWithoutLast: [],
                    pathLast: "p",
                    generics: [],
                },
            ],
        }],
        foundElems: 1,
        original: "R<P>",
        returned: [],
        typeFilter: -1,
        userQuery: "r<p>",
        error: null,
    }
];