示例#1
0
 def __init__(self, document):
     GenericNodeVisitor.__init__(self, document)
     self.list_item_prefix = None
     self.indent = self.old_indent = ''
     self.output = []
     self.preformat = False
     self.section_level = 0
     self.list_depth = 0
     self.in_table = 0
     self.skip_children = 0
     self.in_title = 0
示例#2
0
 def __init__(self, doc):
     GenericNodeVisitor.__init__(self, doc)
     self.found_usage = []
示例#3
0
 def __init__(self, document, replacements):
     GenericNodeVisitor.__init__(self, document)
     self.replacements = replacements
     self.lastref = None
示例#4
0
 def __init__(self, document, builder):
     GenericNodeVisitor.__init__(self, document)
     self.builder = builder
     self.content = []
示例#5
0
 def __init__(self, document, builder):
     GenericNodeVisitor.__init__(self, document)
     self.builder = builder
     self.content = []
示例#6
0
 def __init__(self, document, replacements):
     GenericNodeVisitor.__init__(self, document)
     self.replacements = replacements
     self.lastref = None
示例#7
0
 def __init__(self, *args, **kw):
     self.sections = [ Section() ]
     GenericNodeVisitor.__init__(self, *args, **kw)