예제 #1
0
RefAST ASTFactory::create(int type)
{
	RefAST t = nodeFactories[type]->second();
	t->initialize(type,"");
	return t;
}
예제 #2
0
파일: ASTFactory.cpp 프로젝트: dbenn/cgp
RefAST ASTFactory::create(int type)
{
    RefAST t = create();
    t->initialize(type,"");
    return t;
}