[Groovy] Class Interpreter
- org.codehaus.groovy.tools.shell.Interpreter
- All Implemented Interfaces and Traits:
- Evaluator
class Interpreter
Helper to interpret a source buffer.
Properties Summary
Type | Name and description |
---|---|
static String |
SCRIPT_FILENAME |
Constructor Summary
Constructor and description |
---|
Interpreter
(ClassLoader classLoader, Binding binding) |
Interpreter
(ClassLoader classLoader, Binding binding, CompilerConfiguration configuration) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
def |
evaluate(Collection<String> buffer) | |
GroovyClassLoader |
getClassLoader() | |
Binding |
getContext() | |
GroovyShell |
getShell() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
static final String SCRIPT_FILENAME
Constructor Detail
Interpreter(ClassLoader classLoader, Binding binding)
Interpreter(ClassLoader classLoader, Binding binding, CompilerConfiguration configuration)
Method Detail
@Override def evaluate(Collection<String> buffer)
GroovyClassLoader getClassLoader()
Binding getContext()
GroovyShell getShell()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/tools/shell/Interpreter.html