@AutoFinal @CompileStatic class Interpreter extends Object implements Evaluator
Helper to interpret a source buffer.
| Modifiers | Name | Description | 
|---|---|---|
protected static String  | 
                            SCRIPT_FILENAME | 
                            
| Constructor and description | 
|---|
                                Interpreter(ClassLoader classLoader, Binding binding, CompilerConfiguration configuration) | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            Object | 
                            evaluate(Collection<String> buffer) | 
                        
 | 
                            GroovyClassLoader | 
                            getClassLoader() | 
                        
 | 
                            Binding | 
                            getContext() | 
                        
 | 
                            GroovyShell | 
                            getShell() | 
                        
Copyright © 2003-2025 The Apache Software Foundation. All rights reserved.