public final class Repl extends Object
| Modifier and Type | Method and Description |
|---|---|
static ReplCreator |
creator(org.panda_lang.framework.FrameworkController frameworkController)
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(org.panda_lang.framework.FrameworkController frameworkController)
frameworkController - the framework controller that contains required resourcesCopyright © 2020. All rights reserved.