Home
last modified time | relevance | path

Searched refs:newlines_before (Results 1 – 2 of 2) sorted by relevance

/external/yapf/yapf/yapflib/
Dformat_token.py142 def AddWhitespacePrefix(self, newlines_before, spaces=0, indent_level=0): argument
153 if newlines_before > 0:
172 '\n' * (self.newlines or newlines_before) + indent_before)
176 def AdjustNewlinesBefore(self, newlines_before): argument
179 '\n' * newlines_before + self.whitespace_prefix.lstrip('\n'))
Dformat_decision_state.py523 current.AddWhitespacePrefix(newlines_before=0, spaces=spaces)
567 newlines_before=1, spaces=spaces, indent_level=indent_level)