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
{
/* 定数 */
/* プロパティ */
/* メソッド */
}定義済み定数
プロパティ
- 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.
目次
- Parle\RParser::advance — Process next parser rule
- Parle\RParser::build — Finalize the grammar rules
- Parle\RParser::consume — Consume the data for processing
- Parle\RParser::dump — Dump the grammar
- Parle\RParser::errorInfo — Retrieve the error information
- Parle\RParser::left — Declare a token with left-associativity
- Parle\RParser::nonassoc — Declare a token with no associativity
- Parle\RParser::precedence — Declare a precedence rule
- Parle\RParser::push — Add a grammar rule
- Parle\RParser::reset — Reset parser state
- Parle\RParser::right — Declare a token with right-associativity
- Parle\RParser::sigil — Retrieve a matching part of a rule
- Parle\RParser::sigilCount — Number of elements in matched rule
- Parle\RParser::sigilName — Retrieve a rule or token name
- Parle\RParser::token — Declare a token
- Parle\RParser::tokenId — Get token id
- Parle\RParser::trace — Trace the parser operation
- Parle\RParser::validate — Validate input
+add a note
User Contributed Notes
There are no user contributed notes for this page.
![To Top](/images/to-top@2x.png)