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

cdc.applic.expressions.ast.AbstractNamedNode Maven / Gradle / Ivy

There is a newer version: 0.13.3
Show newest version
package cdc.applic.expressions.ast;

import cdc.applic.expressions.literals.Name;

/**
 * Base class of nodes that have a name.
 *
 * @author Damien Carbonne
 */
public abstract class AbstractNamedNode extends AbstractLeafNode implements NamedNode {
    protected final Name name;

    protected AbstractNamedNode(Name name) {
        this.name = name;
    }

    @Override
    public final Name getName() {
        return name;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy