Scope.addSymbol

Adds the given symbol to this scope.

struct Scope
void
addSymbol

Parameters

symbol
Type: DSymbol*

the symbol to add

owns
Type: bool

if true, the symbol's destructor will be called when this scope's destructor is called.

Meta