org.jetbrains.jet.cli.jvm.repl
Class ReplInterpreter.LineResult

java.lang.Object
  extended by org.jetbrains.jet.cli.jvm.repl.ReplInterpreter.LineResult
Enclosing class:
ReplInterpreter

public static class ReplInterpreter.LineResult
extends java.lang.Object


Method Summary
static ReplInterpreter.LineResult error(java.lang.String errorText)
           
 java.lang.String getErrorText()
           
 ReplInterpreter.LineResultType getType()
           
 java.lang.Object getValue()
           
static ReplInterpreter.LineResult incomplete()
           
 boolean isUnit()
           
static ReplInterpreter.LineResult successful(java.lang.Object value, boolean unit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

@NotNull
public ReplInterpreter.LineResultType getType()

getValue

public java.lang.Object getValue()

isUnit

public boolean isUnit()

getErrorText

@NotNull
public java.lang.String getErrorText()

successful

public static ReplInterpreter.LineResult successful(java.lang.Object value,
                                                    boolean unit)

error

public static ReplInterpreter.LineResult error(@NotNull
                                               java.lang.String errorText)

incomplete

public static ReplInterpreter.LineResult incomplete()