|
clang
3.8.0
|
Re-lexes a sequence of tok::text tokens. More...
Public Member Functions | |
| TextTokenRetokenizer (llvm::BumpPtrAllocator &Allocator, Parser &P) | |
| bool | lexWord (Token &Tok) |
| Extract a word – sequence of non-whitespace characters. More... | |
| bool | lexDelimitedSeq (Token &Tok, char OpenDelim, char CloseDelim) |
| void | putBackLeftoverTokens () |
| Put back tokens that we didn't consume. More... | |
Re-lexes a sequence of tok::text tokens.
Definition at line 31 of file CommentParser.cpp.
|
inline |
Definition at line 147 of file CommentParser.cpp.
|
inline |
Definition at line 187 of file CommentParser.cpp.
References AttributeLangSupport::C, Length, and Position.
Referenced by clang::comments::Parser::parseParamCommandArgs().
Extract a word – sequence of non-whitespace characters.
Definition at line 154 of file CommentParser.cpp.
References AttributeLangSupport::C, clang::isWhitespace(), Length, and Position.
Referenced by clang::comments::Parser::parseBlockCommandArgs(), clang::comments::Parser::parseInlineCommand(), clang::comments::Parser::parseParamCommandArgs(), and clang::comments::Parser::parseTParamCommandArgs().
|
inline |
Put back tokens that we didn't consume.
Definition at line 234 of file CommentParser.cpp.
Referenced by clang::comments::Parser::parseBlockCommand(), and clang::comments::Parser::parseInlineCommand().
1.8.6