Interface WhileStatementTree
-
- All Superinterfaces:
ConditionalTree,IterationStatementTree,StatementTree,Tree
- All Known Implementing Classes:
WhileStatementTreeImpl
@Beta public interface WhileStatementTree extends IterationStatementTree, ConditionalTree
while Statement.while (
condition())statement()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxTokencloseParenthesisToken()ExpressionTreecondition()SyntaxTokenopenParenthesisToken()StatementTreestatement()SyntaxTokenwhileKeyword()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
whileKeyword
SyntaxToken whileKeyword()
-
openParenthesisToken
SyntaxToken openParenthesisToken()
-
condition
ExpressionTree condition()
- Specified by:
conditionin interfaceConditionalTree
-
closeParenthesisToken
SyntaxToken closeParenthesisToken()
-
statement
StatementTree statement()
- Specified by:
statementin interfaceIterationStatementTree
-
-