public class ChannelDeclImpl extends DeclImpl implements ChannelDecl
ChannelDecl.CHANNEL_GENFORMAL_INDEX, CHANNEL_NAMELIST_INDEX| Modifier | Constructor and Description |
|---|---|
protected |
ChannelDeclImpl()
The default constructor.
|
protected |
ChannelDeclImpl(BaseFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(Visitor<R> v)
Accepts a visitor.
|
static boolean |
countingFinaliser()
public attribute determining whether to log to the
standard output information about who is creating
this instance of ChannelDeclImpl (e.g., ic >= sl)
|
ChannelDeclImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this ChannelDeclImpl
for equality.
|
Object[] |
getChildren() |
Expr |
getExpr()
Returns the Expr element.
|
ListTerm<NameList> |
getNameList()
Returns the NameList elements.
|
ZNameList |
getZChannelNameList()
This is a convenience method.
|
ZNameList |
getZGenFormals()
This is a convenience method.
|
int |
hashCode()
Returns the hash code value for this ChannelDeclImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setExpr(Expr expr)
Sets the Expr element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toStringprotected ChannelDeclImpl()
object factory.protected ChannelDeclImpl(BaseFactory factory)
public static boolean countingFinaliser()
public static long instancesFinalised()
public boolean equals(Object obj)
public int hashCode()
public <R> R accept(Visitor<R> v)
public ChannelDeclImpl create(Object[] args)
public Object[] getChildren()
getChildren in interface Termpublic static long instanceCount()
public ListTerm<NameList> getNameList()
ChannelDeclReturns the NameList elements.
To add or remove elements, use the methods provided by the List interface (that's why there is no need for a setter method).
getNameList in interface ChannelDeclpublic Expr getExpr()
ChannelDeclgetExpr in interface ChannelDeclpublic void setExpr(Expr expr)
ChannelDeclsetExpr in interface ChannelDeclexpr - the Expr element.ChannelDecl.getExpr()public ZNameList getZGenFormals()
ChannelDeclgetZGenFormals in interface ChannelDeclpublic ZNameList getZChannelNameList()
ChannelDeclgetZChannelNameList in interface ChannelDeclCopyright © 2003–2016 Community Z Tools Project. All rights reserved.