Interface IfStatementTree
-
- All Superinterfaces:
ConditionalTree,StatementTree,Tree
- All Known Implementing Classes:
IfStatementTreeImpl
@Beta public interface IfStatementTree extends StatementTree, ConditionalTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxTokencloseParenthesisToken()ExpressionTreecondition()ElseClauseTreeelseClause()SyntaxTokenifKeyword()SyntaxTokenopenParenthesisToken()StatementTreestatement()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
ifKeyword
SyntaxToken ifKeyword()
-
openParenthesisToken
SyntaxToken openParenthesisToken()
-
condition
ExpressionTree condition()
- Specified by:
conditionin interfaceConditionalTree
-
closeParenthesisToken
SyntaxToken closeParenthesisToken()
-
statement
StatementTree statement()
-
elseClause
@Nullable ElseClauseTree elseClause()
-
-