X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ISourceRange.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ISourceRange.java index 02d4da8..302e6da 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ISourceRange.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/ISourceRange.java @@ -1,38 +1,41 @@ /******************************************************************************* - * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others. + * Copyright (c) 2000, 2003 IBM Corporation and others. * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v0.5 + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v05.html + * http://www.eclipse.org/legal/cpl-v10.html * * Contributors: * IBM Corporation - initial API and implementation - ******************************************************************************/ + *******************************************************************************/ package net.sourceforge.phpdt.core; /** - * A source range defines an element's source coordinates relative to - * its source buffer. + * A source range defines an element's source coordinates relative to its source + * buffer. *

* This interface is not intended to be implemented by clients. *

*/ public interface ISourceRange { -/** - * Returns the number of characters of the source code for this element, - * relative to the source buffer in which this element is contained. - * - * @return the number of characters of the source code for this element, - * relative to the source buffer in which this element is contained - */ -int getLength(); -/** - * Returns the 0-based index of the first character of the source code for this element, - * relative to the source buffer in which this element is contained. - * - * @return the 0-based index of the first character of the source code for this element, - * relative to the source buffer in which this element is contained - */ -int getOffset(); + /** + * Returns the number of characters of the source code for this element, + * relative to the source buffer in which this element is contained. + * + * @return the number of characters of the source code for this element, + * relative to the source buffer in which this element is contained + */ + int getLength(); + + /** + * Returns the 0-based index of the first character of the source code for + * this element, relative to the source buffer in which this element is + * contained. + * + * @return the 0-based index of the first character of the source code for + * this element, relative to the source buffer in which this element + * is contained + */ + int getOffset(); }