Lines Matching full:part
105 for (const part of n.#parts) {
107 if (typeof part === 'string') {
108 throw new Error('string part in extglob AST??');
111 part.copyIn(pp.#parts[i]);
126 throw new Error('invalid part: ' + p);
178 copyIn(part) {
179 if (typeof part === 'string')
180 this.push(part);
182 this.push(part.clone(this));
244 let part = new AST(null, ast);
276 part.push(acc);
278 const ext = new AST(c, part);
279 part.push(ext);
284 part.push(acc);
286 parts.push(part);
287 part = new AST(null, ast);
294 part.push(acc);
296 ast.push(...parts, part);
350 // In part-matching mode, the start is:
361 // - if first pattern: same as part-matching mode
367 // - if last pattern, same as part-matching mode
407 // - Since the start for a join is eg /(?!\.) and the start for a part