From a6b8fdd2982d33a7f9605934bc4a3ed961d8a8e5 Mon Sep 17 00:00:00 2001 From: Moritz Lenz Date: Sat, 25 Sep 2010 13:15:10 +0200 Subject: [PATCH] [grammars] try to simplify an explanation --- src/grammars.pod | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/grammars.pod b/src/grammars.pod index 92cf6a5..de3df19 100644 --- a/src/grammars.pod +++ b/src/grammars.pod @@ -363,14 +363,8 @@ The other action methods work the same way. They transform the information they extract from the match object into native Perl 6 data structures, and call C to set those native structures as their own ASTs. -=for author - -I don't understand this next sentence. - -=end for - -The action methods that belong to a proto token are parametric in the same way -as the alternative: +The action methods for proto tokens include the full name of each individual +rule, including them C part: =begin programlisting @@ -383,6 +377,6 @@ as the alternative: =end programlisting When a C<< >> call matches, the action method with the same -parametrization as the matching alternative executes. +symbol as the matching subrule executes. =for vim: spell spelllang=en tw=78