Lines Matching refs:formatter
50 formatter = format.DefaultFormatter(stream)
51 pretty_printer = PrettyPrinter(formatter)
150 def __init__(self, formatter):
151 self.formatter = formatter
155 self.formatter.literal('NULL')
160 self.formatter.address('blob(%u)' % len(node.value))
161 #self.formatter.text('...')
164 self.formatter.literal('"' + node.value + '"')
167 self.formatter.literal(repr(node.value))
170 self.formatter.literal(node.name)
173 self.formatter.text('{')
176 self.formatter.text(sep)
179 self.formatter.text('}')
182 self.formatter.text('{')
185 self.formatter.text(sep)
186 self.formatter.variable(name)
187 self.formatter.text(' = ')
190 self.formatter.text('}')
193 self.formatter.address(node.address)
196 self.formatter.text('%s ' % node.no)
198 self.formatter.function(node.klass + '::' + node.method)
200 self.formatter.function(node.method)
201 self.formatter.text('(')
204 self.formatter.text(sep)
205 self.formatter.variable(name)
206 self.formatter.text(' = ')
209 self.formatter.text(')')
211 self.formatter.text(' = ')
217 self.formatter.newline()