public class PropertyNode extends Object implements Expression
| Constructor and Description |
|---|
PropertyNode(Expression target,
Expression property) |
PropertyNode(Expression target,
String property) |
PropertyNode(SafeNavigationNode target,
Expression property) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(Function context)
评估
|
String |
getPropertyName()
获取属性名
|
Expression |
getTarget()
获取目标对象
|
boolean |
isSafe() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitevalpublic PropertyNode(Expression target, String property)
public PropertyNode(Expression target, Expression property)
public PropertyNode(SafeNavigationNode target, Expression property)
public boolean isSafe()
public Object eval(Function context)
Expressioneval in interface Expressionpublic Expression getTarget()
public String getPropertyName()
Copyright © 2025. All rights reserved.