📄 evaluatablenode.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 + -