Add option to change the name of ASTNode$State

Issue #216 resolved
Jesper Öqvist created an issue

JastAdd2 2.1.11-17-g6e9be21

I would be useful to have an option to change the name of the generated type ASTNode$State. Since this class is only used internally in generated code we probably could make it a nested class in ASTNode. However, as long as it is generated as a top-level type the user should have some control of the name, just like other current top-level generated types.

Comments (2)

  1. Jesper Öqvist reporter

    Adding this option means that the default name for ASTNode$State will be exactly ASTNode$State, i.e. no longer affected by the --ASTNode option.

  2. Log in to comment