class ReferenceFrame
extends Frame
Pass-by-reference frame.
-
Field Summary
Fields inherited from class org.apache.commons.jexl3.internal.Frame
stack
-
Constructor Summary
Constructors
-
Method Summary
Creates a new from of this frame"s class.
(package private) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
newFrame
Description copied from class: Frame
Creates a new from of this frame"s class.
- Overrides:
newFrame in class Frame
- Parameters:
s - The scope
r - The arguments
c - The number of curried parameters
- Returns:
- A new instance of frame
-
capture
Object capture(int s,
boolean lexical)
Description copied from class: Frame
Captures a value.
- Overrides:
capture in class Frame
- Parameters:
s - The offset in this frame
lexical - true if this captured symbol is redefined locally
- Returns:
- The stacked value
-
get
Description copied from class: Frame
Gets a value.
- Overrides:
get in class Frame
- Parameters:
s - The offset in this frame
- Returns:
- The stacked value
-
set
Description copied from class: Frame
Sets a value.
- Overrides:
set in class Frame
- Parameters:
r - The offset in this frame
value - The value to set in this frame