| Constructor and Description |
|---|
MapEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(@NotNull Map<String,Object> ctx,
@NotNull RnaWarmed expr,
boolean mute)
对功能体求值
|
@NotNull RnaEngine |
fork()
创建一个新的引擎。复制或共享父engine环境无要求。
一般的使用场景等同于new,可是new是关键词,还是3字母
|
@NotNull String[] |
type()
可以被此引擎执行的类型。`*`表示any
|
@NotNull RnaWarmed |
warm(@NotNull String type,
@NotNull String expr)
解析阶段,方法体预热,如语法检查,预编译等,一个expr应该只warm一次
|
@NotNull public @NotNull String[] type()
RnaEngine@NotNull public @NotNull RnaWarmed warm(@NotNull @NotNull String type, @NotNull @NotNull String expr)
RnaEnginepublic Object eval(@NotNull @NotNull Map<String,Object> ctx, @NotNull @NotNull RnaWarmed expr, boolean mute)
RnaEngineCopyright © 2020. All rights reserved.