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

com.redhat.ceylon.model.loader.model.LocalDeclarationContainer Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
package com.redhat.ceylon.model.loader.model;

import com.redhat.ceylon.model.typechecker.model.Declaration;
import com.redhat.ceylon.model.typechecker.model.Scope;

/**
 * Scope used to contain local declarations.
 * 
 * @author Stéphane Épardaud 
 */
public interface LocalDeclarationContainer extends Scope {
    
    /**
     * Gets a local declaration by (prefixed) name
     */
    Declaration getLocalDeclaration(String name);
    
    /**
     * Adds a new local declaration. Its prefixed name must be unique.
     */
    void addLocalDeclaration(Declaration decl);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy