Hello, I have a global hashmap that i want to initialize in the constructor. Currently i use a null check upon usage and initalize if null, but this seems like a performance waste when the constructor could be used.
I tried the @init and have checked the book but im unable to find any reference to how to do this. Is it currently possible to place arbitrary code in the constructors? Best Regards Gustaf List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
