All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.skillw.pouvoir.api.script.engine.hook.PouCompiler.kt Maven / Gradle / Ivy

There is a newer version: 1.6.7-beta-6
Show newest version
package com.skillw.pouvoir.api.script.engine.hook

import com.skillw.pouvoir.api.plugin.map.component.Registrable
import com.skillw.pouvoir.api.script.PouFileCompiledScript
import java.io.File
import javax.script.CompiledScript

/**
 * @className PouCompiler
 *
 * @author Glom
 * @date 2023/1/20 9:33 Copyright 2024 Glom.
 */
interface PouCompiler : Registrable {
    fun compile(file: File): PouFileCompiledScript?
    fun compile(script: String, vararg params: String): CompiledScript
    fun canCompile(script: String): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy