Add option to change the name of ASTNode$State
Issue #216
resolved
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)
-
reporter -
reporter - changed status to resolved
Added --stateClassName option
The --stateClassName option can be used to change the name of the generated ASTNode$State class.
fixes
#216(bitbucket)→ <<cset 184e39e3132a>>
- Log in to comment
Adding this option means that the default name for
ASTNode$State
will be exactlyASTNode$State
, i.e. no longer affected by the--ASTNode
option.