All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 visitor, P data) {
        return visitor.visit(this, data);
    }

    @Override
    void populateExtendsAndImports(ModelicaClassType classTypeDeclaration) {
        super.populateExtendsAndImports(classTypeDeclaration);
        pushExtendsAndImports(classTypeDeclaration, firstChild(ASTComposition.class));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy