Parle\Parser::precedence

(PECL parle >= 0.5.1)

Parle\Parser::precedenceDeclare a precedence rule

Beschreibung

public Parle\Parser::precedence ( string $tok ) : void

Declares a precedence rule for a fictitious terminal symbol. This rule can be later used in the specific grammar rules.

Parameter-Liste

tok

Token name.

Rückgabewerte

Es wird kein Wert zurückgegeben.