Added source code parsing as a way to determine scopes of variables