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

com.whaleal.icefrog.extra.expression.ExpressionEngine Maven / Gradle / Ivy

There is a newer version: 1.1.71
Show newest version
package com.whaleal.icefrog.extra.expression;

import java.util.Map;

/**
 * 表达式引擎API接口,通过实现此接口,完成表达式的解析和执行
 *
 * @author looll, independenter
 */
public interface ExpressionEngine {

    /**
     * 执行表达式
     *
     * @param expression 表达式
     * @param context    表达式上下文,用于存储表达式中所需的变量值等
     * @return 执行结果
     */
    Object eval( String expression, Map context );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy