Package | Description |
---|---|
org.eclipse.cdt.core.dom.ast | |
org.eclipse.cdt.core.dom.ast.cpp | |
org.eclipse.cdt.core.dom.ast.gnu |
Modifier and Type | Interface and Description |
---|---|
interface |
IASTBreakStatement
This is the break clause in a loop.
|
interface |
IASTCaseStatement
This is a case in a switch statement.
|
interface |
IASTCompoundStatement
This represents a block of statements.
|
interface |
IASTContinueStatement
This is the continue clause in a loop.
|
interface |
IASTDeclarationStatement
A declaration statement that introduces a declaration.
|
interface |
IASTDefaultStatement
This is the default clause in the switch statement.
|
interface |
IASTDoStatement
Ye ol' do statement.
|
interface |
IASTExpressionStatement
Expression statement.
|
interface |
IASTForStatement
The 'for' statement.
|
interface |
IASTGotoStatement
Represents a goto statement.
|
interface |
IASTIfStatement
The 'if' statement including the optional else clause.
|
interface |
IASTLabelStatement
Represents a label statement.
|
interface |
IASTNullStatement
This node represents a null statement, ';'
|
interface |
IASTProblemStatement
This interface represents a parse problem where we tried to match against a statement.
|
interface |
IASTReturnStatement |
interface |
IASTSwitchStatement
The switch statement.
|
interface |
IASTWhileStatement
Ye ol' while statement.
|
Modifier and Type | Field and Description |
---|---|
static IASTStatement[] |
IASTLabelStatement.EMPTY_LABEL_STATEMENT_ARRAY
Deprecated.
use
IASTLabelStatement.EMPTY_ARRAY instead |
static IASTStatement[] |
IASTStatement.EMPTY_STATEMENT_ARRAY |
Modifier and Type | Method and Description |
---|---|
IASTStatement |
IASTStatement.copy() |
IASTStatement |
IASTStatement.copy(IASTNode.CopyStyle style) |
IASTStatement |
IASTWhileStatement.getBody()
The body of the loop.
|
IASTStatement |
IASTSwitchStatement.getBody()
Returns the body of the switch statement.
|
IASTStatement |
IASTFunctionDefinition.getBody()
Returns the body of the function.
|
IASTStatement |
IASTForStatement.getBody()
Returns the statements that this for loop controls.
|
IASTStatement |
IASTDoStatement.getBody()
Returns the body of the loop.
|
IASTStatement |
IASTIfStatement.getElseClause()
Returns the statement that is executed if the condition is false.
|
IASTStatement |
IASTForStatement.getInitializerStatement()
Returns the initializer statement.
|
IASTStatement |
IASTLabelStatement.getNestedStatement()
Returns the statement following the label.
|
IASTStatement[] |
IASTCompoundStatement.getStatements()
Returns the statements in this block.
|
IASTStatement |
IASTIfStatement.getThenClause()
Returns the statement that is executed if the condition is true.
|
IASTStatement |
INodeFactory.newGotoStatement(IASTExpression expression) |
Modifier and Type | Method and Description |
---|---|
void |
IASTCompoundStatement.addStatement(IASTStatement statement)
Adds a statement to the compound block.
|
int |
ASTVisitor.leave(IASTStatement statement) |
int |
ASTGenericVisitor.leave(IASTStatement statement) |
IASTDoStatement |
INodeFactory.newDoStatement(IASTStatement body,
IASTExpression condition) |
IASTForStatement |
INodeFactory.newForStatement(IASTStatement init,
IASTExpression condition,
IASTExpression iterationExpression,
IASTStatement body) |
IASTFunctionDefinition |
INodeFactory.newFunctionDefinition(IASTDeclSpecifier declSpecifier,
IASTFunctionDeclarator declarator,
IASTStatement bodyStatement) |
IASTIfStatement |
INodeFactory.newIfStatement(IASTExpression condition,
IASTStatement then,
IASTStatement elseClause) |
IASTLabelStatement |
INodeFactory.newLabelStatement(IASTName name,
IASTStatement nestedStatement) |
IASTSwitchStatement |
INodeFactory.newSwitchStatement(IASTExpression controller,
IASTStatement body) |
IASTWhileStatement |
INodeFactory.newWhileStatement(IASTExpression condition,
IASTStatement body) |
void |
IASTWhileStatement.setBody(IASTStatement body)
Sets the body of the while loop.
|
void |
IASTSwitchStatement.setBody(IASTStatement body)
Set the body for the switch statement.
|
void |
IASTFunctionDefinition.setBody(IASTStatement statement)
Sets the body of the function.
|
void |
IASTForStatement.setBody(IASTStatement statement)
Sets the body of the for loop.
|
void |
IASTDoStatement.setBody(IASTStatement body)
Sets the body of the loop.
|
void |
IASTIfStatement.setElseClause(IASTStatement elseClause)
Sets the else clause.
|
void |
IASTForStatement.setInitializerStatement(IASTStatement statement) |
void |
IASTLabelStatement.setNestedStatement(IASTStatement statement)
Sets the statement following the label.
|
void |
IASTIfStatement.setThenClause(IASTStatement thenClause)
Sets the statement that is executed if the condition is true.
|
int |
ASTVisitor.visit(IASTStatement statement) |
int |
ASTGenericVisitor.visit(IASTStatement statement) |
Modifier and Type | Interface and Description |
---|---|
interface |
ICPPASTCatchHandler
Catch handler used for try block statements or for functions with try block.
|
interface |
ICPPASTCompoundStatement
Represents a block of statements in C++.
|
interface |
ICPPASTForStatement
The C++ 'for' statement.
|
interface |
ICPPASTIfStatement
The 'if' statement including the optional else clause.
|
interface |
ICPPASTRangeBasedForStatement
Represents a range-based 'for' loop.
|
interface |
ICPPASTSwitchStatement |
interface |
ICPPASTTryBlockStatement
This interface represents the try block statement. try { //body } catch (Exc e)
{ // handler } catch ( ... ) { }
|
interface |
ICPPASTWhileStatement
This interface accommodates C++ allows for broader while loop syntax.
|
Modifier and Type | Method and Description |
---|---|
IASTStatement |
ICPPASTRangeBasedForStatement.getBody()
Returns the statement of this for-loop.
|
IASTStatement |
ICPPASTCatchHandler.getCatchBody()
Returns the catch body.
|
IASTStatement |
ICPPASTSwitchStatement.getInitializerStatement()
Returns the init-statement for a switch.
|
IASTStatement |
ICPPASTIfStatement.getInitializerStatement()
Returns the init-statement for an if.
|
IASTStatement |
ICPPASTTryBlockStatement.getTryBody()
Returns the try body.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IGNUASTGotoStatement
Represents a GNU goto expression.
|
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.