Index

A C D E G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

appendPrelude() - Method in class ws.siri.jscore.runtime.Module
 
applyPrelude - Variable in class ws.siri.jscore.runtime.Module
 
asJS(Object) - Static method in class ws.siri.jscore.runtime.Runtime
Convert a JavaLike to a JSLike
autoWrap(Object) - Static method in class ws.siri.jscore.runtime.Runtime
 

C

call(String) - Method in class ws.siri.jscore.runtime.Module.Require
 
call(String, String) - Method in class ws.siri.jscore.runtime.Module.Require
 
call(String, String, String) - Method in class ws.siri.jscore.runtime.Module.Require
 
call(Path, String, String) - Static method in class ws.siri.jscore.runtime.Runtime
Evaluate a file, and returns the value of module.exports
call(Path, String, String, boolean) - Static method in class ws.siri.jscore.runtime.Runtime
 
call(Context, Scriptable, Scriptable, Object[]) - Method in class ws.siri.jscore.mapping.JSClass
 
call(Context, Scriptable, Scriptable, Object[]) - Method in class ws.siri.jscore.mapping.JSFunction
 
construct(Context, Scriptable, Object[]) - Method in class ws.siri.jscore.mapping.JSClass
 
construct(Context, Scriptable, Object[]) - Method in class ws.siri.jscore.mapping.JSFunction
 
Core - Class in ws.siri.jscore
 
Core() - Constructor for class ws.siri.jscore.Core
 

D

