/******************************************************************************* * Copyright (c) 2005, 2015 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: * John Camelon (IBM Rational Software) - Initial API and implementation *******************************************************************************/ package org.eclipse.cdt.core.dom.ast; /** * Expression list (comma separated list of expressions). * * @noextend This interface is not intended to be extended by clients. * @noimplement This interface is not intended to be implemented by clients. */ public interface IASTExpressionList extends IASTExpression { /** * <code>NESTED_EXPRESSION</code> describes the relationship between * <code>IASTExpressionList</code> and the nested * <code>IASTExpression</code>s. */ public static final ASTNodeProperty NESTED_EXPRESSION = new ASTNodeProperty( "IASTExpressionList.NESTED_EXPRESSION - Nested IASTExpression for IASTExpressionList"); //$NON-NLS-1$ /** * Returns nested expressions. * * @return an array of nested expressions */ public IASTExpression[] getExpressions(); /** * Adds nested expression. * * @param expression the expression to be added. */ public void addExpression(IASTExpression expression); /** * @since 5.1 */ @Override public IASTExpressionList copy(); /** * @since 5.3 */ @Override public IASTExpressionList copy(CopyStyle style); }