structtype.java
来自「plugin for eclipse」· Java 代码 · 共 54 行
JAVA
54 行
/*
* Created on May 8, 2005
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package isis.anp.nesc.ot.types;
import isis.anp.nesc.ot.StructOrUnionSpecifier;
/**
* @author sallai
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class StructType extends StructOrUnionBaseType {
public StructType(StructOrUnionSpecifier s) {
super(s);
}
private StructType() {
}
/* (non-Javadoc)
* @see parser.nesc.ot.types.Type#clone()
*/
public Object clone() {
StructType rval = new StructType();
rval.attributeList = this.attributeList;
rval.declarationList = this.declarationList;
rval.defNode = this.defNode;
rval.isSpecifierComplete = this.isSpecifierComplete;
rval.name = this.name;
rval.nameNode = this.nameNode;
rval.parentScope = this.parentScope;
rval.typeQualifiers = this.typeQualifiers;
return rval;
}
// public void outline(Outline o) {
// o.append(getTypeQualifierString());
// o.append(" ");
//// o.append("struct ");
// o.append(getName());
// o.append(" ");
// }
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?