public class EnvironmentFrame extends FrameObject
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.
Constructor and Description |
---|
EnvironmentFrame(RuleClauseCode clause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
allocate(int n)
Allocate a vector of permanent variables for use in the rule execution.
|
Rule |
getRule()
Return the rule associated with this environment, null if no such rule.
|
String |
toString()
Printable string for debugging.
|
close, fastLinkTo, getLink, linkTo
public EnvironmentFrame(RuleClauseCode clause)
clause
- the compiled code being interpreted by this env framepublic void allocate(int n)
public Rule getRule()
Licenced under the Apache License, Version 2.0