优化
This commit is contained in:
1 parent
1376feaecf
commit
bc7b9383f5
18 files changed
+117
-40
No files matched your search
@@ -81,6 +81,11 @@ abstract class AbstractScriptEngine(val bindings: Bindings? = null) : ScriptEngi
|
||||
return this.eval(script, getScriptContext(bindings))
|
||||
}
|
||||
|
||||
@Throws(ScriptException::class)
|
||||
override fun eval(script: String, bindings: ScriptBindings): Any? {
|
||||
return this.eval(script, getRuntimeScope(bindings))
|
||||
}
|
||||
|
||||
@Throws(ScriptException::class)
|
||||
override fun eval(reader: Reader): Any? {
|
||||
return this.eval(reader, context)
|
||||
|
||||
Reference in new issue
Block a user