[antlr-interest] Newbie - rule help
    Nico 
    nico123 at adinet.com.uy
       
    Sun Jul 20 10:44:14 PDT 2003
    
    
  
Hi all. I don't have this rule very clear.
Can anyone help me telling in detail what the code in braces does?
modifiers
 : ( modifier )*
  {#modifiers = #([MODIFIERS, "MODIFIERS"], #modifiers);}
 ;
I have confusion because I have also found same rule like this
modifiers
 : ( modifier )*
  {#modifiers = #(#[MODIFIERS, "MODIFIERS"], #modifiers);}
 ;
With an extra # before  [MODIFIERS
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20030720/a9dea7c3/attachment.html
    
    
More information about the antlr-interest
mailing list