Home | History | Annotate | Download | only in Lex

Lines Matching refs:TokenLexer

1 //===--- TokenLexer.cpp - Lex from a token stream -------------------------===//
10 // This file implements the TokenLexer interface.
14 #include "clang/Lex/TokenLexer.h"
24 /// Create a TokenLexer for the specified macro with the specified actual
26 void TokenLexer::Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI,
28 // If the client is reusing a TokenLexer, make sure to free any memory
81 /// Create a TokenLexer for the specified token stream. This does not
83 void TokenLexer::Init(const Token *TokArray, unsigned NumToks,
85 // If the client is reusing a TokenLexer, make sure to free any memory
111 void TokenLexer::destroy() {
120 // TokenLexer owns its formal arguments.
124 bool TokenLexer::MaybeRemoveCommaBeforeVaArgs(
171 void TokenLexer::ExpandFunctionArguments() {
400 // when this TokenLexer finishes lexing them.
410 bool TokenLexer::Lex(Token &Tok) {
508 bool TokenLexer::PasteTokens(Token &Tok) {
680 unsigned TokenLexer::isNextTokenLParen() const {
689 bool TokenLexer::isParsingPreprocessorDirective() const {
698 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok) {
715 TokenLexer::getExpansionLocForMacroDefLoc(SourceLocation loc) const {
801 void TokenLexer::updateLocForMacroArgTokens(SourceLocation ArgIdSpellLoc,
823 void TokenLexer::PropagateLineStartLeadingSpaceInfo(Token &Result) {