Esempio n. 1
0
RefAST ASTFactory::create(int type)
{
	RefAST t = nodeFactories[type]->second();
	t->initialize(type,"");
	return t;
}
Esempio n. 2
0
RefAST ASTFactory::create(int type)
{
    RefAST t = create();
    t->initialize(type,"");
    return t;
}