org.eclipse.cdt.core.dom.ast
Interface IASTCaseStatement
- All Superinterfaces:
- IASTNode, IASTStatement
public interface IASTCaseStatement
- extends IASTStatement
This is a case in a switch statement. Note that in the grammar, a statement
is part of the clause. For the AST, just go on to the next statement to find
it. It's really only there to ensure that there is at least one statement
following this clause.
Field Summary |
static ASTNodeProperty |
EXPRESSION
ASTNodeProperty that represents the relationship between a
case statement and the expression it contains. |
EXPRESSION
static final ASTNodeProperty EXPRESSION
ASTNodeProperty
that represents the relationship between a
case statement and the expression it contains.
getExpression
IASTExpression getExpression()
- The expression that determines whether this case should be taken.
- Returns:
setExpression
void setExpression(IASTExpression expression)
- Set the expression.
- Parameters:
expression
-
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.