| Modifier and Type | Method and Description |
|---|---|
Object |
eval(@NotNull Map<String,Object> ctx,
@NotNull RnaWarmed expr,
boolean mute)
Evaluate the function body
|
@NotNull RnaEngine |
fork()
Create a new engine.
|
@NotNull String[] |
type()
Types can be executed by this engine.
|
default @NotNull RnaWarmed |
warm(@NotNull String type,
@NotNull String expr)
During the parsing phase, warm up the function body, such as syntax checking, pre-compilation, etc.
|
Object eval(@NotNull @NotNull Map<String,Object> ctx, @NotNull @NotNull RnaWarmed expr, boolean mute)
ctx - the execution contextexpr - expression of the function bodymute - whether to ignore error@NotNull @NotNull String[] type()
@NotNull @NotNull RnaEngine fork()
@NotNull default @NotNull RnaWarmed warm(@NotNull @NotNull String type, @NotNull @NotNull String expr)
type - engine typeexpr - function bodyCopyright © 2024. All rights reserved.