Searched refs:tabWidth (Results 1 – 2 of 2) sorted by relevance
23 public function __construct(array $tokens, int $tabWidth) { argument25 $this->indentMap = $this->calcIndentMap($tabWidth);251 private function calcIndentMap(int $tabWidth): array { argument261 $indent = $this->getIndent(\substr($content, $newlinePos + 1), $tabWidth);265 $indent = $this->getIndent($content, $tabWidth);276 private function getIndent(string $ws, int $tabWidth): int { argument280 return $spaces + $tabs * $tabWidth;
116 private int $tabWidth = 4; variable in PhpParser\\PrettyPrinterAbstract208 $this->indentWidth = $this->tabWidth;234 $tabs = \intdiv($level, $this->tabWidth);235 $spaces = $level % $this->tabWidth;567 $this->origTokens = new TokenStream($origTokens, $this->tabWidth);
Completed in 9 milliseconds