delete(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
delete(String) - Static method in class ws.siri.jscore.behaviour.Snapshot
 

E

eval - Variable in class ws.siri.jscore.runtime.Module
 
evalFile - Variable in class ws.siri.jscore.runtime.Module
 
evaluate(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.EvaluateCommand
 
evaluate(String) - Method in class ws.siri.jscore.runtime.Module
evaluate an expression in module
evaluate(String, boolean) - Method in class ws.siri.jscore.runtime.Module
 
evaluate(String, List<String>, boolean) - Static method in class ws.siri.jscore.runtime.Runtime
 
EvaluateCommand - Class in ws.siri.jscore.behaviour.command
/jscore eval <script> Evaluate script content at scope "repo"
EvaluateCommand() - Constructor for class ws.siri.jscore.behaviour.command.EvaluateCommand
 
evaluateFile(String, String) - Method in class ws.siri.jscore.runtime.Module
 
evaluateSimple(String) - Method in class ws.siri.jscore.runtime.Module
 
exports - Variable in class ws.siri.jscore.runtime.Module
Module.exports object
exports() - Method in class ws.siri.jscore.runtime.Module
 

G

get(int, Scriptable) - Method in class ws.siri.jscore.mapping.JSObject
 
get(String, Scriptable) - Method in class ws.siri.jscore.mapping.JSClass
 
get(String, Scriptable) - Method in class ws.siri.jscore.mapping.JSObject
 
get(String, Scriptable) - Method in class ws.siri.jscore.mapping.JSPackage
 
get(String, Scriptable) - Method in class ws.siri.jscore.runtime.Module
 
getClassName() - Method in class ws.siri.jscore.mapping.JSClass
 
getClassName() - Method in class ws.siri.jscore.mapping.JSFunction
 
getClassName() - Method in class ws.siri.jscore.mapping.JSObject
 
getClassName() - Method in class ws.siri.jscore.mapping.JSPackage
 
getClassName() - Method in class ws.siri.jscore.runtime.Module
 
getContext() - Static method in class ws.siri.jscore.runtime.Runtime
 
getModule(List<String>) - Static method in class ws.siri.jscore.runtime.Runtime
Return the module at path, create a new one if does not exist
getPrelude() - Static method in class ws.siri.jscore.runtime.Runtime
 
getRoot() - Static method in class ws.siri.jscore.mapping.JSPackage
 
global - Static variable in class ws.siri.jscore.runtime.Runtime
 

H

has(int, Scriptable) - Method in class ws.siri.jscore.mapping.JSObject
 
has(String, Scriptable) - Method in class ws.siri.jscore.mapping.JSClass
 
has(String, Scriptable) - Method in class ws.siri.jscore.mapping.JSObject
 
has(String, Scriptable) - Method in class ws.siri.jscore.runtime.Module
 

I

init() - Static method in class ws.siri.jscore.runtime.Runtime
 
internal - Variable in class ws.siri.jscore.mapping.JSClass
 
internal - Variable in class ws.siri.jscore.mapping.JSFunction
 
internal - Variable in class ws.siri.jscore.mapping.JSObject
 
internal - Variable in class ws.siri.jscore.mapping.JSPackage
 

J

JSClass - Class in ws.siri.jscore.mapping
 
JSClass(JavaClass) - Constructor for class ws.siri.jscore.mapping.JSClass
 
JSFunction - Class in ws.siri.jscore.mapping
 
JSFunction(JavaFunction) - Constructor for class ws.siri.jscore.mapping.JSFunction
 
JSObject - Class in ws.siri.jscore.mapping
 
JSObject(JavaObject) - Constructor for class ws.siri.jscore.mapping.JSObject
 
JSPackage - Class in ws.siri.jscore.mapping
 
JSPackage(JavaPackage) - Constructor for class ws.siri.jscore.mapping.JSPackage
 

L

lazy(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.RequireCommand
 
list() - Static method in class ws.siri.jscore.behaviour.Snapshot
 
listProvider() - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
load(String) - Static method in class ws.siri.jscore.behaviour.Snapshot
 

M

MOD_ID - Static variable in class ws.siri.jscore.Core
 
Module - Class in ws.siri.jscore.runtime
module object in script
Module(List<String>) - Constructor for class ws.siri.jscore.runtime.Module
 
Module.Require - Class in ws.siri.jscore.runtime
Object containing overloaded function for modules.require

N

normalisePath(Path) - Static method in class ws.siri.jscore.runtime.Module
restrict path to be within .minecraft/config/jscore, and remove ../ and ./ accordingly

O

onInitialize() - Method in class ws.siri.jscore.Core
 

P

pull(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
pull(String) - Static method in class ws.siri.jscore.behaviour.Snapshot
 
put(int, Scriptable, Object) - Method in class ws.siri.jscore.mapping.JSObject
 
put(String, Scriptable, Object) - Method in class ws.siri.jscore.mapping.JSObject
 
put(String, Scriptable, Object) - Method in class ws.siri.jscore.runtime.Module
 

R

require - Variable in class ws.siri.jscore.runtime.Module
module.require()
Require() - Constructor for class ws.siri.jscore.runtime.Module.Require
 
RequireCommand - Class in ws.siri.jscore.behaviour.command
Require [strict/lazy] <path> - strict always loads the file - lazy only loads the file if not previously loaded
RequireCommand() - Constructor for class ws.siri.jscore.behaviour.command.RequireCommand
 
restart(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.RestartCommand
 
RestartCommand - Class in ws.siri.jscore.behaviour.command
/jscore reset
RestartCommand() - Constructor for class ws.siri.jscore.behaviour.command.RestartCommand
 
restore(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
run(Object...) - Method in class ws.siri.jscore.mapping.JSFunction
 
Runtime - Class in ws.siri.jscore.runtime
 
Runtime() - Constructor for class ws.siri.jscore.runtime.Runtime
 

S

snap() - Static method in class ws.siri.jscore.behaviour.Snapshot
 
snap(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
snap(String) - Static method in class ws.siri.jscore.behaviour.Snapshot
 
snapNamed(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.SnapshotCommand
 
Snapshot - Class in ws.siri.jscore.behaviour
 
Snapshot() - Constructor for class ws.siri.jscore.behaviour.Snapshot
 
SnapshotCommand - Class in ws.siri.jscore.behaviour.command
 
SnapshotCommand() - Constructor for class ws.siri.jscore.behaviour.command.SnapshotCommand
 
stop() - Static method in class ws.siri.jscore.runtime.Runtime
 
strict(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.RequireCommand
 

T

toString() - Method in class ws.siri.jscore.mapping.JSClass
 
toString() - Method in class ws.siri.jscore.mapping.JSFunction
 
toString() - Method in class ws.siri.jscore.mapping.JSObject
 
toString() - Method in class ws.siri.jscore.mapping.JSPackage
 

U

unwrap(Object) - Static method in class ws.siri.jscore.runtime.Runtime
Unwrap one layer of wrapper

W

web(CommandContext<FabricClientCommandSource>) - Static method in class ws.siri.jscore.behaviour.command.WebCommand
 
WebCommand - Class in ws.siri.jscore.behaviour.command
 
WebCommand() - Constructor for class ws.siri.jscore.behaviour.command.WebCommand
 
wrap(Object) - Static method in class ws.siri.jscore.runtime.Runtime
 
ws.siri.jscore - package ws.siri.jscore
 
ws.siri.jscore.behaviour - package ws.siri.jscore.behaviour
 
ws.siri.jscore.behaviour.command - package ws.siri.jscore.behaviour.command
 
ws.siri.jscore.mapping - package ws.siri.jscore.mapping
 
ws.siri.jscore.runtime - package ws.siri.jscore.runtime
 
A C D E G H I J L M N O P R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form