public final class Repl extends Object
| Modifier and Type | Method and Description |
|---|---|
static ReplCreator |
creator(ReplConsole console)
Initiate REPL creator
|
Collection<ReplResult> |
evaluate(String source)
Evaluate the given source
|
void |
regenerate()
Regenerate REPL and cleanup cache
|
public void regenerate()
throws Exception
Exception - if something happenpublic Collection<ReplResult> evaluate(String source)
source - the source to evaluatepublic static ReplCreator creator(ReplConsole console)
console - the console instance to useCopyright © 2020. All rights reserved.