[antlr-interest] New AST and findAll in C++

Bryan Ewbank ewbank at synopsys.com
Mon Nov 29 18:59:49 PST 2004


I'm attempting to use findAll in the C++ world with a new node type
(ASTLabelType="MyNodeRef"), and have problems because the functions are all
declared using the BaseAST referent class - thus the link fails because of
type mismatches.

Do I need to redefine all these functions in my new AST node type, or do I
just use vector<RefAST> and pretend it matches??

- Bryan Ewbank
"The best tool for requirements analysis and design is a crayon"



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

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





More information about the antlr-interest mailing list