28 lines
596 B
JavaScript
28 lines
596 B
JavaScript
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,
|
|
}
|
|
];
|