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

$outdent

$outdent : 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

hasOutdent()

hasOutdent() : 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

getLineChunks()

getLineChunks() 

getLine()

getLine() 

recordLine()

recordLine() 

setNewLevel()

setNewLevel(  $newLevel,   $first = false) 

Parameters

$newLevel
$first

hasChunksUntil()

hasChunksUntil(  $breakChars) 

Parameters

$breakChars