org.eclipse.cdt.core.dom.ast
Interface IASTLabelStatement
- All Superinterfaces:
- IASTNameOwner, IASTNode, IASTStatement
- public interface IASTLabelStatement
- extends IASTStatement, IASTNameOwner
Represents a label statement.
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent |
NAME
public static final ASTNodeProperty NAME
NESTED_STATEMENT
public static final ASTNodeProperty NESTED_STATEMENT
getName
public IASTName getName()
- The name for the label. The name resolves to an ILabel binding.
- Returns:
- the name for the label
setName
public void setName(IASTName name)
- Set the name for a label.
- Parameters:
name
-
getNestedStatement
public IASTStatement getNestedStatement()
- Returns:
setNestedStatement
public void setNestedStatement(IASTStatement s)
- Parameters:
s
-
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.