|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgnu.prolog.vm.interpreter.instruction.Instruction
public abstract class Instruction
base call for instruction
| Field Summary | |
|---|---|
int |
codePosition
code position of instruction |
| Constructor Summary | |
|---|---|
Instruction()
|
|
| Method Summary | |
|---|---|
abstract int |
execute(ExecutionState state,
BacktrackInfo bi)
execute instruction |
void |
install(Environment env)
install instruction to environment |
void |
uninstall(Environment env)
uninstall instruction from environment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int codePosition
| Constructor Detail |
|---|
public Instruction()
| Method Detail |
|---|
public abstract int execute(ExecutionState state,
BacktrackInfo bi)
throws PrologException
state - state within which instruction will be executedbi -
PrologException - if code is throwing prolog exceptionpublic void install(Environment env)
install in interface Installableenv - Environment to install the predicatepublic void uninstall(Environment env)
uninstall in interface Installableenv - Environment to install the predicate
|
GNU Prolog for Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||