Searched refs:newlines_before (Results 1 – 2 of 2) sorted by relevance
142 def AddWhitespacePrefix(self, newlines_before, spaces=0, indent_level=0): argument153 if newlines_before > 0:172 '\n' * (self.newlines or newlines_before) + indent_before)176 def AdjustNewlinesBefore(self, newlines_before): argument179 '\n' * newlines_before + self.whitespace_prefix.lstrip('\n'))
523 current.AddWhitespacePrefix(newlines_before=0, spaces=spaces)567 newlines_before=1, spaces=spaces, indent_level=indent_level)