com.sap.cds.impl.qat.QatElementNode Maven / Gradle / Ivy
/*******************************************************************
* © 2019 SAP SE or an SAP affiliate company. All rights reserved. *
*******************************************************************/
package com.sap.cds.impl.qat;
import com.sap.cds.reflect.CdsElement;
public final class QatElementNode extends QatNode {
private final CdsElement element;
public QatElementNode(QatNode parent, CdsElement element) {
super(parent);
this.element = element;
}
public CdsElement element() {
return element;
}
@Override
public String name() {
return element.getName();
}
@Override
public void accept(QatVisitor visitor) {
visitor.visit(this);
}
@Override
public boolean inSource() {
return false;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy