public class CodeWithScope extends Code
Constructor and Description |
---|
CodeWithScope(java.lang.String code,
Document scope)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Document |
getScope()
Gets the scope, which is is a mapping from identifiers to values, representing the scope in which the code should be evaluated.
|
int |
hashCode() |
public CodeWithScope(java.lang.String code, Document scope)
code
- the codescope
- the scopepublic Document getScope()