symbol.java
来自「plugin for eclipse」· Java 代码 · 共 89 行
JAVA
89 行
/*
* Created on May 1, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package isis.anp.nesc.ot.scope;
import isis.anp.common.TNode;
/**
* @author sallai
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public interface Symbol {
public void setNameNode(TNode nameNode);
public TNode getNameNode();
public void setName(String name);
public String getName();
public void setParentScope(Scope parentScope);
public Scope getParentScope();
public String getHierarchicalName();
// Scope parentScope;
// TNode nameNode;
// String name;
//
// /**
// * @return Returns the declName.
// */
// public String getName() {
// return name;
// }
// /**
// * @param declName The declName to set.
// */
// public void setName(String declName) {
// this.name = declName;
//// this.getNameNode().setText(declName);
// }
// /**
// * @return Returns the declNameNode.
// */
// public TNode getNameNode() {
// return nameNode;
// }
// /**
// * @param declNameNode The declNameNode to set.
// */
// public void setNameNode(TNode declNameNode) {
// this.nameNode = declNameNode;
//// this.name = declNameNode.getText();
// }
//
//
// public String getHierarchicalName() {
// StringBuffer sb = new StringBuffer();
//
// if(parentScope!=null) {
// sb.append(parentScope.getHierarchicalName());
// }
// sb.append("::");
// sb.append(name);
//
// return sb.toString();
// }
//
// public String toString() {
// return getHierarchicalName();
// }
//
//
// /**
// * @return Returns the scope.
// */
// public Scope getScope() {
// return parentScope;
// }
// /**
// * @param scope The scope to set.
// */
// public void setScope(Scope scope) {
// parentScope = scope;
// }
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?