clang 19.0.0git
Public Types | Public Attributes | List of all members
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 72 of file SortJavaScriptImports.cpp.

Member Enumeration Documentation

◆ ReferenceCategory

Enumerator
SIDE_EFFECT 
ABSOLUTE 
RELATIVE_PARENT 
RELATIVE 
ALIAS 

Definition at line 77 of file SortJavaScriptImports.cpp.

Member Data Documentation

◆ Category

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

Definition at line 84 of file SortJavaScriptImports.cpp.

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

◆ DefaultImport

StringRef clang::format::JsModuleReference::DefaultImport

Definition at line 91 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<().

◆ IsTypeOnly

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

Definition at line 75 of file SortJavaScriptImports.cpp.

◆ Prefix

StringRef clang::format::JsModuleReference::Prefix

Definition at line 89 of file SortJavaScriptImports.cpp.

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

◆ Range

SourceRange clang::format::JsModuleReference::Range

Definition at line 102 of file SortJavaScriptImports.cpp.

◆ Symbols

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

Definition at line 93 of file SortJavaScriptImports.cpp.

◆ SymbolsEnd

SourceLocation clang::format::JsModuleReference::SymbolsEnd

Definition at line 99 of file SortJavaScriptImports.cpp.

◆ SymbolsMerged

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

Definition at line 96 of file SortJavaScriptImports.cpp.

◆ SymbolsStart

SourceLocation clang::format::JsModuleReference::SymbolsStart

Definition at line 99 of file SortJavaScriptImports.cpp.

◆ URL

StringRef clang::format::JsModuleReference::URL

Definition at line 86 of file SortJavaScriptImports.cpp.

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


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