SetScriptSourceParameter

@Serializable
data class SetScriptSourceParameter(val scriptId: String, val scriptSource: String, val dryRun: Boolean? = null, val allowTopFrameEditing: Boolean? = null)

Constructors

Link copied to clipboard
constructor(scriptId: String, scriptSource: String, dryRun: Boolean? = null, allowTopFrameEditing: Boolean? = null)

Properties

Link copied to clipboard

If true, then scriptSource is allowed to change the function on top of the stack as long as the top-most stack frame is the only activation of that function.

Link copied to clipboard
val dryRun: Boolean? = null

If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.

Link copied to clipboard

Id of the script to edit.

Link copied to clipboard

New content of the script.