CompileScriptRequest

data class CompileScriptRequest(expression: String, sourceURL: String, persistScript: Boolean, executionContextId: ExecutionContextId?)

Represents request frame that can be used with Runtime#compileScript operation call.

Compiles expression.

See also

Constructors

CompileScriptRequest
Link copied to clipboard
fun CompileScriptRequest(expression: String, sourceURL: String, persistScript: Boolean, executionContextId: ExecutionContextId? = null)

Properties

executionContextId
Link copied to clipboard
val executionContextId: ExecutionContextId? = null
Specifies in which execution context to perform script run.
expression
Link copied to clipboard
val expression: String
Expression to compile.
persistScript
Link copied to clipboard
val persistScript: Boolean
Specifies whether the compiled script should be persisted.
sourceURL
Link copied to clipboard
val sourceURL: String
Source url to be set for the script.

Sources

jvm source
Link copied to clipboard