/******************************************************************************* * Copyright (c) 2004 Vlad Dumitrescu and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Vlad Dumitrescu *******************************************************************************/ package org.erlide.engine.model.erlang; import org.erlide.engine.model.IErlElement; /** * * @author Vlad * * @noimplement This interface is not intended to be implemented by clients. * */ public interface IErlMember extends IErlElement, ISourceReference { /** * Returns the compilation unit in which this member is declared, or * <code>null</code> if this member is not declared in a compilation unit * (for example, a binary type). This is a handle-only method. * * @return the compilation unit in which this member is declared, or * <code>null</code> if this member is not declared in a compilation * unit (for example, a binary type) */ void setNameRange(int offset, int length); ISourceRange getNameRange(); String getModuleName(); }