Results of 1 - 10 of about 33 for Rule (0.001 sec.)
- Parle\Parser::push — Add a grammar rule | PHP 8.3 12465
- Parle\Parser::push (PECL parle >= 0.5.1) Parle\Parser::push — Add a grammar rule 説明 public function Parle\Parser::push ( string $name , string $rule ): int Push a grammar rule. The production id returned can be used later in the parsing p
... rocess to identify the rule matched. パラメータ name Rule name. rule The rule to be added. The syntax is Bison compatible. 戻り値 Returns int represen ... ting the rule index. 他のマニュアルの関連ページ DuckDB PEG Parser Linux JM iptables-xml(1) Linux JM locale(5) DuckDB Functions DuckDB Gr ...
-
https://man.mtool.work/php/8.3/parle-parser.push.html
- Parsing and lexing | PHP 8.3 12417
- Parsing and lexing はじめに 警告 この拡張モジュールは、 実験的 なものです。この拡張モジュールの動作・ 関数名・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 このモジュールは自己
... n matching 例 Lexer examples Parser examples Parle\Lexer — The Parle\Lexer class Parle\Lexer::advance — Process next lexer rule Parle\Lexer::build — Finalize the lexer rule set Parle\Lexer::callout — Define token callback Parle\Lexer::consume — Pass ... Lexer::getToken — Retrieve the current token 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 Par ... le\RLexer::build — Finalize the lexer rule set Parle\RLexer::callout — Define token callback Parle\RLexer::consume — Pass the data for processing Parle\RLexer::dump ...
-
https://man.mtool.work/php/8.3/book.parle.html
- Parle\RParser::push — Add a grammar rule | PHP 8.3 12369
- Parle\RParser::push (PECL parle >= 0.7.0) Parle\RParser::push — Add a grammar rule 説明 public function Parle\RParser::push ( string $name , string $rule ): int Push a grammar rule. The production id returned can be used later in the parsin
... g process to identify the rule matched. パラメータ name Rule name. rule The rule to be added. The syntax is Bison compatible. 戻り値 Returns int represen ... ting the rule index. 他のマニュアルの関連ページ DuckDB PEG Parser Linux JM iptables-xml(1) Linux JM locale(5) DuckDB Graph Queries Linux ...
-
https://man.mtool.work/php/8.3/parle-rparser.push.html
- The Parle\Parser class | PHP 8.3 9754
- The Parle\Parser class (PECL parle >= 0.5.1) はじめに Parser class. Rules can be defined on the fly. Once finalized, a Parle\Lexer instance is required to deliver the token stream. クラス概要 class Parle\Parser { /* 定数 */ const int ACTION
... assoc ( string $tok ): void public function precedence ( string $tok ): void public function push ( string $name , string $rule ): int public function reset ( int $tokenId = ? ): void public function right ( string $tok ): void public function sigil ... N_TOKEN プロパティ action Current parser action that matches one of the action class constants, readonly. reduceId Grammar rule id just processed in the reduce action. The value corresponds either to a token or to a production id. Readonly. 目次 Parl ... e\Parser::advance — Process next parser rule Parle\Parser::build — Finalize the grammar rules Parle\Parser::consume — Consume the data for processing Parle\Parser::dum ...
-
https://man.mtool.work/php/8.3/class.parle-parser.html
- The Parle\RParser class | PHP 8.3 9706
- The Parle\RParser class (PECL parle >= 0.7.0) はじめに Parser class. Rules can be defined on the fly. Once finalized, a Parle\RLexer instance is required to deliver the token stream. クラス概要 class Parle\RParser { /* 定数 */ const int ACT
... assoc ( string $tok ): void public function precedence ( string $tok ): void public function push ( string $name , string $rule ): int public function reset ( int $tokenId = ? ): void public function right ( string $tok ): void public function sigil ... N_TOKEN プロパティ action Current parser action that matches one of the action class constants, readonly. reduceId Grammar rule id just processed in the reduce action. The value corresponds either to a token or to a production id. Readonly. 目次 Parl ... e\RParser::advance — Process next parser rule Parle\RParser::build — Finalize the grammar rules Parle\RParser::consume — Consume the data for processing Parle\RParser:: ...
-
https://man.mtool.work/php/8.3/class.parle-rparser.html
- Parle\RLexer::push — Add a lexer rule | PHP 8.3 8984
- 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 $
... arser, it has to be an id returned by Parle\RParser::tokenid() . state State name. If '*' is used as start state, then the rule is applied to all lexer states. newState New state name, after the rule was applied. If '.' is specified as the exit state ... , then the lexer state is unchanged when that rule matches. An exit state with '>' before the name means push. Use the signature without id for either continuation or to sta ... ase, the signature containing the id can be used to identify the match. Note that even in the case an id is specified, the rule will finish first when all the previous pushes popped. 戻り値 値を返しません。 他のマニュアルの関連ページ Linux JM regex(3 ...
-
https://man.mtool.work/php/8.3/parle-rlexer.push.html
- Parle\Parser::precedence — Declare a precedence rule | PHP 8.3 8422
- Parle\Parser::precedence (PECL parle >= 0.5.1) Parle\Parser::precedence — Declare a precedence rule 説明 public function Parle\Parser::precedence ( string $tok ): void Declares a precedence rule for a fictitious terminal symbol. This rule c
... an be later used in the specific grammar rules. パラメータ tok Token name. 戻り値 値を返しません。 他のマニュアルの関連ページ Linux JM gai.conf(5) Linux JM locale(5) Li ...
-
https://man.mtool.work/php/8.3/parle-parser.precedence.html
- Parle\RParser::precedence — Declare a precedence rule | PHP 8.3 8422
- Parle\RParser::precedence (PECL parle >= 0.7.0) Parle\RParser::precedence — Declare a precedence rule 説明 public function Parle\RParser::precedence ( string $tok ): void Declares a precedence rule for a fictious terminal symbol. This rule
... can be later used in the specific grammar rules. パラメータ tok Token name. 戻り値 値を返しません。 他のマニュアルの関連ページ Linux JM gai.conf(5) Linux JM locale(5) Li ...
-
https://man.mtool.work/php/8.3/parle-rparser.precedence.html
- Parle\RParser::sigilCount — Number of elements in matched rule | PHP 8.3 7748
- Parle\RParser::sigilCount (PECL parle >= 0.8.4) Parle\RParser::sigilCount — Number of elements in matched rule 説明 public function Parle\RParser::sigilCount (): int Get number of elements in the matched rule. パラメータ この関数にはパラメー
...
-
https://man.mtool.work/php/8.3/parle-rparser.sigilcount.html
- Parle\Lexer::advance — Process next lexer rule | PHP 8.3 7700
- Parle\Lexer::advance (PECL parle >= 0.5.1) Parle\Lexer::advance — Process next lexer rule 説明 public function Parle\Lexer::advance (): void Processes the next rule and prepares the resulting token data. パラメータ この関数にはパラメータはあ
...
-
https://man.mtool.work/php/8.3/parle-lexer.advance.html