We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
enum
ENUMERATED
Hello.
I expected
foobar [3] IMPLICIT ENUMERATED { six(0), eight(1), ten(2) }
to generate something like:
public static enum Foobar { SIX, EIGHT, TEN }
Some even go as far as (not very :P):
if (instance.getFoobar() != null) { writer.writeComponent("foobar"); switch (instance.getFoobar()) { case SIX: writer.writeIdentifier("six"); break; case EIGHT: writer.writeIdentifier("eight"); break; case TEN: writer.writeIdentifier("ten"); break; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I expected
to generate something like:
Some even go as far as (not very :P):
The text was updated successfully, but these errors were encountered: