« Return to Thread: specifying a node factory implementation

specifying a node factory implementation

by Mauricio Pazos :: Rate this Message:

Reply to Author | View in Thread

Hi list, I would like to use the NODE_FACTORY to produce an custom Node
implementation (and avoid the SimpleNode).
I set the following relevant option:

   BUILD_NODE_FILES=false;  // to avoid the Simple nodo generation  
   NODE_FACTORY="org.myproy.util.MyNodeFactory";

but the generated parser still use

        SimpleNode jjtn001 = new SimpleNode(...);

How can I instruct javacc to generate

        SimpleNode jjtn001 = org.myproy.util.MyNodeFactory.jjtCreate(int id);

cheers
--
Mauricio Pazos
www.axios.es


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: specifying a node factory implementation