Package | Description |
---|---|
org.jamplate.impl.util |
Common utilities.
|
org.jamplate.model |
A package that specifies that primary components of a processor that uses the
jamplate-style processing.
|
Modifier and Type | Method and Description |
---|---|
static Value |
Memories.joinPop(@NotNull Memory memory)
Join the values from popping the given
memory until reaching the first
NULL (aka the start of the memory) on the current frame of it. |
Modifier and Type | Field and Description |
---|---|
static @NotNull Value |
Value.NULL
The
null value. |
Modifier and Type | Method and Description |
---|---|
Value |
Frame.compute(@NotNull java.lang.String address,
@NotNull java.util.function.UnaryOperator<Value> operator)
Replace the value at the given
address with the result of invoking the
given operator with the current value. |
Value |
Memory.compute(@NotNull java.lang.String address,
@NotNull java.util.function.UnaryOperator<Value> operator)
Replace the value at the given
address with the result of invoking the
given operator with the current value. |
@NotNull Value |
Frame.get(@NotNull java.lang.String address)
Return the value allocated at the given
address in this memory. |
@NotNull Value |
Memory.get(@NotNull java.lang.String address)
Return the value allocated at the given
address in this memory. |
@NotNull Value |
Frame.pop()
Return and remove the last pushed value to the stack.
|
@NotNull Value |
Memory.pop()
Return and remove the last pushed value to the stack.
|
Modifier and Type | Method and Description |
---|---|
void |
Frame.push(@NotNull Value value)
Push the given
value to the stack part of this memory. |
void |
Memory.push(@NotNull Value value)
Push the given
value to the stack part of this memory. |
void |
Frame.set(@NotNull java.lang.String address,
@NotNull Value value)
Set the value at the given
address to be the given value . |
void |
Memory.set(@NotNull java.lang.String address,
@NotNull Value value)
Set the value at the given
address to be the given value . |