public class InstanceClafer extends Object
Constructor and Description |
---|
InstanceClafer(AstClafer type,
int id,
InstanceRef ref,
InstanceClafer... children) |
Modifier and Type | Method and Description |
---|---|
InstanceClafer[] |
getChildren() |
InstanceClafer[] |
getChildren(AstConcreteClafer type) |
int |
getId() |
InstanceRef |
getRef() |
AstClafer |
getType() |
boolean |
hasChildren() |
boolean |
hasRef() |
void |
print()
Print solution to stdout.
|
void |
print(Appendable out)
Print solution.
|
String |
toString() |
public InstanceClafer(AstClafer type, int id, InstanceRef ref, InstanceClafer... children)
public int getId()
public boolean hasRef()
public InstanceRef getRef()
public boolean hasChildren()
public InstanceClafer[] getChildren()
public InstanceClafer[] getChildren(AstConcreteClafer type)
public void print() throws IOException
IOException
- an IO error occurredpublic void print(Appendable out) throws IOException
out
- the stream to print toIOException
- an IO error occurredCopyright © 2013. All Rights Reserved.