NAME
Perlito5::Grammar::Precedence - precedence parser for Perlito
SYNOPSIS
my
$prec
= Perlito5::Grammar::Precedence->new(
get_token
=>
$get_token
,
reduce
=>
$reduce_to_ast
,
end_token
=> [
{},
{
']'
=> 1,
')'
=> 1,
'}'
=> 1,
';'
=> 1 }
],
end_token_chars
=> [ 1 ],
);
my
$res
=
$prec
->precedence_parse;
DESCRIPTION
This module resolves the operator precedence in Perl 5 expressions.
AUTHORS
Flavio Soibelmann Glock <fglock@gmail.com>. The Pugs Team <perl6-compiler@perl.org>.
COPYRIGHT
Copyright 2010, 2011, 2012 by Flavio Soibelmann Glock and others.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 381:
=begin without a target?
- Around line 418:
'=end' without a target?