New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iterator getter attribute #55

Closed
retailcoder opened this Issue Nov 19, 2014 · 1 comment

Comments

@retailcoder
Copy link
Member

retailcoder commented Nov 19, 2014

Allows user to mark a class' NewEnum member {Property Get) as being an iterator, which allows using the class in a For Each loop construct.

Warn user when toggling this off, as it is a breaking change.

@retailcoder retailcoder added this to the Module & Procedure Attributes milestone Nov 19, 2014

@rubberduck203 rubberduck203 modified the milestone: Module & Procedure Attributes Feb 10, 2015

@retailcoder retailcoder added this to the Future Versions milestone Feb 10, 2015

@retailcoder retailcoder referenced this issue Sep 22, 2015

Closed

Handle Procedure Attributes #786

4 of 4 tasks complete

@retailcoder retailcoder modified the milestones: Version 2.0, Future Versions Sep 22, 2015

@retailcoder retailcoder modified the milestones: v2.1, Version 2.0 Mar 18, 2016

@retailcoder

This comment has been minimized.

Copy link
Member

retailcoder commented Mar 13, 2017

Per linked issue, this will be implemented as an annotation:

'@MemberAttribute.VB_UserMemId(-4)

Or simply:

'@Enumerator

This annotation will require an inspection to ensure it's only found once in a given module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment