SwiftstructJetEngine

struct JetEngine.Unstable.JSBytecodeSource

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 5

  1. fieldlet base: JetEngine.JSBytecodeSource
  2. funccacheBytecode() throws -> ()
  3. funcevaluate(against: JSValue?, in: JSContext) throws -> JSValue
  4. initinit(fileURL: Foundation.URL, sourceURL: Foundation.URL, cacheURL: Foundation.URL?, virtualMachine: JSVirtualMachine) throws -> JetEngine.Unstable.JSBytecodeSource
  5. varvar isUsingBytecodeCache: Bool { get }
struct JetEngine.Unstable.JSBytecodeSource {
    let base: JetEngine.JSBytecodeSource

    init(fileURL: Foundation.URL, sourceURL: Foundation.URL, cacheURL: Foundation.URL?, virtualMachine: __C.JSVirtualMachine) throws

    var isUsingBytecodeCache: Swift.Bool {
        get
    }

    func cacheBytecode() throws
    func evaluate(against: __C.JSValue?, in: __C.JSContext) throws -> __C.JSValue
}