PHP workshop for 2 days with Shopware, Sylius, PHPUnit and Codeception in Duisburg

Parle\RLexer::pushState

(PECL parle >= 0.5.1)

Parle\RLexer::pushStatePush a new start state

Description

public Parle\RLexer::pushState(string $state): int

This lexer type can have more than one state machine. This allows you to lex different tokens depending on context, thus allowing simple parsing to take place. Once a state pushed, it can be used with a suitable Parle\RLexer::push() signature variant.

Liste de param├Ętres

state

Name of the state.

Valeurs de retour

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top