| Index: tools/gn/tokenizer.h
|
| diff --git a/tools/gn/tokenizer.h b/tools/gn/tokenizer.h
|
| index 13d79097ce39a1f38809f2f53c122680896d5b77..6a1a80afbdf99596099a849bc6d886bcf02446ae 100644
|
| --- a/tools/gn/tokenizer.h
|
| +++ b/tools/gn/tokenizer.h
|
| @@ -52,6 +52,11 @@ class Tokenizer {
|
| Token::Type ClassifyCurrent() const;
|
| void AdvanceToEndOfToken(const Location& location, Token::Type type);
|
|
|
| + // Whether from this location back to the beginning of the line is only
|
| + // whitespace. |location| should be the first character of the token to be
|
| + // checked.
|
| + bool AtStartOfLine(size_t location) const;
|
| +
|
| bool IsCurrentWhitespace() const;
|
| bool IsCurrentNewline() const;
|
| bool IsCurrentStringTerminator(char quote_char) const;
|
|
|