\Phug\Lexer\PartialStateTrait

Summary

Methods
Properties
Constants
hasState()
getState()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$state
N/A

Properties

$state

$state : \Phug\Lexer\State

The state of the current lexing process.

Type

\Phug\Lexer\State

Methods

hasState()

hasState() : boolean

Returns true if a lexing process is active and a state exists, false if not.

Returns

boolean

getState()

getState() : \Phug\Lexer\State

Returns the state object of the current lexing process.

Returns

\Phug\Lexer\State