1 package polyglot.ext.pao.ast; 2 3 import polyglot.ext.jl.ast.NodeFactory_c; 4 5 /** 6 * <code>NodeFactory</code> implementation for the pao extension. 7 * The node factory is responsible for creating AST nodes. 8 */ 9 public class PaoNodeFactory_c extends NodeFactory_c { 10 public PaoNodeFactory_c() { 11 // Set the ExtFactory to be PaoExtFactory_c, 12 // and the DelFactory to be PaoDelFactory_c. 13 // this will ensure that the correct Ext and Del 14 // objects are created for the pao extension. 15 super(new PaoExtFactory_c(), new PaoDelFactory_c()); 16 } 17 } 18