Add parser tests

This commit is contained in:
Guillaume Gomez
2021-12-20 17:45:52 +01:00
parent 7cefee027a
commit f5833e759e
10 changed files with 643 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
const QUERY = ['"R"<P>'];
const PARSED = [
{
args: [],
elemName: null,
elems: [{
name: "r",
fullPath: ["r"],
pathWithoutLast: [],
pathLast: "r",
generics: [
{
name: "p",
fullPath: ["p"],
pathWithoutLast: [],
pathLast: "p",
generics: [],
},
],
}],
foundElems: 1,
id: "\"R\"<P>",
nameSplit: null,
original: "\"R\"<P>",
returned: [],
typeFilter: -1,
val: "\"r\"<p>",
error: null,
}
];