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

📄 namewithaction.java

📁 SkipOOMiniJOOL教学语言的编译器前端
💻 JAVA
字号:
package edu.ustc.cs.minijool.parser.ast;/** * A DPASTNode that can have an associated action. * @author manu_s * */public abstract class NameWithAction extends DPASTNode {	private SimpleName name;		/**	 * the action	 */	private Action action;		public NameWithAction(SimpleName name, Action action) {		this.action = action;		this.name = name;	}	    /**     * @return the action of this     */    public Action getAction() {        return action;    }    /**     * @param action the new action     */    public void setAction(Action action) {        this.action = action;    }    /**     * @return     */    public SimpleName getName() {        return name;    }    /**     * @param name     */    public void setName(SimpleName name) {        this.name = name;    }}

⌨️ 快捷键说明

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