Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8b770f09aadd11945f257b29438d4c9f6a95cd91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2008, 2012 Nokia Corporation.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *    Ed Swartz (Nokia) - initial API and implementation
 *******************************************************************************/

package org.eclipse.cdt.autotools.ui.editors.parser;


/**
 * Clients implement this interface to identify what identifiers represent 
 * macros for the autoconf tree.
 * @author eswartz
 *
 */
public interface IAutoconfMacroDetector {

	/**
	 * Tell if this identifier should be treated as an m4 macro call.
	 * The identifier has already been judged to be a valid candidate
	 * (i.e. it's not quoted).
	 * @param name the string to check
	 */
	boolean isMacroIdentifier(String name);
}

Back to the top