io
.
github
.
mandar2812
.
dynaml
.
repl
DynaMLInterpreter
Related Docs:
object DynaMLInterpreter
|
package repl
class
DynaMLInterpreter
extends
Interpreter
Linear Supertypes
Interpreter
,
InterpreterInterface
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
DynaMLInterpreter
Interpreter
InterpreterInterface
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
DynaMLInterpreter
(
printer:
Printer
,
storage:
Storage
,
basePredefs:
Seq
[
PredefInfo
]
,
customPredefs:
Seq
[
PredefInfo
]
,
extraBridges:
Seq
[(
String
,
String
,
AnyRef
)]
,
wd:
Path
,
colors:
Ref
[
Colors
]
,
verboseOutput:
Boolean
=
true
,
getFrame: () ⇒
Frame
)
Type Members
type
BlockData
=
Option
[(
ClassFiles
,
BlockMetadata
)]
Definition Classes
Interpreter
abstract
class
DefaultLoadJar
extends
LoadJar
Definition Classes
Interpreter
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
alreadyLoadedFiles
:
Map
[
CodeSource
,
Metadata
]
Definition Classes
Interpreter
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
beforeExitHooks
:
Buffer
[(
Any
) ⇒
Any
]
Definition Classes
Interpreter
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
compilationCount
:
Int
Definition Classes
Interpreter
val
compilerManager
:
CompilerLifecycleManager
Definition Classes
Interpreter
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
val
eval
:
DynaMLEvaluator
Definition Classes
DynaMLInterpreter
→ Interpreter
def
evalClassloader
:
SpecialClassLoader
Definition Classes
Interpreter
def
evaluateCell
(
processed:
Output
,
printer:
Printer
,
fileName:
String
,
indexedWrapperName:
Name
,
silent:
Boolean
=
false
,
incrementLine: () ⇒
Unit
,
outputStream:
ByteArrayOutputStream
)
:
Res
[(
Evaluated
,
Tag
)]
def
evaluateLine
(
processed:
Output
,
printer:
Printer
,
fileName:
String
,
indexedWrapperName:
Name
,
silent:
Boolean
,
incrementLine: () ⇒
Unit
)
:
Res
[(
Evaluated
,
Tag
)]
Definition Classes
Interpreter
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
frameImports
:
Imports
Definition Classes
Interpreter
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
handleImports
(
i:
Imports
)
:
Unit
Definition Classes
Interpreter
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
headFrame
:
Frame
Definition Classes
Interpreter
val
importHooks
:
Ref
[
Map
[
Seq
[
String
],
ImportHook
]] { ... /* 2 definitions in type refinement */ }
Definition Classes
Interpreter
def
initializePredef
()
:
Option
[(
Failing
,
Seq
[(
Path
,
Long
)])]
Definition Classes
Interpreter
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
loadIvy
(
coordinates:
Dependency
*
)
:
Either
[
String
,
Set
[
File
]]
Definition Classes
Interpreter → InterpreterInterface
val
mainThread
:
Thread
Definition Classes
Interpreter
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
parseImportHooks
(
source:
CodeSource
,
stmts:
Seq
[
String
]
)
: (
Buffer
[
String
],
Buffer
[
ImportTree
])
Definition Classes
Interpreter
def
pluginClassloader
:
SpecialClassLoader
Definition Classes
Interpreter
var
predefImports
:
Imports
Definition Classes
Interpreter
val
printer
:
Printer
Definition Classes
DynaMLInterpreter
→ Interpreter
def
processAllScriptBlocks
(
blocks:
Seq
[
BlockData
]
,
splittedScript: ⇒
Res
[
IndexedSeq
[(
String
,
Seq
[
String
])]]
,
startingImports:
Imports
,
codeSource:
CodeSource
,
evaluate: (
Output
,
Name
) ⇒
Res
[(
Evaluated
,
Tag
)]
,
autoImport:
Boolean
,
extraCode:
String
)
:
Res
[
Metadata
]
Definition Classes
Interpreter
def
processCellBlocks
(
blocks:
Seq
[
BlockData
]
,
splittedScript: ⇒
Res
[
IndexedSeq
[(
String
,
Seq
[
String
])]]
,
startingImports:
Imports
,
codeSource:
CodeSource
,
evaluate: (
Output
,
Name
) ⇒
Res
[((
Iterator
[
String
],
Evaluated
),
Tag
)]
,
autoImport:
Boolean
,
extraCode:
String
)
:
Res
[(
Metadata
,
Iterator
[
String
])]
def
processExec
(
code:
String
,
currentLine:
Int
,
incrementLine: () ⇒
Unit
)
:
Res
[
Imports
]
Definition Classes
Interpreter
def
processLine
(
code:
String
,
stmts:
Seq
[
String
]
,
currentLine:
Int
,
silent:
Boolean
,
incrementLine: () ⇒
Unit
)
:
Res
[
Evaluated
]
Definition Classes
Interpreter
def
processModule
(
code:
String
,
codeSource:
CodeSource
,
autoImport:
Boolean
,
extraCode:
String
,
hardcoded:
Boolean
)
:
Res
[
Metadata
]
Definition Classes
Interpreter
def
processSingleBlock
(
processed:
Output
,
codeSource0:
CodeSource
,
indexedWrapperName:
Name
)
:
Res
[(
Evaluated
,
Tag
)]
Definition Classes
Interpreter
val
repositories
:
Ref
[
List
[
Repository
]] { ... /* 2 definitions in type refinement */ }
Definition Classes
Interpreter
def
resolveImportHooks
(
importTrees:
Seq
[
ImportTree
]
,
hookedStmts:
Seq
[
String
]
,
source:
CodeSource
)
:
Res
[
ImportHookInfo
]
Definition Classes
Interpreter
def
resolveSingleImportHook
(
source:
CodeSource
,
tree:
ImportTree
)
:
Res
[
Seq
[
Imports
]]
Definition Classes
Interpreter
val
storage
:
Storage
Definition Classes
Interpreter
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
watch
(
p:
Path
)
:
Unit
Definition Classes
Interpreter → InterpreterInterface
val
watchedFiles
:
Buffer
[(
Path
,
Long
)]
Definition Classes
Interpreter
val
wd
:
Path
Definition Classes
Interpreter
Inherited from
Interpreter
Inherited from
InterpreterInterface
Inherited from
AnyRef
Inherited from
Any
Ungrouped