~ubuntu-branches/debian/sid/eclipse-cdt/sid

« back to all changes in this revision

Viewing changes to core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/cpp/ICPPASTWhileStatement.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam
  • Date: 2011-10-06 21:15:04 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111006211504-8dutmljjih0zikfv
Tags: 8.0.1-1
* New upstream release.
* Split the JNI packages into a separate architecture dependent
  package and made eclipse-cdt architecture independent.
* Install JNI libraries into multiarch aware location
* Bumped Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*******************************************************************************
 
2
 * Copyright (c) 2004, 2011 IBM Corporation and others.
 
3
 * All rights reserved. This program and the accompanying materials
 
4
 * are made available under the terms of the Eclipse Public License v1.0
 
5
 * which accompanies this distribution, and is available at
 
6
 * http://www.eclipse.org/legal/epl-v10.html
 
7
 *
 
8
 * Contributors:
 
9
 *    John Camelon (IBM) - Initial API and implementation
 
10
 *******************************************************************************/
 
11
package org.eclipse.cdt.core.dom.ast.cpp;
 
12
 
 
13
import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
 
14
import org.eclipse.cdt.core.dom.ast.IASTDeclaration;
 
15
import org.eclipse.cdt.core.dom.ast.IASTWhileStatement;
 
16
import org.eclipse.cdt.core.dom.ast.IScope;
 
17
 
 
18
/**
 
19
 * This interface accommodates C++ allows for broader while loop syntax.
 
20
 * 
 
21
 * @noextend This interface is not intended to be extended by clients.
 
22
 * @noimplement This interface is not intended to be implemented by clients.
 
23
 */
 
24
public interface ICPPASTWhileStatement extends IASTWhileStatement {
 
25
 
 
26
        /**
 
27
         * In C++ conditions can be declarations w/side effects.
 
28
         */
 
29
        public static final ASTNodeProperty CONDITIONDECLARATION = new ASTNodeProperty(
 
30
                        "ICPPASTWhileStatement.CONDITIONDECLARATION - C++ condition/declaration"); //$NON-NLS-1$
 
31
 
 
32
        /**
 
33
         * Get the condition declaration.
 
34
         * 
 
35
         * @return <code>IASTDeclaration</code>
 
36
         */
 
37
        public IASTDeclaration getConditionDeclaration();
 
38
 
 
39
        /**
 
40
         * Set the condition declaration.
 
41
         * 
 
42
         * @param declaration
 
43
         *            <code>IASTDeclaration</code>
 
44
         */
 
45
        public void setConditionDeclaration(IASTDeclaration declaration);
 
46
 
 
47
        /**
 
48
         * Get the <code>IScope</code> represented by this while.
 
49
         * 
 
50
         * @return <code>IScope</code>
 
51
         */
 
52
        public IScope getScope();
 
53
        
 
54
        /**
 
55
         * @since 5.1
 
56
         */
 
57
        public ICPPASTWhileStatement copy();
 
58
 
 
59
        /**
 
60
         * @since 5.3
 
61
         */
 
62
        public ICPPASTWhileStatement copy(CopyStyle style);
 
63
}