sun::semantic_analysis::ImportBinding
struct · Source (opens in a new tab)
struct sun::semantic_analysis::ImportBindingScope-based import binding — a reference to a symbol in another scope.
Public Functions
ImportBinding
ImportBinding()
public · function · Source (opens in a new tab)
sun::semantic_analysis::ImportBinding::ImportBinding()Creates a binding from a local import name to its source declaration.
ImportBinding(std::string local, SemanticScopeBase *src, std::string srcName)
public · function · Source (opens in a new tab)
sun::semantic_analysis::ImportBinding::ImportBinding(std::string local, SemanticScopeBase *src, std::string srcName)Creates a binding from a local import name to its source declaration.
Related: SemanticScopeBase
wildcard
public · function · static · Source (opens in a new tab)
static ImportBinding sun::semantic_analysis::ImportBinding::wildcard(SemanticScopeBase *src)Creates an import binding that exposes names from the supplied scope.
Related: ImportBinding, SemanticScopeBase
Public Fields
isWildcard
public · variable · Source (opens in a new tab)
bool sun::semantic_analysis::ImportBinding::isWildcardNo documentation comment.
localName
public · variable · Source (opens in a new tab)
std::string sun::semantic_analysis::ImportBinding::localNameNo documentation comment.
sourceFileId
public · variable · Source (opens in a new tab)
SourceFileId sun::semantic_analysis::ImportBinding::sourceFileId = 0No documentation comment.
Related: SourceFileId
sourceName
public · variable · Source (opens in a new tab)
std::string sun::semantic_analysis::ImportBinding::sourceNameNo documentation comment.
sourceScope
public · variable · Source (opens in a new tab)
SemanticScopeBase* sun::semantic_analysis::ImportBinding::sourceScopeNo documentation comment.
Related: SemanticScopeBase