Interface ForStatementTree
-
- All Superinterfaces:
ConditionalTree,IterationStatementTree,StatementTree,Tree
- All Known Implementing Classes:
ForStatementTreeImpl
@Beta public interface ForStatementTree extends IterationStatementTree, ConditionalTree
for Statement.for (
init();condition();update())statement()for ( varinit();condition();update())statement()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxTokencloseParenthesisToken()ExpressionTreecondition()SyntaxTokenfirstSemicolonToken()SyntaxTokenforKeyword()Treeinit()SyntaxTokenopenParenthesisToken()SyntaxTokensecondSemicolonToken()StatementTreestatement()ExpressionTreeupdate()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
forKeyword
SyntaxToken forKeyword()
-
openParenthesisToken
SyntaxToken openParenthesisToken()
-
firstSemicolonToken
SyntaxToken firstSemicolonToken()
-
condition
@Nullable ExpressionTree condition()
- Specified by:
conditionin interfaceConditionalTree
-
secondSemicolonToken
SyntaxToken secondSemicolonToken()
-
update
@Nullable ExpressionTree update()
-
closeParenthesisToken
SyntaxToken closeParenthesisToken()
-
statement
StatementTree statement()
- Specified by:
statementin interfaceIterationStatementTree
-
-