symbolIsVisible

Same as above but also checks for protected symbols visible from scope sc. Used for qualified name lookup.

Parameters

sc
Type: Scope*

lookup scope

s
Type: Dsymbol

symbol to check for visibility

Return Value

Type: bool

true if s is visible by origin

Meta