📄 listcompoundinfo.java
字号:
package com.sri.oaa2.icl;
class ListCompoundInfo
extends CompoundInfo
{
private boolean hasTail;
public ListCompoundInfo(int numArgs, boolean tail)
{
super(numArgs);
this.type = CompoundInfoType.LIST;
this.hasTail = tail;
}
public final IclTerm assemble()
{
IclList ret = new IclList(this.argList);
ret.setHeadTailList(this.hasTail);
if(this.hasTail) {
ret.compressTail();
}
return ret;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -