mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
208 lines
5.2 KiB
JavaScript
208 lines
5.2 KiB
JavaScript
// ignore-tidy-tab
|
|
|
|
const PARSED = [
|
|
{
|
|
query: 'aaaaaa b',
|
|
elems: [
|
|
{
|
|
name: 'aaaaaa',
|
|
fullPath: ['aaaaaa'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'aaaaaa',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
{
|
|
name: 'b',
|
|
fullPath: ['b'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'b',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 2,
|
|
original: "aaaaaa b",
|
|
returned: [],
|
|
userQuery: "aaaaaa b",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a b',
|
|
elems: [
|
|
{
|
|
name: 'a',
|
|
fullPath: ['a'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'a',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
{
|
|
name: 'b',
|
|
fullPath: ['b'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'b',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 2,
|
|
original: "a b",
|
|
returned: [],
|
|
userQuery: "a b",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a,b',
|
|
elems: [
|
|
{
|
|
name: 'a',
|
|
fullPath: ['a'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'a',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
{
|
|
name: 'b',
|
|
fullPath: ['b'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'b',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 2,
|
|
original: "a,b",
|
|
returned: [],
|
|
userQuery: "a,b",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a\tb',
|
|
elems: [
|
|
{
|
|
name: 'a',
|
|
fullPath: ['a'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'a',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
{
|
|
name: 'b',
|
|
fullPath: ['b'],
|
|
pathWithoutLast: [],
|
|
pathLast: 'b',
|
|
generics: [],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 2,
|
|
original: "a\tb",
|
|
returned: [],
|
|
userQuery: "a\tb",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a<b c>',
|
|
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: [],
|
|
},
|
|
],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 1,
|
|
original: "a<b c>",
|
|
returned: [],
|
|
userQuery: "a<b c>",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a<b,c>',
|
|
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: [],
|
|
},
|
|
],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 1,
|
|
original: "a<b,c>",
|
|
returned: [],
|
|
userQuery: "a<b,c>",
|
|
error: null,
|
|
},
|
|
{
|
|
query: 'a<b\tc>',
|
|
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: [],
|
|
},
|
|
],
|
|
typeFilter: -1,
|
|
},
|
|
],
|
|
foundElems: 1,
|
|
original: "a<b\tc>",
|
|
returned: [],
|
|
userQuery: "a<b\tc>",
|
|
error: null,
|
|
},
|
|
];
|