declaringVisitor property

InterpreterVisitor? declaringVisitor
getter/setter pair

The visitor that declared this enum, so InterpretedEnumValue.toString can reach a script's toString override after the interpreter has unwound. See InterpretedClass.declaringVisitor — same wiring, same reason, assigned once per enum in visitEnumDeclaration.

Implementation

InterpreterVisitor? declaringVisitor;