[antlr-interest] need for initializeASTFactory

marcschellens m_schellens at hotmail.com
Mon Oct 6 02:27:33 PDT 2003


Maybe a silly question, but to be sure:
If I am using my own AST and  I have a treewalker not
modifying/generating any AST,
do I need:

    parser.initializeASTFactory( MyNodeFactory);
    parser.setASTFactory( &MyNodeFactory );

thanks,
marc


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list