org.sonar.javascript.model
Interface IfStatementTree

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

public interface IfStatementTree
extends StatementTree

if Statement.

   if (condition()) thenStatement()
   if (condition()) thenStatement() else elseStatement()
 

This interface is not intended to be implemented by clients.


Method Summary
 ExpressionTree condition()
           
 StatementTree elseStatement()
           
 StatementTree thenStatement()
           
 
Methods inherited from interface org.sonar.javascript.model.Tree
as, getLine, is
 

Method Detail

condition

ExpressionTree condition()

thenStatement

StatementTree thenStatement()

elseStatement

@Nullable
StatementTree elseStatement()


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