sun::semantic_analysis::SymbolMatch
struct · Source (opens in a new tab)
struct sun::semantic_analysis::SymbolMatchResult of a symbol lookup - contains the symbol and where it was found.
Public Functions
display
public · function · Source (opens in a new tab)
std::string sun::semantic_analysis::SymbolMatch::display() constDisplay name for error messages, with library hash segments left out.
empty
public · function · Source (opens in a new tab)
bool sun::semantic_analysis::SymbolMatch::empty() constReports whether this object contains no entries.
operator bool
public · function · Source (opens in a new tab)
sun::semantic_analysis::SymbolMatch::operator bool() constReports whether this lookup result refers to a declaration.
Public Fields
- classType
- enumType
- functionInfo
- genericClassInfo
- genericFunctionInfo
- genericInterfaceInfo
- interfaceType
- kind
- libraryHash
- modulePath
- name
- variableInfo
classType
public · variable · Source (opens in a new tab)
std::shared_ptr<sun::types::ClassType> sun::semantic_analysis::SymbolMatch::classTypeNo documentation comment.
Related: sun::types::ClassType
enumType
public · variable · Source (opens in a new tab)
std::shared_ptr<sun::types::EnumType> sun::semantic_analysis::SymbolMatch::enumTypeNo documentation comment.
Related: sun::types::EnumType
functionInfo
public · variable · Source (opens in a new tab)
const FunctionInfo* sun::semantic_analysis::SymbolMatch::functionInfo = nullptrNo documentation comment.
Related: FunctionInfo
genericClassInfo
public · variable · Source (opens in a new tab)
const GenericClassInfo* sun::semantic_analysis::SymbolMatch::genericClassInfo = nullptrNo documentation comment.
Related: GenericClassInfo
genericFunctionInfo
public · variable · Source (opens in a new tab)
const GenericFunctionInfo* sun::semantic_analysis::SymbolMatch::genericFunctionInfo = nullptrNo documentation comment.
Related: GenericFunctionInfo
genericInterfaceInfo
public · variable · Source (opens in a new tab)
const GenericInterfaceInfo* sun::semantic_analysis::SymbolMatch::genericInterfaceInfo = nullptrNo documentation comment.
Related: GenericInterfaceInfo
interfaceType
public · variable · Source (opens in a new tab)
std::shared_ptr<sun::types::InterfaceType> sun::semantic_analysis::SymbolMatch::interfaceTypeNo documentation comment.
Related: sun::types::InterfaceType
kind
public · variable · Source (opens in a new tab)
SymbolKind sun::semantic_analysis::SymbolMatch::kind = SymbolKind::NoneNo documentation comment.
Related: SymbolKind, SymbolKind::None
libraryHash
public · variable · Source (opens in a new tab)
std::string sun::semantic_analysis::SymbolMatch::libraryHashNo documentation comment.
modulePath
public · variable · Source (opens in a new tab)
std::string sun::semantic_analysis::SymbolMatch::modulePathNo documentation comment.
name
public · variable · Source (opens in a new tab)
std::string sun::semantic_analysis::SymbolMatch::nameNo documentation comment.
variableInfo
public · variable · Source (opens in a new tab)
const VariableInfo* sun::semantic_analysis::SymbolMatch::variableInfo = nullptrNo documentation comment.
Related: VariableInfo