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

fun.langel.cql.node.func.C_Script Maven / Gradle / Ivy

The newest version!
package fun.langel.cql.node.func;

import fun.langel.cql.node.Function;
import fun.langel.cql.node.Script;
import fun.langel.cql.node.operator.FunctionOperator;
import fun.langel.cql.node.operator.Operator;

/**
 * @author [email protected](GuHan)
 * @date 2022/12/12 22:46
 **/
public class C_Script implements Function {

    private final Script executable;

    private C_Script(Script script) {
        this.executable = script;
    }

    @Override
    public Script executable() {
        return this.executable;
    }

    @Override
    public Operator operator() {
        return FunctionOperator.C_SCRIPT;
    }

    public static C_Script of(final String script) {
        return new C_Script(Script.of(script));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy