/*******************************************************************************
* Copyright (c) 2004, 2011 IBM Corporation 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:
* Doug Schaefer (IBM) - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast;
/**
* This is a name used in an expression.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IASTIdExpression extends IASTExpression, IASTNameOwner {
/**
* <code>ID_NAME</code> represents the relationship between an
* <code>IASTIdExpression</code> and a <code>IASTName</code>.
*/
public static final ASTNodeProperty ID_NAME = new ASTNodeProperty(
"IASTIdExpression.ID_NAME - IASTName for IASTIdExpression"); //$NON-NLS-1$
/**
* Returns the name used in the expression.
*
* @return the name
*/
public IASTName getName();
/**
* Set the name to be used inthe expression.
*
* @param name
*/
public void setName(IASTName name);
/**
* @since 5.1
*/
public IASTIdExpression copy();
/**
* @since 5.3
*/
public IASTIdExpression copy(CopyStyle style);
}