clang 22.0.0git
clang::format::JsModuleReference Struct Reference

Public Types

enum  ReferenceCategory {
  SIDE_EFFECT , ABSOLUTE , RELATIVE_PARENT , RELATIVE ,
  ALIAS
}

Public Attributes

bool FormattingOff = false
bool IsExport = false
bool IsTypeOnly = false
ReferenceCategory Category = ReferenceCategory::SIDE_EFFECT
StringRef URL
StringRef Prefix
StringRef DefaultImport
SmallVector< JsImportedSymbol, 1 > Symbols
bool SymbolsMerged = false
SourceLocation SymbolsStart
SourceLocation SymbolsEnd
SourceRange Range

Detailed Description

Definition at line 68 of file SortJavaScriptImports.cpp.

Member Enumeration Documentation

◆ ReferenceCategory

Enumerator
SIDE_EFFECT 
ABSOLUTE 
RELATIVE_PARENT 
RELATIVE 
ALIAS 

Definition at line 73 of file SortJavaScriptImports.cpp.

Member Data Documentation

◆ Category

ReferenceCategory clang::format::JsModuleReference::Category = ReferenceCategory::SIDE_EFFECT

Definition at line 80 of file SortJavaScriptImports.cpp.

Referenced by clang::format::operator<().

◆ DefaultImport

StringRef clang::format::JsModuleReference::DefaultImport

Definition at line 87 of file SortJavaScriptImports.cpp.

◆ FormattingOff

bool clang::format::JsModuleReference::FormattingOff = false

Definition at line 69 of file SortJavaScriptImports.cpp.

◆ IsExport

bool clang::format::JsModuleReference::IsExport = false

Definition at line 70 of file SortJavaScriptImports.cpp.

Referenced by clang::format::operator<().

◆ IsTypeOnly

bool clang::format::JsModuleReference::IsTypeOnly = false

Definition at line 71 of file SortJavaScriptImports.cpp.

◆ Prefix

StringRef clang::format::JsModuleReference::Prefix

Definition at line 85 of file SortJavaScriptImports.cpp.

Referenced by clang::format::operator<().

◆ Range

SourceRange clang::format::JsModuleReference::Range

Definition at line 98 of file SortJavaScriptImports.cpp.

◆ Symbols

SmallVector<JsImportedSymbol, 1> clang::format::JsModuleReference::Symbols

Definition at line 89 of file SortJavaScriptImports.cpp.

◆ SymbolsEnd

SourceLocation clang::format::JsModuleReference::SymbolsEnd

Definition at line 95 of file SortJavaScriptImports.cpp.

◆ SymbolsMerged

bool clang::format::JsModuleReference::SymbolsMerged = false

Definition at line 92 of file SortJavaScriptImports.cpp.

◆ SymbolsStart

SourceLocation clang::format::JsModuleReference::SymbolsStart

Definition at line 95 of file SortJavaScriptImports.cpp.

◆ URL

StringRef clang::format::JsModuleReference::URL

Definition at line 82 of file SortJavaScriptImports.cpp.

Referenced by clang::format::operator<().


The documentation for this struct was generated from the following file: