org.jetbrains.kotlin.cli.jvm.repl
Class ReplInterpreter.LineResult
java.lang.Object
org.jetbrains.kotlin.cli.jvm.repl.ReplInterpreter.LineResult
- Enclosing class:
- ReplInterpreter
public static class ReplInterpreter.LineResult
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getType
@NotNull
public ReplInterpreter.LineResultType getType()
getValue
public java.lang.Object getValue()
isUnit
public boolean isUnit()
getErrorText
@NotNull
public java.lang.String getErrorText()
successful
@NotNull
public static ReplInterpreter.LineResult successful(java.lang.Object value,
boolean unit)
compileError
@NotNull
public static ReplInterpreter.LineResult compileError(@NotNull
java.lang.String errorText)
runtimeError
@NotNull
public static ReplInterpreter.LineResult runtimeError(@NotNull
java.lang.String errorText)
incomplete
public static ReplInterpreter.LineResult incomplete()