« Parle\RParser::right
Parle\RParser::sigilCount »

Parle\RParser::sigil

(PECL parle >= 0.7.0)

Parle\RParser::sigil — Retrieve a matching part of a rule

説明

public function Parle\RParser::sigil(int $idx = ?): string

Retrieve a part of the match by a rule. This method is equivalent to the pseudo variable functionality in Bison.

パラメータ

idx

Match index, zero based.

戻り値

Returns a string with the matched part.

関連キーワード:
Parle   RParser   part   Retrieve   rule   matching   sigil   right   sigilCount   parle   match   method   equivalent   pseudo   variable   functionality   Bison   Match   index   based   matched
関連する関数・ページ:
parle-parser.sigil   parle-rparser.sigilname   parle-rparser.sigilcount   parle-rparser.errorinfo   parle-rparser.push   parle-rparser.advance