2022-03-30 04:32:03 -05:00
|
|
|
// ignore-tidy-tab
|
|
|
|
|
|
|
|
const PARSED = [
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'aaaaaa b',
|
2023-06-12 09:05:00 -05:00
|
|
|
elems: [
|
|
|
|
{
|
2023-11-29 11:54:49 -06:00
|
|
|
name: 'aaaaaa b',
|
2023-06-12 09:05:00 -05:00
|
|
|
fullPath: ['aaaaaa', 'b'],
|
|
|
|
pathWithoutLast: ['aaaaaa'],
|
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
|
|
|
typeFilter: -1,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 1,
|
2023-11-29 11:54:49 -06:00
|
|
|
original: "aaaaaa b",
|
2023-06-12 09:05:00 -05:00
|
|
|
returned: [],
|
2023-11-29 11:54:49 -06:00
|
|
|
userQuery: "aaaaaa b",
|
2023-06-12 09:05:00 -05:00
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
query: "aaaaaa, b",
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: 'aaaaaa',
|
|
|
|
fullPath: ['aaaaaa'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'aaaaaa',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'b',
|
|
|
|
fullPath: ['b'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 2,
|
2023-11-29 11:54:49 -06:00
|
|
|
original: "aaaaaa, b",
|
2022-03-30 04:32:03 -05:00
|
|
|
returned: [],
|
2023-11-29 11:54:49 -06:00
|
|
|
userQuery: "aaaaaa, b",
|
2022-03-30 04:32:03 -05:00
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a b',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
2023-06-12 09:05:00 -05:00
|
|
|
name: 'a b',
|
|
|
|
fullPath: ['a', 'b'],
|
|
|
|
pathWithoutLast: ['a'],
|
2022-03-30 04:32:03 -05:00
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
2023-06-12 09:05:00 -05:00
|
|
|
foundElems: 1,
|
2022-03-30 04:32:03 -05:00
|
|
|
original: "a b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a b",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a,b',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: 'a',
|
|
|
|
fullPath: ['a'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'a',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'b',
|
|
|
|
fullPath: ['b'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 2,
|
|
|
|
original: "a,b",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a,b",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a\tb',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
2023-11-29 11:54:49 -06:00
|
|
|
name: 'a b',
|
2023-06-12 09:05:00 -05:00
|
|
|
fullPath: ['a', 'b'],
|
|
|
|
pathWithoutLast: ['a'],
|
2022-03-30 04:32:03 -05:00
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
2023-06-12 09:05:00 -05:00
|
|
|
foundElems: 1,
|
2023-11-29 11:54:49 -06:00
|
|
|
original: "a b",
|
2022-03-30 04:32:03 -05:00
|
|
|
returned: [],
|
2023-11-29 11:54:49 -06:00
|
|
|
userQuery: "a b",
|
2022-03-30 04:32:03 -05:00
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a<b c>',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: 'a',
|
|
|
|
fullPath: ['a'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'a',
|
|
|
|
generics: [
|
|
|
|
{
|
2023-06-12 09:05:00 -05:00
|
|
|
name: 'b c',
|
|
|
|
fullPath: ['b', 'c'],
|
|
|
|
pathWithoutLast: ['b'],
|
2022-03-30 04:32:03 -05:00
|
|
|
pathLast: 'c',
|
|
|
|
generics: [],
|
|
|
|
},
|
|
|
|
],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "a<b c>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<b c>",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a<b,c>',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: 'a',
|
|
|
|
fullPath: ['a'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'a',
|
|
|
|
generics: [
|
|
|
|
{
|
|
|
|
name: 'b',
|
|
|
|
fullPath: ['b'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'b',
|
|
|
|
generics: [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'c',
|
|
|
|
fullPath: ['c'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'c',
|
|
|
|
generics: [],
|
|
|
|
},
|
|
|
|
],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 1,
|
|
|
|
original: "a<b,c>",
|
|
|
|
returned: [],
|
|
|
|
userQuery: "a<b,c>",
|
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
{
|
2023-06-09 09:49:38 -05:00
|
|
|
query: 'a<b\tc>',
|
2022-03-30 04:32:03 -05:00
|
|
|
elems: [
|
|
|
|
{
|
|
|
|
name: 'a',
|
|
|
|
fullPath: ['a'],
|
|
|
|
pathWithoutLast: [],
|
|
|
|
pathLast: 'a',
|
|
|
|
generics: [
|
|
|
|
{
|
2023-11-29 11:54:49 -06:00
|
|
|
name: 'b c',
|
2023-06-12 09:05:00 -05:00
|
|
|
fullPath: ['b', 'c'],
|
|
|
|
pathWithoutLast: ['b'],
|
2022-03-30 04:32:03 -05:00
|
|
|
pathLast: 'c',
|
|
|
|
generics: [],
|
|
|
|
},
|
|
|
|
],
|
2023-02-28 19:17:59 -06:00
|
|
|
typeFilter: -1,
|
2022-03-30 04:32:03 -05:00
|
|
|
},
|
|
|
|
],
|
|
|
|
foundElems: 1,
|
2023-11-29 11:54:49 -06:00
|
|
|
original: "a<b c>",
|
2022-03-30 04:32:03 -05:00
|
|
|
returned: [],
|
2023-11-29 11:54:49 -06:00
|
|
|
userQuery: "a<b c>",
|
2022-03-30 04:32:03 -05:00
|
|
|
error: null,
|
|
|
|
},
|
|
|
|
];
|