hasThis

Determine if this is available by walking up the enclosing scopes until a function is found.

Parameters

sc Scope*

where to start looking for the enclosing function

Return Value

Found function if it satisfies isThis(), otherwise null

Suggestion Box / Bug Report