public @nonterminal static class Body extends Dump {
public Section[] sections;
- // FIXME: it would be nice to be able to
- // void KeyVal(String, String) { ... } imperatively
}
public @nonterminal("Section") static class Section extends Dump {
}
public @nonterminal static class KeyVal extends Dump {
- public @arg("key") String key;
- public @arg("val") Object val;
+ public @arg String key;
+ public @arg Object val;
}
public static class Paragraph extends Dump { }