📄 functionid.java
字号:
package cmm.cmmcc;
import cmm.collections.Symtab;
/**
* 函数标示符类,继承标示符类
* @author Huang Xuanxing
*
*/
public class FunctionId extends Id {
private static Symtab localTable; // 局部符号表
private int[] paramList = null; // 形参列表
public FunctionId(String inId) {
super(inId);
localTable = new Symtab();
}
/**
* 获得返回值
* @return
*/
public int getReturnType() {
return super.getType();
}
public void setParamList(int[] inList) {
paramList = inList;
}
public int[] getParamList() {
return paramList;
}
/**
* 释放符号表
*
*/
public void releaseTable() {
if (localTable != null) {
localTable = null;
}
}
public void evaluate() {
// Not implement.
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -