net.sourceforge.pmd.lang.modelica.ast.ASTSimpleLongClassSpecifier Maven / Gradle / Ivy
The newest version!
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.modelica.ast;
import net.sourceforge.pmd.lang.modelica.resolver.ModelicaClassType;
public final class ASTSimpleLongClassSpecifier extends AbstractModelicaClassSpecifierNode {
ASTSimpleLongClassSpecifier(int id) {
super(id);
}
@Override
protected R acceptModelicaVisitor(ModelicaVisitor super P, ? extends R> visitor, P data) {
return visitor.visit(this, data);
}
@Override
void populateExtendsAndImports(ModelicaClassType classTypeDeclaration) {
super.populateExtendsAndImports(classTypeDeclaration);
pushExtendsAndImports(classTypeDeclaration, firstChild(ASTComposition.class));
}
}