#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Lex/Token.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
#include <tuple>
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
namespace | clang::syntax |
|
|
llvm::raw_ostream & | clang::syntax::operator<< (llvm::raw_ostream &OS, const FileRange &R) |
| For debugging purposes.
|
|
llvm::raw_ostream & | clang::syntax::operator<< (llvm::raw_ostream &OS, const Token &T) |
| For debugging purposes. Equivalent to a call to Token::str().
|
|
llvm::ArrayRef< syntax::Token > | clang::syntax::spelledTokensTouching (SourceLocation Loc, const syntax::TokenBuffer &Tokens) |
| The spelled tokens that overlap or touch a spelling location Loc.
|
|
llvm::ArrayRef< syntax::Token > | clang::syntax::spelledTokensTouching (SourceLocation Loc, llvm::ArrayRef< syntax::Token > Tokens) |
|
const syntax::Token * | clang::syntax::spelledIdentifierTouching (SourceLocation Loc, llvm::ArrayRef< syntax::Token > Tokens) |
| The identifier token that overlaps or touches a spelling location Loc.
|
|
const syntax::Token * | clang::syntax::spelledIdentifierTouching (SourceLocation Loc, const syntax::TokenBuffer &Tokens) |
|
std::vector< syntax::Token > | clang::syntax::tokenize (FileID FID, const SourceManager &SM, const LangOptions &LO) |
| Lex the text buffer, corresponding to FID , in raw mode and record the resulting spelled tokens.
|
|
std::vector< syntax::Token > | clang::syntax::tokenize (const FileRange &FR, const SourceManager &SM, const LangOptions &LO) |
| Similar to one above, instead of whole file tokenizes a part of it.
|
|