⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 evaluatablenode.java

📁 是有关解释器的.用JAVA编写.可以解释一般的JAVA程序.
💻 JAVA
字号:
/**
 * Inherit from this class if your node is evaluatable.
 * 
 * @see AbstractSyntaxNode
 * @see ExecutableNode
 * @see Environment
 * @see Value
 */
public abstract class EvaluatableNode extends AbstractSyntaxNode {

    /**
     * Evaluates the node.
     * 
     * @param env
     *            the <code>Environment</code> (has to contain type
     *            information of all variables and methods visible to the node.
     * @throws InterpreterException
     *             if execution of the node generated a runtime error in the
     *             program.
     * @see Value
     */
    abstract Value evaluate(Environment env) throws InterpreterException;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -