|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TermImpl
The interface that all term implmentation must implement. This interface just has data accessor methods (except for accept). All methods that perform "actions" on the implementation are put into vistors and utilize the implementations accept method.
| Method Summary | ||
|---|---|---|
|
accept(code.term.visitor.TermVisitor<R,T> v,
T o)
This method accepts the visitor. |
|
Term[] |
getArgument()
Returns the list of arguments for this term. |
|
Term |
getArgument(byte number)
Gets the argument attribute of the TermImpl object |
|
Instruction[] |
getCode()
Gets the code attribute of the TermImpl object |
|
byte |
getKind()
Gets the kind attribute of the TermImpl object |
|
int |
getRoot()
Returns the root id for this term. |
|
java.lang.String |
getRootSymbol()
Returns the root symbol. |
|
boolean |
isHNF()
Gets the hNF attribute of the TermImpl object |
|
boolean |
isNF()
Gets the nF attribute of the TermImpl object |
|
| Method Detail |
|---|
int getRoot()
java.lang.String getRootSymbol()
Term[] getArgument()
Term getArgument(byte number)
number - Description of the Parameter
byte getKind()
throws UndefinedSymbol
UndefinedSymbol - Description of the Exceptionboolean isHNF()
boolean isNF()
Instruction[] getCode()
throws UndefinedSymbol
UndefinedSymbol - Description of the Exception
<R,T> R accept(code.term.visitor.TermVisitor<R,T> v,
T o)
v - o -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||