Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 01e36529f7dcb6cf473fa8136bf7b9879e0239ad (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
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2009 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.core.dom.ast.cpp;

import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
import org.eclipse.cdt.core.dom.ast.IASTExpression;

/**
 * Pack expansion as it can occur as an element in an expression-lists or as a 
 * non-type template argument.
 * 
 * @noextend This interface is not intended to be extended by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 * @since 5.2
 */
public interface ICPPASTPackExpansionExpression extends IASTExpression {
	
	/**
	 * Represents the relationship between a pack-expansion and its pattern.
	 */
	public static final ASTNodeProperty PATTERN = new ASTNodeProperty("ICPPASTPackExpansionExpression.Pattern [IASTExpression]"); //$NON-NLS-1$

	/**
	 * Returns the pattern of the pack expansion.
	 */
	IASTExpression getPattern();

	/**
	 * Sets the pattern of the pack expansion expression. Cannot be called on frozen ast.
	 */
	void setPattern(IASTExpression left);
}

Back to the top