/******************************************************************************* * Copyright (c) 2008 IBM Wind River Systems, Inc. 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: * Markus Schorn - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.internal.core.dom.parser; import org.eclipse.cdt.core.dom.ast.ASTNodeProperty; import org.eclipse.cdt.core.dom.ast.IASTDeclarator; /** * Needed to handle the ambiguous declarator. * @since 5.0 */ public interface IASTAmbiguousDeclarator extends IASTDeclarator { public static final ASTNodeProperty SUBDECLARATOR = new ASTNodeProperty("IASTAmbiguousDeclarator.SUBDECLARATOR"); //$NON-NLS-1$ /** * Add an alternative to this ambiguous declarator. */ public void addDeclarator(IASTDeclarator e); /** * Return an array of all alternatives for this ambiguous declarator. */ public IASTDeclarator[] getDeclarators(); }