org.sonar.javascript.model
Interface ForStatementTree

All Superinterfaces:
SourceElementTree, StatementTree, Tree
All Known Implementing Classes:
TreeImpl.ForStatementTreeImpl

public interface ForStatementTree
extends StatementTree

for Statement.

   for ( initExpression() ; condition() ; incrementExpression()) statement()
   for ( var initVariables() ; condition() ; incrementExpression() ) statement()
 

This interface is not intended to be implemented by clients.


Method Summary
 ExpressionTree condition()
           
 ExpressionTree incrementExpression()
           
 ExpressionTree initExpression()
           
 List<VariableDeclarationTree> initVariables()
           
 StatementTree statement()
           
 
Methods inherited from interface org.sonar.javascript.model.Tree
as, getLine, is
 

Method Detail

initVariables

@Nullable
List<VariableDeclarationTree> initVariables()

initExpression

@Nullable
ExpressionTree initExpression()

condition

@Nullable
ExpressionTree condition()

incrementExpression

@Nullable
ExpressionTree incrementExpression()

statement

StatementTree statement()


Copyright © 2011-2014 SonarSource and Eriks Nukis. All Rights Reserved.