|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcode.term.TermImplUser
public class TermImplUser
Term representation for user defined terms.
| Field Summary | |
|---|---|
private Term[] |
argument
|
private int |
root
|
| Constructor Summary | |
|---|---|
TermImplUser(int root,
Term[] argument)
Constructor for the TermImplUser object |
|
| Method Summary | ||
|---|---|---|
|
accept(code.term.visitor.TermVisitor<R,T> v,
T o)
Accepts the visitor by passing this term as a parameter to the visit method on the visitor. |
|
Term[] |
getArgument()
Returns the list of arguments for this term. |
|
Term |
getArgument(byte number)
Returns the numberth argument of this term. |
|
Instruction[] |
getCode()
Returns the bytecode in object format used to rewrite this term. |
|
byte |
getKind()
Returns the kind of this term |
|
int |
getRoot()
Returns the root id of this term. |
|
java.lang.String |
getRootSymbol()
Returns the root symbol for this term. |
|
boolean |
isHNF()
Returns true if this term is in head normal form. |
|
boolean |
isNF()
Returns true if this term is in normal form. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int root
private Term[] argument
| Constructor Detail |
|---|
public TermImplUser(int root,
Term[] argument)
root - Description of the Parameterargument - Description of the Parameter| Method Detail |
|---|
public int getRoot()
getRoot in interface TermImplpublic java.lang.String getRootSymbol()
getRootSymbol in interface TermImplpublic Term[] getArgument()
getArgument in interface TermImplpublic Term getArgument(byte number)
getArgument in interface TermImplnumber - Description of the Parameter
public byte getKind()
getKind in interface TermImplpublic boolean isHNF()
isHNF in interface TermImplpublic boolean isNF()
isNF in interface TermImplpublic Instruction[] getCode()
getCode in interface TermImpl
public <R,T> R accept(code.term.visitor.TermVisitor<R,T> v,
T o)
accept in interface TermImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||