Package com.twineworks.tweakflow.repl
Class ReplState
java.lang.Object
com.twineworks.tweakflow.repl.ReplState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInputLine(String line) copy()voidevaluate()longgetInput()longgetUnits()booleansetEvaluationResult(EvaluationResult evaluationResult) setLoadPath(LoadPath loadPath) setModulePaths(List<String> modulePaths) setMultiLine(boolean multiLine) setPromptInput(String promptInput) setRuntime(Runtime runtime) setShouldQuit(boolean shouldQuit) boolean
-
Constructor Details
-
ReplState
public ReplState()
-
-
Method Details
-
getLoadPath
-
setLoadPath
-
getLoadPathElements
-
getMainModulePath
-
getMainModuleKey
-
getRuntime
-
setRuntime
-
getPromptVarName
-
setModulePaths
-
getAnalysisDurationMillis
public long getAnalysisDurationMillis() -
getLoadDurationMillis
public long getLoadDurationMillis() -
getInteractivePath
-
getStdlibPath
-
getVarDefs
-
getEvaluationResult
-
setEvaluationResult
-
shouldQuit
public boolean shouldQuit() -
setShouldQuit
-
getMainModule
-
getInteractiveUnit
-
getInteractiveSection
-
getGlobals
-
getUnits
-
getExports
-
copy
-
getResourceLoadPathElements
-
evaluate
public void evaluate() -
getPromptInput
-
setPromptInput
-
isMultiLine
public boolean isMultiLine() -
setMultiLine
-
getInput
-
setInput
-
addInputLine
-