symbolToExp

Turn symbol s into the expression it represents.

symbolToExp
(,
const ref Loc loc
,,)

Parameters

s Dsymbol

symbol to resolve

loc Loc

location of use of s

sc Scope*

context

hasOverloads bool

applies if s represents a function. true means it's overloaded and will be resolved later, false means it's the exact function symbol.

Return Value

s turned into an expression, ErrorExp if an error occurred

Meta