Lines Matching refs:prefix
52 $prefix = $indent ? str_repeat(' ', $indent) : '';
60 $output .= $prefix.Inline::dump($input, $flags);
62 $output .= $this->dumpTaggedValue($input, $inline, $indent, $flags, $prefix);
84 $output .= sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? Inline::dump($key, $flags).':' : '-', '', $blockIndentationIndicator, $blockChompingIndicator);
90 $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);
98 $output .= sprintf('%s%s !%s', $prefix, $dumpAsMap ? Inline::dump($key, $flags).':' : '-', $value->getTag());
107 $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);
132 $prefix,
143 private function dumpTaggedValue(TaggedValue $value, int $inline, int $indent, int $flags, string $prefix): string
145 $output = sprintf('%s!%s', $prefix ? $prefix.' ' : '', $value->getTag());
154 $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);