Script

@JSImport("node:vm", "Script") @native @JSType class Script extends Script
class Script
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Constructors

def this(code: String)
def this(code: String, options: ScriptOptions)

Inherited methods

Inherited from
Script
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def runInContext(contextifiedSandbox: Context, options: RunningScriptOptions): Any
Inherited from
Script
def runInContext(contextifiedSandbox: Context): Any
Inherited from
Script
def runInNewContext(sandbox: Unit, options: RunningScriptOptions): Any
Inherited from
Script
def runInNewContext(sandbox: Context, options: RunningScriptOptions): Any
Inherited from
Script
def runInNewContext(sandbox: Context): Any
Inherited from
Script
def runInNewContext(): Any
Inherited from
Script
Inherited from
Script
def runInThisContext(): Any
Inherited from
Script
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

var cachedDataRejected: UndefOr[Boolean]
Inherited from
Script