final
object
CompilingInterpreter
Utility methods for the Interpreter.
Constructors
Members
val
INTERPRETER_IMPORT_WRAPPER
: String
val
INTERPRETER_LINE_PREFIX
: String
val
INTERPRETER_SYNTHVAR_PREFIX
: String
val
INTERPRETER_VAR_PREFIX
: String
val
INTERPRETER_WRAPPER_SUFFIX
: String
def
deleteRecursively
(
path:
File
)
: Unit
Delete a directory tree recursively. Use with care!
Delete a directory tree recursively. Use with care!
def
string2code
(
str:
String
)
: String
Convert a string into code that can recreate the string. This requires replacing all special characters by escape codes. It does not add the surrounding...
Convert a string into code that can recreate the string. This requires replacing all special characters by escape codes. It does not add the surrounding " marks.
def
stripWrapperGunk
(
str:
String
)
: String
Heuristically strip interpreter wrapper prefixes from an interpreter output string.
Heuristically strip interpreter wrapper prefixes from an interpreter output string.