- Timestamp:
- 09/07/08 06:21:06 (3 months ago)
- Files:
-
- 1 modified
-
src/perl6/STD.pm (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/perl6/STD.pm
r22174 r22177 2569 2569 <longname> { $¢.add_type($<longname>); } 2570 2570 [ of <fulltypename> ]? 2571 where <termish>2571 [where <EXPR(item %chaining)> ]? # (EXPR can parse multiple where clauses) 2572 2572 } 2573 2573 … … 2927 2927 { <sym> } 2928 2928 2929 token infix:where ( --> Junctive_and) 2930 { <sym> } 2931 2929 2932 2930 2933 ## junctive or (any) … … 3203 3206 | '(' <in: ')', 'semilist', 'argument list'> {*} #= func args 3204 3207 | <.unsp> '.'? '(' <in: ')', 'semilist', 'argument list'> {*} #= func args 3205 | {} <?before \s> <.ws> 3206 [ 3207 || <!{ $istype }> <!infixstopper> <arglist> { $listopish = 1 } 3208 || <?{ $istype }> ['where' <.ws> <constraints=termish> <.ws>]* 3209 ] 3210 3208 | {} [<?before \s> <!{ $istype }> <.ws> <!infixstopper> <arglist> { $listopish = 1 }]? 3211 3209 ] 3212 3210 … … 3234 3232 {*} #= packagevar 3235 3233 ]? 3236 # subset type?3237 <.ws>3238 [ 'where' <.ws> <constraints=termish> <.ws> ]*3239 3234 {*} #= typename 3240 3235
