PHP » GoLang |
login |
register |
about
|
GoLang Parle\RLexer::push
request it (368)
GoLang replacement for PHP's Parle\RLexer::push
[edit | history]
Parle\RLexer::push(PECL parle >= 0.5.1) Parle\RLexer::push — Add a lexer rule Description
public void Parle\RLexer::push
( string
$regex
, int $id
)
public void Parle\RLexer::push
( string
$state
, string $regex
, int $id
, string $newState
)
public void Parle\RLexer::push
( string
$state
, string $regex
, string $newState
)Push a pattern for lexeme recognition. A 'start state' and 'exit state' can be specified by using a suitable signature. Parameters
Return ValuesNo value is returned. |
more
Recently updated
more
Most requested
more
Last requests
|