|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.algernon.aam.compile.AlgernonCompilerState
This class holds internal state during compilation. It is not intended for public consumption. All variables are public.
Field Summary | |
boolean |
doBackwardChaining
This is true if backward chaining rules should be activated. |
boolean |
doCheckSlotDomains
true if the compiler should check slot domains. |
boolean |
doForwardChaining
This is true if forward chaining rules should be activated. |
boolean |
doMakeContinuations
true if the compiler should output code to create a continuation while a rule is firing. |
boolean |
dontSubstituteForFrame
Causes the opcode SUBSTITUTE1 to be used instead of SUBSTITUTE. |
private Algernon |
f_algy
|
boolean |
failIsGood
Sometimes (as in the macro :FAIL or :UNP) processing should continue if the command fails. |
boolean |
hasNoBindings
When a :SUBR is being compiled we don't want to push bindings onto the BINDINGS register. |
boolean |
isLastClause
True if we are compiling the last clause of a path. |
LispValue |
skipLabel
This is the label the code should skip to if processing proceeds normally. |
boolean |
succeedIsGood
The normal state is that a command should succeed for processing to continue. |
LispValue |
succeedLabel
This is the label the code should skip to if processing succeeds. |
LispValue |
theStateVariable
Holds the variable being used in a :THE macro. |
int |
unpMode
The mode when doing a recursive call to UNP. |
Constructor Summary | |
AlgernonCompilerState(Algernon algy)
|
Method Summary | |
AlgernonCompilerState |
copy()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public boolean doCheckSlotDomains
public boolean doMakeContinuations
public boolean succeedIsGood
public boolean failIsGood
public boolean hasNoBindings
public LispValue skipLabel
public LispValue succeedLabel
public boolean doForwardChaining
public boolean doBackwardChaining
public boolean isLastClause
public LispValue theStateVariable
public int unpMode
public boolean dontSubstituteForFrame
private Algernon f_algy
Constructor Detail |
public AlgernonCompilerState(Algernon algy)
Method Detail |
public AlgernonCompilerState copy()
public String toString()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |