Lines Matching refs:globParts
203 globParts; field in Minimatch
311 this.globParts[i][2] === '?' &&
325 preprocess(globParts) { argument
328 for (let i = 0; i < globParts.length; i++) {
329 for (let j = 0; j < globParts[i].length; j++) {
330 if (globParts[i][j] === '**') {
331 globParts[i][j] = '*';
339 globParts = this.firstPhasePreProcess(globParts);
340 globParts = this.secondPhasePreProcess(globParts);
344 globParts = this.levelOneOptimize(globParts);
347 globParts = this.adjascentGlobstarOptimize(globParts);
349 return globParts;
352 adjascentGlobstarOptimize(globParts) {
353 return globParts.map(parts => {
368 levelOneOptimize(globParts) {
369 return globParts.map(parts => {
445 firstPhasePreProcess(globParts) {
450 for (let parts of globParts) {
481 globParts.push(other);
520 return globParts;
529 secondPhasePreProcess(globParts) {
530 for (let i = 0; i < globParts.length - 1; i++) {
531 for (let j = i + 1; j < globParts.length; j++) {
532 … const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
535 globParts[i] = matched;
536 globParts[j] = [];
539 return globParts.filter(gs => gs.length);