• Prev Type
  • Next Type

io.sarl.lang.interpreter
Class SarlExpressionInterpreter
All Superinterfaces:
org.eclipse.xtext.xbase.interpreter.IExpressionInterpreter
class SarlExpressionInterpreter
extends java.lang.Object
Interpreter of SARL expressions (not SARL declaration types).
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.12
Constructor Summary
Constructor and description
new
Injection constructor.
new(Provider<T>,JavaReflectAccess,ClassLoader)
Constructor.
Action Summary
Modifier and type Action and description
java.lang.ClassLoader expandClassLoader(UnaryOperator<T>)
Expand the current class loader with the class loader that is build with the given operator.
void setClassLoader(ClassLoader)
Constructor Details
new
new
Injection constructor.
new(Provider<T>,JavaReflectAccess,ClassLoader)
new(Provider<T>,JavaReflectAccess,ClassLoader)
Constructor.
Parameters:
contextProvider - the provider of evaluation context.
javaReflectAccess - the accessor to the Java types.
loader - the class loader to be used.
Action Details
expandClassLoader(UnaryOperator<T>)
def expandClassLoader(UnaryOperator<T>) : java.lang.ClassLoader
Expand the current class loader with the class loader that is build with the given operator. The interpreter's class loader is the result of the given builder to which the current class loader is provided.
Parameters:
builder - the class loader builder.
Returns:
the expand class loader.
setClassLoader(ClassLoader)
def setClassLoader(ClassLoader)