Results of 1 - 10 of about 17 for RLexer (0.001 sec.)
- The Parle\RLexer class | PHP 8.3 13914
- The Parle\RLexer class (PECL parle >= 0.5.1) はじめに Multistate lexer class. Lexemes can be defined on the fly. If the particular lexer instance is meant to be used with Parle\RParser , the token IDs need to be taken from there. Otherwise,
... arbitrary token IDs can be supplied. Note, that Parle\Parser is not compatible with this lexer. クラス概要 class Parle\RLexer { /* 定数 */ const int ICASE = 1 ; const int DOT_NOT_LF = 2 ; const int DOT_NOT_CRLF = 4 ; const int SKIP_WS = 8 ; const i ... ate ): void public function pushState ( string $state ): int public function reset ( int $pos ): void } 定義済み定数 Parle\RLexer::ICASE Parle\RLexer::DOT_NOT_LF Parle\RLexer::DOT_NOT_CRLF Parle\RLexer::SKIP_WS Parle\RLexer::MATCH_ZERO_LEN プロパティ b ... er state, readonly. marker Position of the latest token match, readonly. cursor Current input offset, readonly. 目次 Parle\RLexer::advance — Process next lexer rule Parle\RLexer::build — Finalize the lexer rule set Parle\RLexer::callout — Define token ...
-
https://man.mtool.work/php/8.3/class.parle-rlexer.html
- Parsing and lexing | PHP 8.3 10552
- Parsing and lexing はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己
... Parle\Lexer::insertMacro — Insert regex macro Parle\Lexer::push — Add a lexer rule Parle\Lexer::reset — Reset lexer Parle\RLexer — The Parle\RLexer class Parle\RLexer::advance — Process next lexer rule Parle\RLexer::build — Finalize the lexer rule set ... Parle\RLexer::callout — Define token callback Parle\RLexer::consume — Pass the data for processing Parle\RLexer::dump — Dump the state ... machine Parle\RLexer::getToken — Retrieve the current token Parle\RLexer::insertMacro — Insert regex macro Parle\RLexer::push — Add a lexer rul ...
-
https://man.mtool.work/php/8.3/book.parle.html
- Parle\RLexer::pushState — Push a new start state | PHP 8.3 9517
- Parle\RLexer::pushState (PECL parle >= 0.5.1) Parle\RLexer::pushState — Push a new start state 説明 public function Parle\RLexer::pushState ( string $state ): int This lexer type can have more than one state machine. This allows you to lex
... epending 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. パラメータ state Name of the state. 戻り値 ...
-
https://man.mtool.work/php/8.3/parle-rlexer.pushstate.html
- Parle\RLexer::build — Finalize the lexer rule set | PHP 8.3 9207
- Parle\RLexer::build (PECL parle >= 0.5.1) Parle\RLexer::build — Finalize the lexer rule set 説明 public function Parle\RLexer::build (): void Rules, previously added with Parle\RLexer::push() are finalized. This method call has to be done a
...
-
https://man.mtool.work/php/8.3/parle-rlexer.build.html
- Parle\RLexer::push — Add a lexer rule | PHP 8.3 9035
- Parle\RLexer::push (PECL parle >= 0.5.1) Parle\RLexer::push — Add a lexer rule 説明 public function Parle\RLexer::push ( string $regex , int $id ): void public function Parle\RLexer::push ( string $state , string $regex , int $id , string $
... newState ): void public function Parle\RLexer::push ( string $state , string $regex , string $newState ): void Push a pattern for lexeme recognition. A 'start state' an ...
-
https://man.mtool.work/php/8.3/parle-rlexer.push.html
- Parle\RLexer::reset — Reset lexer | PHP 8.3 8845
- Parle\RLexer::reset (PECL parle >= 0.7.1) Parle\RLexer::reset — Reset lexer 説明 public function Parle\RLexer::reset ( int $pos ): void Reset lexing optionally supplying the desired offset. パラメータ pos Reset position. 戻り値 値を返しませ
...
-
https://man.mtool.work/php/8.3/parle-rlexer.reset.html
- Parle\RLexer::consume — Pass the data for processing | PHP 8.3 8793
- Parle\RLexer::consume (PECL parle >= 0.5.1) Parle\RLexer::consume — Pass the data for processing 説明 public function Parle\RLexer::consume ( string $data ): void Consume the data for lexing. パラメータ data Data to be lexed. 戻り値 値を返し
...
-
https://man.mtool.work/php/8.3/parle-rlexer.consume.html
- Parle\RLexer::dump — Dump the state machine | PHP 8.3 8535
- Parle\RLexer::dump (PECL parle >= 0.5.1) Parle\RLexer::dump — Dump the state machine 説明 public function Parle\RLexer::dump (): void Dump the current state machine to stdout. パラメータ この関数にはパラメータはありません。 戻り値 値を返しま
...
-
https://man.mtool.work/php/8.3/parle-rlexer.dump.html
- Parle\RLexer::advance — Process next lexer rule | PHP 8.3 8483
- Parle\RLexer::advance (PECL parle >= 0.5.1) Parle\RLexer::advance — Process next lexer rule 説明 public function Parle\RLexer::advance (): void Processes the next rule and prepares the resulting token data. パラメータ この関数にはパラメータ
...
-
https://man.mtool.work/php/8.3/parle-rlexer.advance.html
- Parle\RLexer::callout — Define token callback | PHP 8.3 8414
- Parle\RLexer::callout (PECL parle >= 0.7.2) Parle\RLexer::callout — Define token callback 説明 public function Parle\RLexer::callout ( int $id , callable $callback ): void Define a callback to be invoked once lexer encounters a particular t
...
-
https://man.mtool.work/php/8.3/parle-rlexer.callout.html