Example #1
0
	def __init__(self, io):
		ASTVisitor.__init__(self)
		self.io = io
		self.pass_fields = True
Example #2
0
	def __init__(self, root, parent, cpass):
		ASTVisitor.__init__(self)
		self.root = root
		self.parent = parent
		self.cpass = cpass
Example #3
0
	def __init__(self, io, **kwargs):
		ASTVisitor.__init__(self)
		self.io = io
		self.tab_depth = 0
		self.line_comments = ("line_comments" in kwargs)
		self.src_line_comments = (kwargs.get("src_line_comments", False) == True)