- Direct Known Subclasses:
public class EnvironmentFrame extends FrameObject
Represents a single frame in the LP interpreter's environment stack. The environment stack represents the AND part of the search tree - it is a sequence of nested predicate calls.
This is used in the inner loop of the interpreter and so is a pure data structure not an abstract data type and assumes privileged access to the interpreter state.
clause- the compiled code being interpreted by this env frame
allocatepublic void allocate
(int n)Allocate a vector of permanent variables for use in the rule execution.
getRulepublic Rule getRule()Return the rule associated with this environment, null if no such rule.
toStringpublic String toString()Printable string for debugging.