clang
3.9.0
|
#include <FormatTokenLexer.h>
Public Member Functions | |
FormatTokenLexer (const SourceManager &SourceMgr, FileID ID, const FormatStyle &Style, encoding::Encoding Encoding) | |
ArrayRef< FormatToken * > | lex () |
const AdditionalKeywords & | getKeywords () |
Definition at line 29 of file FormatTokenLexer.h.
clang::format::FormatTokenLexer::FormatTokenLexer | ( | const SourceManager & | SourceMgr, |
FileID | ID, | ||
const FormatStyle & | Style, | ||
encoding::Encoding | Encoding | ||
) |
Definition at line 26 of file FormatTokenLexer.cpp.
References clang::format::FormatStyle::ForEachMacros, clang::IdentifierTable::get(), clang::SourceManager::getBuffer(), and clang::format::getFormattingLangOpts().
|
inline |
Definition at line 36 of file FormatTokenLexer.h.
Referenced by clang::format::JavaScriptImportSorter::analyze().
ArrayRef< FormatToken * > clang::format::FormatTokenLexer::lex | ( | ) |
Definition at line 45 of file FormatTokenLexer.cpp.
References clang::comments::tok::eof, clang::format::FormatStyle::Language, and clang::format::FormatStyle::LK_JavaScript.