Searched refs:whitespace_prefix (Results 1 – 4 of 4) sorted by relevance
126 self.whitespace_prefix = ''170 if not self.whitespace_prefix:171 self.whitespace_prefix = (174 self.whitespace_prefix += indent_before178 self.whitespace_prefix = (179 '\n' * newlines_before + self.whitespace_prefix.lstrip('\n'))
144 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') and261 not tok.next_token.whitespace_prefix.startswith(' ')):500 is_inline_comment = prev_last_token.whitespace_prefix.count('\n') == 0
769 len(self.line.first.whitespace_prefix.split('\n')[-1]) +
846 std::string whitespace_prefix = line.substr(0, result); in FormatLongHelpText() local848 interpreter.OutputFormattedHelpText(output_strm, whitespace_prefix, in FormatLongHelpText()