Created
July 11, 2010 21:05
-
-
Save ShimmerFairy/471833 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the token is found on line 905 of src/Perl6/Grammar.pm: | |
token variable_declarator { | |
:my $*IN_DECL := 'variable'; | |
<variable> | |
{ $*IN_DECL := '' } | |
[ | |
<.unsp>? | |
$<shape>=[ | |
| '(' ~ ')' <signature> | |
| '[' ~ ']' <semilist> | |
| '{' ~ '}' <semilist> | |
]* | |
]? | |
<trait>* | |
<post_constraint>* #this is added | |
<default_value>? #this is added as well | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment