/*******************************************************************************
* Copyright (c) 2005, 2012 IBM Corporation and others.
*
* 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:
* John Camelon (IBM Rational Software) - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast.gnu;
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
import org.eclipse.cdt.core.dom.ast.IASTCompoundStatement;
import org.eclipse.cdt.core.dom.ast.IASTExpression;
/**
* There are GNU language extensions that apply to both GCC and G++. Compound
* statement's as 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 IGNUASTCompoundStatementExpression extends IASTExpression {
/**
* STATEMENT
describes the relationship between
* IGNUASTCompoundStatementExpression
and
* IASTCompoundStatement
.
*/
public static final ASTNodeProperty STATEMENT = new ASTNodeProperty(
"IGNUASTCompoundStatementExpression.STATEMENT - IASTCompoundStatement for IGNUASTCompoundStatementExpression"); //$NON-NLS-1$
/**
* Get the compound statement.
*
* @return IASTCompoundStatement
*/
public IASTCompoundStatement getCompoundStatement();
/**
* Set the compound statement.
*
* @param statement
* IASTCompoundStatement
*/
public void setCompoundStatement(IASTCompoundStatement statement);
/**
* @since 5.1
*/
@Override
public IGNUASTCompoundStatementExpression copy();
/**
* @since 5.3
*/
@Override
public IGNUASTCompoundStatementExpression copy(CopyStyle style);
}