Lines Matching refs:dent
87 def _prettyPrintByName(self, name, seen=None, dent=0): argument
109 seen, dent=dent).to_str(self._prettyPrintByName)
126 return self._prettyPrintByName(name, seen=[], dent=1)[:-2]
129 def _prettyPrintSchema(self, schema, seen=None, dent=0): argument
144 return _SchemaToStruct(schema, seen, dent=dent).to_str(self._prettyPrintByName)
157 return self._prettyPrintSchema(schema, dent=1)[:-2]
172 def __init__(self, schema, seen, dent=0): argument
191 self.dent = dent
206 self.value.extend([" " * self.dent, text, '\n'])
214 self.value.extend([" " * self.dent, text])
224 divider = '\n' + ' ' * (self.dent + 2) + '# '
234 self.dent += 1
238 self.dent -= 1