Lines Matching refs:attributes
18 list($operations, $files, $attributes) = parseArgs($argv);
29 $parser = (new PhpParser\ParserFactory())->createForVersion($attributes['version']);
32 'dumpPositions' => $attributes['with-positions'],
56 if ($attributes['with-recovery']) {
60 $message = formatErrorMessage($error, $code, $attributes['with-column-info']);
70 $message = formatErrorMessage($error, $code, $attributes['with-column-info']);
140 $attributes = [
177 $attributes['with-column-info'] = true;
181 $attributes['with-positions'] = true;
185 $attributes['with-recovery'] = true;
196 $attributes['version'] = PhpParser\PhpVersion::fromString($matches[1]);
205 return [$operations, $files, $attributes];