getIndentLevel()
getIndentLevel(\Phug\Lexer\State $state, $maxLevel = INF, callable $getIndentChar = null)
Parameters
\Phug\Lexer\State | $state | |
$maxLevel | ||
callable | $getIndentChar |
getIndentLevel(\Phug\Lexer\State $state, $maxLevel = INF, callable $getIndentChar = null)
\Phug\Lexer\State | $state | |
$maxLevel | ||
callable | $getIndentChar |
scan(\Phug\Lexer\State $state)
\Phug\Lexer\State | $state |
getLevelFromIndent(\Phug\Lexer\State $state, $indent)
\Phug\Lexer\State | $state | |
$indent |
getIndentChar(\Phug\Reader $reader)
\Phug\Reader | $reader |
formatIndentChar(\Phug\Lexer\State $state, $indentChar)
\Phug\Lexer\State | $state | |
$indentChar |
setStateLevel(\Phug\Lexer\State $state, $indent)
\Phug\Lexer\State | $state | |
$indent |