1 /*******************************************************************************
2 * Copyright (c) 2000, 2001, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v0.5
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v05.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.core;
14 * A source range defines an element's source coordinates relative to
17 * This interface is not intended to be implemented by clients.
20 public interface ISourceRange {
23 * Returns the number of characters of the source code for this element,
24 * relative to the source buffer in which this element is contained.
26 * @return the number of characters of the source code for this element,
27 * relative to the source buffer in which this element is contained
31 * Returns the 0-based index of the first character of the source code for this element,
32 * relative to the source buffer in which this element is contained.
34 * @return the 0-based index of the first character of the source code for this element,
35 * relative to the source buffer in which this element is contained