public void Link() { errors = new List <LinkingError>(); var walker = new Walker(ast.Root, this); walker.DoWalk(); if (errors.Count > 0) { throw new FailedLinkException(errors); } }