Resolves dependencies by parsing the code