Eclipse CDT
7.0

Uses of Interface
org.eclipse.cdt.core.dom.ast.IASTStatement

Packages that use IASTStatement
org.eclipse.cdt.core.dom.ast   
org.eclipse.cdt.core.dom.ast.cpp   
 

Uses of IASTStatement in org.eclipse.cdt.core.dom.ast
 

Subinterfaces of IASTStatement in org.eclipse.cdt.core.dom.ast
 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.
 

Fields in org.eclipse.cdt.core.dom.ast declared as IASTStatement
static IASTStatement[] IASTLabelStatement.EMPTY_LABEL_STATEMENT_ARRAY
           
static IASTStatement[] IASTStatement.EMPTY_STATEMENT_ARRAY
           
 

Methods in org.eclipse.cdt.core.dom.ast that return IASTStatement
 IASTStatement IASTStatement.copy()
           
 IASTStatement IASTStatement.copy(IASTNode.CopyStyle style)
           
 IASTStatement IASTWhileStatement.getBody()
          The body of the loop.
 IASTStatement IASTForStatement.getBody()
          Get the statements that this for loop controls.
 IASTStatement IASTSwitchStatement.getBody()
          Returns the body of the switch statement.
 IASTStatement IASTFunctionDefinition.getBody()
          Returns the body of the function.
 IASTStatement IASTDoStatement.getBody()
          Get the body of the loop.
 IASTStatement IASTIfStatement.getElseClause()
          Returns the statement that is executed if the condition is false.
 IASTStatement IASTForStatement.getInitializerStatement()
           
 IASTStatement IASTLabelStatement.getNestedStatement()
          Returns the statement following the label.
 IASTStatement[] IASTCompoundStatement.getStatements()
          Gets the statements in this block.
 IASTStatement IASTIfStatement.getThenClause()
          Returns the statement that is executed if the condition is true.
 

Methods in org.eclipse.cdt.core.dom.ast with parameters of type IASTStatement
 void IASTCompoundStatement.addStatement(IASTStatement statement)
          Add 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)
          Set the body of the while loop.
 void IASTForStatement.setBody(IASTStatement statement)
          Set the body of the for 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 IASTDoStatement.setBody(IASTStatement body)
          Set the body of the loop.
 void IASTIfStatement.setElseClause(IASTStatement elseClause)
          Sets the else clause.
 void IASTForStatement.setInitializerStatement(IASTStatement statement)
           
 void IASTLabelStatement.setNestedStatement(IASTStatement s)
           
 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)
           
 

Uses of IASTStatement in org.eclipse.cdt.core.dom.ast.cpp
 

Subinterfaces of IASTStatement in org.eclipse.cdt.core.dom.ast.cpp
 interface ICPPASTCatchHandler
          Catch handler used for try block statements or for functions with try block.
 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.
 

Methods in org.eclipse.cdt.core.dom.ast.cpp that return IASTStatement
 IASTStatement ICPPASTRangeBasedForStatement.getBody()
          Returns the statement of this for-loop.
 IASTStatement ICPPASTCatchHandler.getCatchBody()
          Get the catch body.
 IASTStatement ICPPASTTryBlockStatement.getTryBody()
          Get try body.
 

Methods in org.eclipse.cdt.core.dom.ast.cpp with parameters of type IASTStatement
 ICPPASTCatchHandler ICPPNodeFactory.newCatchHandler(IASTDeclaration decl, IASTStatement body)
           
 ICPPASTForStatement ICPPNodeFactory.newForStatement(IASTStatement init, IASTDeclaration condition, IASTExpression iterationExpression, IASTStatement body)
           
 ICPPASTForStatement ICPPNodeFactory.newForStatement(IASTStatement init, IASTExpression condition, IASTExpression iterationExpression, IASTStatement body)
           
 ICPPASTFunctionDefinition ICPPNodeFactory.newFunctionDefinition(IASTDeclSpecifier declSpecifier, IASTFunctionDeclarator declarator, IASTStatement bodyStatement)
           
 ICPPASTFunctionWithTryBlock ICPPNodeFactory.newFunctionTryBlock(IASTDeclSpecifier declSpecifier, IASTFunctionDeclarator declarator, IASTStatement bodyStatement)
           
 ICPPASTIfStatement ICPPNodeFactory.newIfStatement(IASTDeclaration condition, IASTStatement then, IASTStatement elseClause)
           
 ICPPASTIfStatement ICPPNodeFactory.newIfStatement(IASTExpression condition, IASTStatement then, IASTStatement elseClause)
           
 ICPPASTSwitchStatement ICPPNodeFactory.newSwitchStatement(IASTDeclaration controller, IASTStatement body)
           
 ICPPASTSwitchStatement ICPPNodeFactory.newSwitchStatement(IASTExpression controlloer, IASTStatement body)
           
 ICPPASTTryBlockStatement ICPPNodeFactory.newTryBlockStatement(IASTStatement body)
           
 ICPPASTWhileStatement ICPPNodeFactory.newWhileStatement(IASTDeclaration condition, IASTStatement body)
           
 ICPPASTWhileStatement ICPPNodeFactory.newWhileStatement(IASTExpression condition, IASTStatement body)
           
 void ICPPASTRangeBasedForStatement.setBody(IASTStatement statement)
          Not allowed on frozen AST.
 void ICPPASTCatchHandler.setCatchBody(IASTStatement compoundStatement)
          Set the catch body.
 void ICPPASTTryBlockStatement.setTryBody(IASTStatement tryBlock)
          Set try body.
 


Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.