org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTSwitchStatement
- All Superinterfaces:
- IASTNode, IASTStatement, IASTSwitchStatement
- public interface ICPPASTSwitchStatement
- extends IASTSwitchStatement
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
CONTROLLER_DECLARATION
public static final ASTNodeProperty CONTROLLER_DECLARATION
CONTROLLER_DECLARATION
represents the relationship between an
IASTSwitchStatement
and it's nested
IASTDeclaration
.
getControllerDeclaration
public IASTDeclaration getControllerDeclaration()
- In C++, a switch statement can be contorller by a declaration.
- Returns:
IASTDeclaration
setControllerDeclaration
public void setControllerDeclaration(IASTDeclaration d)
- In C++, a switch statement can be contorller by a declaration.
- Parameters:
d
- IASTDeclaration
getScope
public IScope getScope()
- Get the
IScope
represented by this switch.
- Returns:
IScope
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.