Lines Matching full:part
102 for (const part of n.#parts) {
104 if (typeof part === 'string') {
105 throw new Error('string part in extglob AST??');
108 part.copyIn(pp.#parts[i]);
123 throw new Error('invalid part: ' + p);
175 copyIn(part) {
176 if (typeof part === 'string')
177 this.push(part);
179 this.push(part.clone(this));
241 let part = new AST(null, ast);
273 part.push(acc);
275 const ext = new AST(c, part);
276 part.push(ext);
281 part.push(acc);
283 parts.push(part);
284 part = new AST(null, ast);
291 part.push(acc);
293 ast.push(...parts, part);
347 // In part-matching mode, the start is:
358 // - if first pattern: same as part-matching mode
364 // - if last pattern, same as part-matching mode
404 // - Since the start for a join is eg /(?!\.) and the start for a part