Skip to content
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

Able to use expressions on the right of Flags Enum Operators. #14

Merged
merged 4 commits into from
Mar 8, 2018

Conversation

AdamSpeight2008
Copy link
Owner

Add support for parenthesised expression (expression) on the right of Flags Enum operators.
Supported operators

  • Are all of the following flag(s) set? Returns Boolean
    • flags ! flag
    • flags ! (expr)
  • Are any of the following flag(s) set? Returns Boolean
    • flags !/ flag
    • flags !/ (expr)
  • Set all of these flag(s), returns a Flags Enum type.
    • flags !+ flag
    • flags !+ (expr)
  • Clear all of these flag(s), returns a Flags Enum type.
    • flags !- flag
    • flags !- (expr)

@AdamSpeight2008 AdamSpeight2008 merged commit 996d15d into EnumFlagExpression Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant