Home
last modified time | relevance | path

Searched refs:whitespace_prefix (Results 1 – 4 of 4) sorted by relevance

/external/yapf/yapf/yapflib/
Dformat_token.py126 self.whitespace_prefix = ''
170 if not self.whitespace_prefix:
171 self.whitespace_prefix = (
174 self.whitespace_prefix += indent_before
178 self.whitespace_prefix = (
179 '\n' * newlines_before + self.whitespace_prefix.lstrip('\n'))
Dreformatter.py144 desired_newlines = cur_tok.whitespace_prefix.count('\n')
257 formatted_line.append(tok.whitespace_prefix)
260 if (not tok.next_token.whitespace_prefix.startswith('\n') and
261 not tok.next_token.whitespace_prefix.startswith(' ')):
500 is_inline_comment = prev_last_token.whitespace_prefix.count('\n') == 0
Dformat_decision_state.py769 len(self.line.first.whitespace_prefix.split('\n')[-1]) +
/external/llvm-project/lldb/source/Interpreter/
DCommandObject.cpp846 std::string whitespace_prefix = line.substr(0, result); in FormatLongHelpText() local
848 interpreter.OutputFormattedHelpText(output_strm, whitespace_prefix, in FormatLongHelpText()