public class ExpressionVirtualMachine extends Object implements RuntimeContext
| 限定符和类型 | 方法和说明 |
|---|---|
static ExpressionValue |
execute(ExpressionCode expressionCode,
Map<String,Object> env) |
Object |
getProperty(String propertyName)
依据属性名取出属性值
|
void |
increaseCodeOffset()
递增字节码偏移量
|
ExpressionValue |
pop()
操作数出栈
|
void |
push(ExpressionValue originOperator)
操作数入栈
|
void |
setCodeOffset(int offset)
设置字节码偏移量
|
public static ExpressionValue execute(ExpressionCode expressionCode, Map<String,Object> env)
public void push(ExpressionValue originOperator)
RuntimeContextpush 在接口中 RuntimeContextoriginOperator - 操作数public ExpressionValue pop()
RuntimeContextpop 在接口中 RuntimeContextpublic void increaseCodeOffset()
RuntimeContextincreaseCodeOffset 在接口中 RuntimeContextpublic void setCodeOffset(int offset)
RuntimeContextsetCodeOffset 在接口中 RuntimeContextoffset - 字节码偏移量public Object getProperty(String propertyName)
RuntimeContextgetProperty 在接口中 RuntimeContextpropertyName - 属性名Copyright © 2020. All rights reserved.