public class InterpreterModeCustomizerProvider extends Object implements CompilerCustomizerProvider
ScriptEngine
in "interpreter mode" where local variables of a script are treated as global
bindings. This implementation is technically not a true CompilerCustomizerProvider
instance as the
"interpreter mode" feature does not require a CompilerCustomizer
. This class merely acts as a flag that
tells the GremlinGroovyScriptEngine
to turn this feature on.Constructor and Description |
---|
InterpreterModeCustomizerProvider() |
Modifier and Type | Method and Description |
---|---|
CompilationCustomizer |
create()
Create a new instance of a
CompilationCustomizer to add to the GremlinGroovyScriptEngine . |
public CompilationCustomizer create()
CompilerCustomizerProvider
CompilationCustomizer
to add to the GremlinGroovyScriptEngine
.create
in interface CompilerCustomizerProvider
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.