clang  15.0.0git
Public Types | Public Attributes | List of all members
clang::format::JsModuleReference Struct Reference
Collaboration diagram for clang::format::JsModuleReference:
Collaboration graph
[legend]

Public Types

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

Public Attributes

bool FormattingOff = false
 
bool IsExport = 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 72 of file SortJavaScriptImports.cpp.

Member Enumeration Documentation

◆ ReferenceCategory

Enumerator
SIDE_EFFECT 
ABSOLUTE 
RELATIVE_PARENT 
RELATIVE 
ALIAS 

Definition at line 76 of file SortJavaScriptImports.cpp.

Member Data Documentation

◆ Category

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

Definition at line 83 of file SortJavaScriptImports.cpp.

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

◆ DefaultImport

StringRef clang::format::JsModuleReference::DefaultImport

Definition at line 90 of file SortJavaScriptImports.cpp.

◆ FormattingOff

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

Definition at line 73 of file SortJavaScriptImports.cpp.

◆ IsExport

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

Definition at line 74 of file SortJavaScriptImports.cpp.

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

◆ Prefix

StringRef clang::format::JsModuleReference::Prefix

Definition at line 88 of file SortJavaScriptImports.cpp.

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

◆ Range

SourceRange clang::format::JsModuleReference::Range

Definition at line 101 of file SortJavaScriptImports.cpp.

◆ Symbols

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

Definition at line 92 of file SortJavaScriptImports.cpp.

◆ SymbolsEnd

SourceLocation clang::format::JsModuleReference::SymbolsEnd

Definition at line 98 of file SortJavaScriptImports.cpp.

◆ SymbolsMerged

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

Definition at line 95 of file SortJavaScriptImports.cpp.

◆ SymbolsStart

SourceLocation clang::format::JsModuleReference::SymbolsStart

Definition at line 98 of file SortJavaScriptImports.cpp.

◆ URL

StringRef clang::format::JsModuleReference::URL

Definition at line 85 of file SortJavaScriptImports.cpp.

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


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