summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/parser-literal.js
blob: 3a31d1bddfff5e3cc8ca2d056408b91ba93a6735 (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: [],
                },
            ],
            typeFilter: -1,
        }],
        foundElems: 1,
        original: "R<P>",
        returned: [],
        userQuery: "r<p>",
        error: null,
    }
];