Lines Matching refs:Tok
145 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn,
148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style),
150 assert(Tok.TokenText.endswith(Postfix));
151 Line = Tok.TokenText.substr(
152 Prefix.size(), Tok.TokenText.size() - Prefix.size() - Postfix.size());
156 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn,
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix,
181 Tok, Prefix.size() + TailOffset + Split.first, Split.second, Postfix,
229 Tok, OriginalPrefix.size() + TailOffset + Split.first, Split.second,
237 Tok, OriginalPrefix.size() + TailOffset + Split.first, Split.second, "",
245 Whitespaces.replaceWhitespaceInToken(Tok, OriginalPrefix.size(), 0, "", "",
397 Text.data() - Tok.TokenText.data() + Split.first;
401 Tok, BreakOffsetInToken, CharsToRemove, "", Prefix, InPPDirective, 1,
410 Text.data() - Tok.TokenText.data() + Split.first;
413 Tok, BreakOffsetInToken, CharsToRemove, "", "", /*InPPDirective=*/false,
442 Tok.TokenText.data() -
445 Tok, WhitespaceOffsetInToken, LeadingWhitespace[LineIndex], "", Prefix,