public static class ReplInterpreter.LineResult extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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) |
@NotNull public ReplInterpreter.LineResultType getType()
public java.lang.Object getValue()
public boolean isUnit()
@NotNull public java.lang.String getErrorText()
public static ReplInterpreter.LineResult successful(java.lang.Object value, boolean unit)
public static ReplInterpreter.LineResult error(@NotNull java.lang.String errorText)
public static ReplInterpreter.LineResult incomplete()