| /********************************************************************** |
| * Copyright (c) 2002,2003 QNX Software Systems and others. |
| * All rights reserved. This program and the accompanying materials |
| * 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-v10.html |
| * |
| * Contributors: |
| * QNX Software Systems - Initial API and implementation |
| ***********************************************************************/ |
| package org.eclipse.cdt.make.core.makefile; |
| |
| /** |
| * A Makefile can contain rules, macro definitons and comments. |
| * They are call directives. |
| */ |
| public interface IDirective { |
| |
| /** |
| * Returns the parent of this directive, null if none. |
| * @return |
| */ |
| IDirective getParent(); |
| |
| /** |
| * The starting line number of this directive. |
| * The numbering starts at 1 .i.e the first line is not 0 |
| * @return |
| */ |
| int getStartLine(); |
| |
| /** |
| * The ending line number of this directive. |
| * The numbering starts at 1 .i.e the first line is not 0 |
| * @return |
| */ |
| int getEndLine(); |
| |
| String toString(); |
| } |