Changeset 12375


Ignore:
Timestamp:
08/25/10 23:45:55 (18 months ago)
Author:
azawawi
Message:

[S:H:P6] Updated STD.pm6 to r32104

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Syntax-Highlight-Perl6/lib/STD.pmc

    r12360 r12375  
    5538055380        - !!perl/hash:RE_decl {} 
    5538155381        - !!perl/hash:RE_method 
    55382           name: termish 
     55382          name: variable 
    5538355383          rest: '' 
    55384     - !!perl/hash:RE_bindnamed 
    55385       atom: !!perl/hash:RE_quantified_atom 
    55386         atom: !!perl/hash:RE_paren 
    55387           re: !!perl/hash:RE_sequence 
    55388             zyg: 
    55389             - !!perl/hash:RE_quantified_atom 
    55390               atom: !!perl/hash:RE_meta 
    55391                 min: 1 
    55392                 text: \s 
    55393               quant: 
    55394               - '*' 
    55395             - !!perl/hash:RE_string 
    55396               i: 0 
    55397               text: = 
    55398             - !!perl/hash:RE_quantified_atom 
    55399               atom: !!perl/hash:RE_meta 
    55400                 min: 1 
    55401                 text: \s 
    55402               quant: 
    55403               - '*' 
    55404             - !!perl/hash:RE_method 
    55405               name: quantified_atom 
    55406               rest: '' 
    55407         quant: 
    55408         - '?' 
    5540955384    - !!perl/hash:RE_block {} 
     55385    - !!perl/hash:RE_bracket 
     55386      re: !!perl/hash:RE_first 
     55387        zyg: 
     55388        - !!perl/hash:RE_sequence 
     55389          zyg: 
     55390          - !!perl/hash:RE_bindnamed 
     55391            atom: !!perl/hash:RE_paren 
     55392              re: !!perl/hash:RE_sequence 
     55393                zyg: 
     55394                - !!perl/hash:RE_quantified_atom 
     55395                  atom: !!perl/hash:RE_meta 
     55396                    min: 1 
     55397                    text: \s 
     55398                  quant: 
     55399                  - '*' 
     55400                - !!perl/hash:RE_string 
     55401                  i: 0 
     55402                  text: = 
     55403                - !!perl/hash:RE_quantified_atom 
     55404                  atom: !!perl/hash:RE_meta 
     55405                    min: 1 
     55406                    text: \s 
     55407                  quant: 
     55408                  - '*' 
     55409                - !!perl/hash:RE_method 
     55410                  name: quantified_atom 
     55411                  rest: '' 
     55412          - !!perl/hash:RE_block {} 
     55413        - !!perl/hash:RE_sequence 
     55414          zyg: 
     55415          - !!perl/hash:RE_block {} 
     55416          - !!perl/hash:RE_quantified_atom 
     55417            atom: !!perl/hash:RE_bracket 
     55418              re: !!perl/hash:RE_sequence 
     55419                zyg: 
     55420                - !!perl/hash:RE_assertion 
     55421                  assert: '?' 
     55422                  re: !!perl/hash:RE_method_re 
     55423                    name: before 
     55424                    nobind: 1 
     55425                    re: !!perl/hash:RE_sequence 
     55426                      zyg: 
     55427                      - !!perl/hash:RE_quantified_atom 
     55428                        atom: !!perl/hash:RE_string 
     55429                          i: 0 
     55430                          text: . 
     55431                        quant: 
     55432                        - '?' 
     55433                      - !!perl/hash:RE_cclass 
     55434                        i: 0 
     55435                        text: '[ \[ \{ \< ]' 
     55436                - !!perl/hash:RE_method 
     55437                  name: worry 
     55438                  rest: 1 
     55439            quant: 
     55440            - '?' 
    5541055441mod_arg: !!perl/hash:RE_ast 
    5541155442  dba: modifier argument 
     
    5907859109my $newlang = ($::LANG{'MAIN'}); 
    5907959110$C = bless($C, (ref($newlang) || $newlang)); 
    59080 $C->_SUBSUMEr(['termish'], sub { 
    59081 my $C = shift; 
    59082 $C->termish 
    59083 }) 
    59084 })) 
    59085 and ($C) = ($C->_OPTr(sub { 
    59086 my $C=shift; 
    59087 $C->_SUBSUMEr(['binding'], sub { 
     59111$C->_SUBSUMEr(['variable'], sub { 
     59112my $C = shift; 
     59113$C->variable 
     59114}) 
     59115})) 
     59116and ($C) = (scalar(do { 
     59117my $M = $C; 
     59118$M->{'sym'} = $M->{'variable'}->Str}, $C)) 
     59119and ($C) = ($C->_BRACKETr(sub { 
     59120my $C=shift; 
     59121do {    my $C = $C->cursor_xact('ALT ||'); 
     59122my $xact = $C->xact; 
     59123my @gather; 
     59124do { 
     59125push @gather, do { 
     59126if (my ($C) = ($C->_SUBSUMEr(['binding'], sub { 
    5908859127my $C = shift; 
    5908959128$C->_PAREN( sub { 
     
    5909659135} else { () } 
    5909759136 
    59098 }) 
    5909959137}) 
    5910059138}))) { 
    5910159139scalar(do { 
    5910259140my $M = $C; 
    59103 $M->{'sym'} = $M->{'termish'}->{'term'}->Str}, $C) 
     59141$C->check_variable($M->{'variable'}) unless substr($M->{'sym'},1,1) eq '<' }, $C) 
     59142} else { () } 
     59143 
     59144} 
     59145} 
     59146or $xact->[-2] or 
     59147do { 
     59148push @gather, do { 
     59149if (my ($C) = (scalar(do { 
     59150my $M = $C; 
     59151$C->check_variable($M->{'variable'}) }, $C))) { 
     59152$C->_OPTr(sub { 
     59153my $C=shift; 
     59154if (my ($C) = ($C->_BRACKETr(sub { 
     59155my $C=shift; 
     59156if (($C) = ($C->before(sub { 
     59157my $C=shift; 
     59158if (my ($C) = ($C->before(sub { 
     59159my $C=shift; 
     59160$C->_PATTERN(qr/\G\.?+[\[\{\<]/) 
     59161}))) { ($C) } else { () } 
     59162})) 
     59163and ($C) = ($C->worry("Apparent subscript will be treated as regex"))) { 
     59164$C 
     59165} else { () } 
     59166}))) { ($C) } else { () } 
     59167}) 
     59168} else { () } 
     59169 
     59170} 
     59171}; 
     59172@gather; 
     59173} 
     59174}))) { 
     59175$C 
    5910459176} else { () } 
    5910559177 
Note: See TracChangeset for help on using the changeset viewer.