Modifier | Constructor and Description |
---|---|
protected |
ConstDeclImpl()
The default constructor.
|
protected |
ConstDeclImpl(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 ConstDeclImpl (e.g., ic >= sl)
|
ConstDeclImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this ConstDeclImpl
for equality.
|
Object[] |
getChildren() |
Expr |
getExpr()
Returns the Expr element.
|
Name |
getName()
Returns the Name element.
|
ZName |
getZName()
This is a convenience method.
|
int |
hashCode()
Returns the hash code value for this ConstDeclImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
void |
setExpr(Expr expr)
Sets the Expr element.
|
void |
setName(Name name)
Sets the Name element.
|
annsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toString
protected ConstDeclImpl()
object factory
.protected ConstDeclImpl(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 ConstDeclImpl create(Object[] args)
public Object[] getChildren()
getChildren
in interface Term
public static long instanceCount()
public Name getName()
ConstDecl
public void setName(Name name)
ConstDecl
setName
in interface ConstDecl
name
- the Name element.ConstDecl.getName()
public Expr getExpr()
ConstDecl
public void setExpr(Expr expr)
ConstDecl
setExpr
in interface ConstDecl
expr
- the Expr element.ConstDecl.getExpr()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.