clang 20.0.0git
|
This file implements a sort operation for JavaScript ES6 imports. More...
#include "SortJavaScriptImports.h"
#include "TokenAnalyzer.h"
#include "TokenAnnotator.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/DiagnosticOptions.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Format/Format.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Debug.h"
#include <algorithm>
#include <string>
Go to the source code of this file.
Classes | |
struct | clang::format::JsImportedSymbol |
struct | clang::format::JsModuleReference |
class | clang::format::JavaScriptImportSorter |
Namespaces | |
namespace | clang |
The JSON file list parser is used to communicate input to InstallAPI. | |
namespace | clang::format |
Macros | |
#define | DEBUG_TYPE "format-formatter" |
Functions | |
bool | clang::format::operator< (const JsModuleReference &LHS, const JsModuleReference &RHS) |
tooling::Replacements | clang::format::sortJavaScriptImports (const FormatStyle &Style, StringRef Code, ArrayRef< tooling::Range > Ranges, StringRef FileName) |
This file implements a sort operation for JavaScript ES6 imports.
Definition in file SortJavaScriptImports.cpp.
#define DEBUG_TYPE "format-formatter" |
Definition at line 30 of file SortJavaScriptImports.cpp.