array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'parle-rparser.precedence.php', 1 => 'Parle\\RParser::precedence', 2 => 'Declare a precedence rule', ), 'up' => array ( 0 => 'class.parle-rparser.php', 1 => 'Parle\\RParser', ), 'prev' => array ( 0 => 'parle-rparser.nonassoc.php', 1 => 'Parle\\RParser::nonassoc', ), 'next' => array ( 0 => 'parle-rparser.push.php', 1 => 'Parle\\RParser::push', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/parle/parle/rparser/precedence.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Parle\RParser::precedence

(PECL parle >= 0.7.0)

Parle\RParser::precedenceDeclare a precedence rule

Опис

public 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.

Значення, що повертаються

Не повертає значень.