@Deprecated class Interpreter extends Object implements Evaluator
Helper to interpret a source buffer.
| Type | Name and description | 
|---|---|
static String  | 
                            SCRIPT_FILENAME | 
                        
| Constructor and description | 
|---|
                                Interpreter
                                (ClassLoader classLoader, Binding binding) | 
                        
                                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-2024 The Apache Software Foundation. All rights reserved.