[Groovy] Class Interpreter

  • org.codehaus.groovy.tools.shell.Interpreter
All Implemented Interfaces and Traits:
Evaluator
class Interpreter

Helper to interpret a source buffer.

Authors:
Jason Dillon

Properties Summary

Properties
Type Name and description
static String SCRIPT_FILENAME

Constructor Summary

Constructors
Constructor and description
Interpreter (ClassLoader classLoader, Binding binding)

Methods Summary

Methods
Type Params Return Type Name and description
def evaluate(Collection<String> buffer)
GroovyClassLoader getClassLoader()
Binding getContext()

Inherited Methods Summary

Inherited Methods
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)

Method Detail

@Override def evaluate(Collection<String> buffer)

GroovyClassLoader getClassLoader()

Binding getContext()

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/tools/shell/Interpreter.html