PHP Class Phlexy\Lexer\Stateful\UsingCompiledRegex

Inheritance: implements Phlexy\Lexer\Stateful
Afficher le fichier Open project: nikic/phlexy

Protected Properties

Свойство Type Description
$currentStackPosition
$currentStateData
$initialState
$stateData * arrays with indices compiledRegex, offsetToActionMap, offsetToLengthMap
$stateStack

Méthodes publiques

Méthode Description
__construct ( $initialState, array $stateData )
getStateStack ( )
hasPushedStates ( )
lex ( $string )
popState ( )
pushState ( $state )
swapState ( $state )

Method Details

__construct() public méthode

public __construct ( $initialState, array $stateData )
$stateData array

getStateStack() public méthode

public getStateStack ( )

hasPushedStates() public méthode

public hasPushedStates ( )

lex() public méthode

public lex ( $string )

popState() public méthode

public popState ( )

pushState() public méthode

public pushState ( $state )

swapState() public méthode

public swapState ( $state )

Property Details

$currentStackPosition protected_oe property

protected $currentStackPosition

$currentStateData protected_oe property

protected $currentStateData

$initialState protected_oe property

protected $initialState

$stateData protected_oe property

* arrays with indices compiledRegex, offsetToActionMap, offsetToLengthMap
protected $stateData

$stateStack protected_oe property

protected $stateStack