resolve

Attempts to resolve the declaration corresponding to the accessed name. If successful, a ResolvedValueDeclaration representing the declaration of the value accessed by this NameExpr is returned. Otherwise, an UnsolvedSymbolException is thrown.

Return

a ResolvedValueDeclaration representing the declaration of the accessed value.

See also

Throws

if the declaration corresponding to the name expression could not be resolved.