generateDS.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:ome-model 作者: ome 项目源码 文件源码
def __init__(self):
        handler.ContentHandler.__init__(self)
        self.stack = []
        self.root = None
        self.inElement = 0
        self.inComplexType = 0
        self.inNonanonymousComplexType = 0
        self.inSequence = 0
        self.inChoice = 1
        self.inAttribute = 0
        self.inAttributeGroup = 0
        self.inSimpleType = 0
        self.inUnionType = 0
        self.inAppInfo = 0
        # The last attribute we processed.
        self.lastAttribute = None
        # Simple types that exist in the global context and may be used to
        # qualify the type of many elements and/or attributes.
        self.topLevelSimpleTypes = list()
        # The current choices we have available indexed by their level in the
        # tree.
        self.currentChoices = dict()
##        self.dbgcount = 1
##        self.dbgnames = []
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号