

def __init__(self, options, cmdName, file):
    self.options = options
    self.cmdName = cmdName
    self.file = file
    self.descriptions = {
        
    }
    self.multiUse = set()
    self.mutuallyExclusive = []
    self.optActions = {
        
    }
    self.extraActions = []
    for cls in reversed(inspect.getmro(options.__class__)):
        data = getattr(cls, 'compData', None)
        if data:
            self.descriptions.update(data.descriptions)
            self.optActions.update(data.optActions)
            self.multiUse.update(data.multiUse)
            self.mutuallyExclusive.extend(data.mutuallyExclusive)
            if data.extraActions:
                self.extraActions = data.extraActions
    aCL = reflect.accumulateClassList
    aCD = reflect.accumulateClassDict
    optFlags = []
    optParams = []
    aCL(options.__class__, 'optFlags', optFlags)
    aCL(options.__class__, 'optParameters', optParams)
    for (i, optList) in enumerate(optFlags):
        if (len(optList) != 3):
            optFlags[i] = util.padTo(3, optList)
    for (i, optList) in enumerate(optParams):
        if (len(optList) != 5):
            optParams[i] = util.padTo(5, optList)
    self.optFlags = optFlags
    self.optParams = optParams
    paramNameToDefinition = {
        
    }
    for optList in optParams:
        paramNameToDefinition[optList[0]] = optList[1:]
    self.paramNameToDefinition = paramNameToDefinition
    flagNameToDefinition = {
        
    }
    for optList in optFlags:
        flagNameToDefinition[optList[0]] = optList[1:]
    self.flagNameToDefinition = flagNameToDefinition
    allOptionsNameToDefinition = {
        
    }
    allOptionsNameToDefinition.update(paramNameToDefinition)
    allOptionsNameToDefinition.update(flagNameToDefinition)
    aCD.allOptionsNameToDefinition = allOptionsNameToDefinition
    self.addAdditionalOptions()
    self.verifyZshNames()
    self.excludes = self.makeExcludesDict()

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/_shellcomp.py ZshArgumentsGenerator.__init__/VarMisuse@400/538 `self`->`aCD`