Object PouAsahiScriptEngine
-
- All Implemented Interfaces:
-
com.skillw.pouvoir.api.plugin.map.component.Keyable
,com.skillw.pouvoir.api.plugin.map.component.Registrable
,com.skillw.pouvoir.api.script.engine.hook.PouCompiler
public class PouAsahiScriptEngine extends PouScriptEngine
-
-
Field Summary
Fields Modifier and Type Field Description private final String
key
private final Array<String>
suffixes
private final Pattern
functionPattern
private final ScriptBridge
bridge
private final ScriptEngine
engine
public final static PouAsahiScriptEngine
INSTANCE
-
Method Summary
Modifier and Type Method Description Pattern
getAnnotationPattern()
Get annotation pattern CompiledScript
compile(String script, String params)
PouFileCompiledScript
compile(File file)
String
getKey()
Key Array<String>
getSuffixes()
Suffixes Pattern
getFunctionPattern()
Function pattern ScriptBridge
getBridge()
Bridge ScriptEngine
getEngine()
Engine -
-
Method Detail
-
getAnnotationPattern
Pattern getAnnotationPattern()
Get annotation pattern
- Returns:
annotation pattern
-
compile
CompiledScript compile(String script, String params)
-
compile
PouFileCompiledScript compile(File file)
-
getSuffixes
Array<String> getSuffixes()
Suffixes
-
getFunctionPattern
Pattern getFunctionPattern()
Function pattern
-
getBridge
ScriptBridge getBridge()
Bridge
-
getEngine
ScriptEngine getEngine()
Engine
-
-
-
-