rust/tests/rustdoc-js-std/parser-separators.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

196 lines
4.7 KiB
JavaScript
Raw Normal View History

// 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: [
{
name: 'aaaaaa b',
2023-06-12 09:05:00 -05:00
fullPath: ['aaaaaa', 'b'],
pathWithoutLast: ['aaaaaa'],
pathLast: 'b',
generics: [],
typeFilter: -1,
},
],
foundElems: 1,
original: "aaaaaa b",
2023-06-12 09:05:00 -05:00
returned: [],
userQuery: "aaaaaa b",
2023-06-12 09:05:00 -05:00
error: null,
},
{
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,
},
{
2023-06-09 09:49:38 -05:00
query: 'a b',
elems: [
{
2023-06-12 09:05:00 -05:00
name: 'a b',
fullPath: ['a', 'b'],
pathWithoutLast: ['a'],
pathLast: 'b',
generics: [],
typeFilter: -1,
},
],
2023-06-12 09:05:00 -05:00
foundElems: 1,
original: "a b",
returned: [],
userQuery: "a b",
error: null,
},
{
2023-06-09 09:49:38 -05:00
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,
},
{
2023-06-09 09:49:38 -05:00
query: 'a\tb',
elems: [
{
name: 'a b',
2023-06-12 09:05:00 -05:00
fullPath: ['a', 'b'],
pathWithoutLast: ['a'],
pathLast: 'b',
generics: [],
typeFilter: -1,
},
],
2023-06-12 09:05:00 -05:00
foundElems: 1,
original: "a b",
returned: [],
userQuery: "a b",
error: null,
},
{
2023-06-09 09:49:38 -05:00
query: 'a<b c>',
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'],
pathLast: 'c',
generics: [],
},
],
typeFilter: -1,
},
],
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>',
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,
},
{
2023-06-09 09:49:38 -05:00
query: 'a<b\tc>',
elems: [
{
name: 'a',
fullPath: ['a'],
pathWithoutLast: [],
pathLast: 'a',
generics: [
{
name: 'b c',
2023-06-12 09:05:00 -05:00
fullPath: ['b', 'c'],
pathWithoutLast: ['b'],
pathLast: 'c',
generics: [],
},
],
typeFilter: -1,
},
],
foundElems: 1,
original: "a<b c>",
returned: [],
userQuery: "a<b c>",
error: null,
},
];