SwiftstructJetEngine
JSBytecodeSource
struct JetEngine.Unstable.JSBytecodeSource
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolJetEngine.JSSourceProvider
Members 5
- field
let base: JetEngine.JSBytecodeSource - func
cacheBytecode() throws -> () - func
evaluate(against: JSValue?, in: JSContext) throws -> JSValue - init
init(fileURL: Foundation.URL, sourceURL: Foundation.URL, cacheURL: Foundation.URL?, virtualMachine: JSVirtualMachine) throws -> JetEngine.Unstable.JSBytecodeSource - var
var isUsingBytecodeCache: Bool { get }
Header
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 }