com.alibaba.simpleEL.dialect.ql.ast.QLPropertyExpr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SimpleEL Show documentation
Show all versions of SimpleEL Show documentation
simple expression language implementation
The newest version!
package com.alibaba.simpleEL.dialect.ql.ast;
import com.alibaba.simpleEL.dialect.ql.visitor.QLAstVisitor;
public class QLPropertyExpr extends QLExpr implements QLName {
private QLExpr owner;
private String name;
public QLPropertyExpr(QLExpr owner, String name) {
this.owner = owner;
this.name = name;
}
public QLPropertyExpr() {
}
public QLExpr getOwner() {
return this.owner;
}
public void setOwner(QLExpr owner) {
this.owner = owner;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public void output(StringBuffer buf) {
this.owner.output(buf);
buf.append(".");
buf.append(this.name);
}
protected void accept0(QLAstVisitor visitor) {
if (visitor.visit(this)) {
acceptChild(visitor, this.owner);
}
visitor.endVisit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy