public class ParamActionImpl extends ActionDImpl implements ParamAction
ParamAction.| Modifier | Constructor and Description |
|---|---|
protected |
ParamActionImpl()
The default constructor.
|
protected |
ParamActionImpl(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 ParamActionImpl (e.g., ic >= sl)
|
ParamActionImpl |
create(Object[] args)
Returns a new object of this class.
|
boolean |
equals(Object obj)
Compares the specified object with this ParamActionImpl
for equality.
|
Object[] |
getChildren() |
int |
hashCode()
Returns the hash code value for this ParamActionImpl.
|
static long |
instanceCount()
Only concrete classes get the instance count method visible
|
static long |
instancesFinalised() |
boolean |
isParamCommand()
This method characterises parameterised commands and actions according to the
expected (specific and disjoint) structure both have, yet they share the same
AST class due to their similar nature and to minimize AST numbers.
|
getDeclList, getZDeclList, setDeclListgetCircusAction, setCircusActionannsSize, getAnn, getAnns, getFactory, hasAnn, hasAnn, removeAnn, removeAnn, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclList, getZDeclList, setDeclListgetCircusAction, setCircusActionprotected ParamActionImpl()
object factory.protected ParamActionImpl(BaseFactory factory)
public static boolean countingFinaliser()
public static long instancesFinalised()
public boolean equals(Object obj)
equals in class ActionDImplpublic int hashCode()
hashCode in class ActionDImplpublic <R> R accept(Visitor<R> v)
accept in interface Termaccept in class ActionDImplpublic ParamActionImpl create(Object[] args)
public Object[] getChildren()
getChildren in interface Termpublic static long instanceCount()
public boolean isParamCommand()
ParamActionThis method characterises parameterised commands and actions according to the expected (specific and disjoint) structure both have, yet they share the same AST class due to their similar nature and to minimize AST numbers. This choice is similar to AxPara in Z, which represents various Z boxes.
The protocol is as follows: parameterised commands MUST have a ZDeclList with QualifiedDecl only; whereas parameterised actions only allow VarDecl.
isParamCommand in interface ParamActionCopyright © 2003–2016 Community Z Tools Project. All rights reserved.