org.jetbrains.kotlin.cli.jvm.repl
Class ReplInterpreter

java.lang.Object
  extended by org.jetbrains.kotlin.cli.jvm.repl.ReplInterpreter

public class ReplInterpreter
extends java.lang.Object


Nested Class Summary
static class ReplInterpreter.LineResult
           
static class ReplInterpreter.LineResultType
           
 
Constructor Summary
ReplInterpreter(com.intellij.openapi.Disposable disposable, CompilerConfiguration configuration)
           
 
Method Summary
static void compileScript(JetScript script, org.jetbrains.org.objectweb.asm.Type classType, java.util.List<com.intellij.openapi.util.Pair<ScriptDescriptor,org.jetbrains.org.objectweb.asm.Type>> earlierScripts, GenerationState state, CompilationErrorHandler errorHandler)
           
 void dumpClasses(java.io.PrintWriter out)
           
 ReplInterpreter.LineResult eval(java.lang.String line)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplInterpreter

public ReplInterpreter(@NotNull
                       com.intellij.openapi.Disposable disposable,
                       @NotNull
                       CompilerConfiguration configuration)
Method Detail

eval

@NotNull
public ReplInterpreter.LineResult eval(@NotNull
                                               java.lang.String line)

dumpClasses

public void dumpClasses(@NotNull
                        java.io.PrintWriter out)

compileScript

public static void compileScript(@NotNull
                                 JetScript script,
                                 @NotNull
                                 org.jetbrains.org.objectweb.asm.Type classType,
                                 @NotNull
                                 java.util.List<com.intellij.openapi.util.Pair<ScriptDescriptor,org.jetbrains.org.objectweb.asm.Type>> earlierScripts,
                                 @NotNull
                                 GenerationState state,
                                 @NotNull
                                 CompilationErrorHandler errorHandler)