\Phug\Lexer\AnalyzerLineAnalyzer

Summary

Methods
Properties
Constants
__construct()
disallowInterpolation()
analyze()
hasNewLine()
getLines()
getFlatLines()
getMaxIndent()
getLevel()
getNewLevel()
No public properties found
No constants found
getLine()
recordLine()
$state
$reader
$lines
$maxIndent
$newLine
$level
$newLevel
$allowedInterpolation
N/A
No private methods found
No private properties found
N/A

Properties

$lines

$lines : array

Type

array

$maxIndent

$maxIndent : integer

Type

integer

$newLine

$newLine : boolean

Type

boolean

$level

$level : integer

Type

integer

$newLevel

$newLevel : integer

Type

integer

$allowedInterpolation

$allowedInterpolation : boolean

Type

boolean

Methods

__construct()

__construct(\Phug\Lexer\State  $state, \Phug\Reader  $reader,   $lines = array()) 

Parameters

\Phug\Lexer\State $state
\Phug\Reader $reader
$lines

disallowInterpolation()

disallowInterpolation() 

analyze()

analyze(  $quitOnOutdent, array  $breakChars = array()) 

Parameters

$quitOnOutdent
array $breakChars

hasNewLine()

hasNewLine() : boolean

Returns

boolean

getLines()

getLines() : \Phug\Lexer\Analyzer\array<array<string|\Phug\Lexer\Analyzer\TokenInterface>>

Returns

\Phug\Lexer\Analyzer\array>

getFlatLines()

getFlatLines() : \Phug\Lexer\Analyzer\array<string>

Returns

\Phug\Lexer\Analyzer\array

getMaxIndent()

getMaxIndent() : integer

Returns

integer

getLevel()

getLevel() : integer

Returns

integer

getNewLevel()

getNewLevel() : integer

Returns

integer

getLine()

getLine() 

recordLine()

recordLine()