sun::semantic_analysis::ImportBinding

sun::semantic_analysis::ImportBinding

struct · Source (opens in a new tab)

struct sun::semantic_analysis::ImportBinding

Scope-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::isWildcard

No documentation comment.

localName

public · variable · Source (opens in a new tab)

std::string sun::semantic_analysis::ImportBinding::localName

No documentation comment.

sourceFileId

public · variable · Source (opens in a new tab)

SourceFileId sun::semantic_analysis::ImportBinding::sourceFileId = 0

No documentation comment.

Related: SourceFileId

sourceName

public · variable · Source (opens in a new tab)

std::string sun::semantic_analysis::ImportBinding::sourceName

No documentation comment.

sourceScope

public · variable · Source (opens in a new tab)

SemanticScopeBase* sun::semantic_analysis::ImportBinding::sourceScope

No documentation comment.

Related: SemanticScopeBase