Description
Currently if you declare a class within a script it will get incorrectly processed by
InterpreterModeASTTransformation usually resulting in an exception.
InterpreterModeASTTransformation#visit should check that it is being applied to a class that extends Script.