OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TokenLexer
(Results
1 - 7
of
7
) sorted by null
/external/clang/include/clang/Lex/
TokenLexer.h
1
//===---
TokenLexer
.h - Lex from a token buffer -----------------*- C++ -*-===//
10
// This file defines the
TokenLexer
interface.
25
///
TokenLexer
- This implements a lexer that returns tokens from a macro body
29
class
TokenLexer
{
36
/// null. The
TokenLexer
owns the pointed-to object.
92
/// OwnsTokens - This is true if this
TokenLexer
allocated the Tokens
98
/// DisableMacroExpansion - This is true when tokens lexed from the
TokenLexer
102
TokenLexer
(const
TokenLexer
&) LLVM_DELETED_FUNCTION;
103
void operator=(const
TokenLexer
&) LLVM_DELETED_FUNCTION
[
all
...]
Preprocessor.h
28
#include "clang/Lex/
TokenLexer
.h"
283
std::unique_ptr<
TokenLexer
> CurTokenLexer;
307
std::unique_ptr<
TokenLexer
> TheTokenLexer;
316
std::unique_ptr<
TokenLexer
> &&TheTokenLexer,
394
TokenLexer
*TokenLexerCache[TokenLexerCacheSize];
399
/// Works like a stack; a
TokenLexer
adds the macro expanded tokens that is
403
std::vector<std::pair<
TokenLexer
*, size_t> > MacroExpandingLexersStack;
[
all
...]
/external/clang/lib/Lex/
Android.mk
34
TokenLexer
.cpp
TokenLexer.cpp
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()
[
all
...]
PPLexerChange.cpp
163
TokenLexer
*TokLexer;
165
TokLexer = new
TokenLexer
(Tok, ILEnd, Macro, Args, *this);
194
TokenLexer
*TokLexer;
196
TokLexer = new
TokenLexer
(Toks, NumToks, DisableMacroExpansion,
515
/// HandleEndOfTokenLexer - This callback is invoked when the current
TokenLexer
PPMacroExpansion.cpp
775
/// Works like a stack; a
TokenLexer
adds the macro expanded tokens that is
778
Token *Preprocessor::cacheMacroExpandedTokens(
TokenLexer
*tokLexer,
793
TokenLexer
*prevLexer;
[
all
...]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
MacroExpander.cpp
18
class
TokenLexer
: public Lexer
23
TokenLexer
(TokenVector *tokens)
43
PP_DISALLOW_COPY_AND_ASSIGN(
TokenLexer
);
319
TokenLexer
lexer(&arg);
Completed in 314 milliseconds