parrotcode: Parsing of <expression> and <listop_expression> subrules | |
Contents | Language Implementations | Perl6 |
expression.pir - Parsing of <expression> and <listop_expression> subrules
This file contains the grammar subrules for <expression> and <listop_expression>. These have special parsing requirements, and are therefore written in PIR instead of as a standard Perl 6 rule statement.
EXPR([tighter])
EXPR
method implements the Perl6::Grammar <EXPR> subrule.
It forwards the match object (invocant) to the operator precedence parser to obtain an expression,
and returns the result to the caller.
Any tighter
option is passed as a corresponding option to the operator precedence parser,
which parses expressions of tighter precedence.tighter
argument along with :slurpy :named parameters,
so we use :multi as a temporary workaround.)
|