public virtual void WriteBaseVisitor(Template outputFileST, bool header)
{
AbstractTarget target = GetTarget();
if (target == null)
{
throw new NotSupportedException("Cannot generate code without a target.");
}
target.GenFile(g, outputFileST, GetBaseVisitorFileName(header));
}