(self, errFile=sys.stderr, warnFile=sys.stderr, diagFile=sys.stdout)
Constructor

        - errFile, warnFile, diagFile - file handles to write errors,
          warnings, diagnostics to. May be None to not write.
Constructor
Constructor
def __init__(self, errFile=sys.stderr, warnFile=sys.stderr, diagFile=sys.stdout):
        """Constructor

        - errFile, warnFile, diagFile - file handles to write errors,
          warnings, diagnostics to. May be None to not write."""
        self.outFile = None
        self.errFile = errFile
        self.warnFile = warnFile
        self.diagFile = diagFile
        # Internal state
        self.featureName = None
        self.genOpts = None
        self.registry = None
        self.featureDictionary = {}
        # Used for extension enum value generation
        self.extBase = 1000000000
        self.extBlockSize = 1000
        self.madeDirs = {}

        # API dictionary, which may be loaded by the beginFile method of
        # derived generators.
        self.apidict = None
def __init__ ( self , errFile = sys . stderr , warnFile = sys . stderr , diagFile = sys . stdout ) : self . outFile = None self . errFile = errFile self . warnFile = warnFile self . diagFile = diagFile # Internal state self . featureName = None self . genOpts = None self . registry = None self . featureDictionary = { } # Used for extension enum value generation self . extBase = 1000000000 self . extBlockSize = 1000 self . madeDirs = { } # API dictionary, which may be loaded by the beginFile method of # derived generators. self . apidict = None