PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

Parle\Parser::push - Add a grammar rule | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

Parle\Parser::push

(PECL parle >= 0.5.1)

Parle\Parser::pushAdd a grammar rule

説明

public int Parle\Parser::push ( string $name , string $rule )

Push a grammar rule. The production id returned can be used later in the parsing process to identify the rule matched.

パラメータ

name

Rule name.

rule

The rule to be added. The syntax is Bison compatible.

返り値

Returns integer representing the rule index.


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「Parle\Parser::push - Add a grammar rule」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | Parle\Parser::push - Add a grammar rule」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: