Interface WhileStatementTree
-
- All Superinterfaces:
StatementTree
,Tree
- All Known Implementing Classes:
WhileStatementTreeImpl
public interface WhileStatementTree extends StatementTree
Represents while statement and alternative while statement syntax as well.while
condition()
#statement()
whilecondition()
:#statement()
endwhile ; // alternative syntax
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyntaxToken
colonToken()
ParenthesisedExpressionTree
condition()
SyntaxToken
endWhileToken()
SyntaxToken
eosToken()
List<StatementTree>
statements()
SyntaxToken
whileToken()
-
-
-
Method Detail
-
whileToken
SyntaxToken whileToken()
-
condition
ParenthesisedExpressionTree condition()
-
colonToken
@Nullable SyntaxToken colonToken()
-
statements
List<StatementTree> statements()
-
endWhileToken
@Nullable SyntaxToken endWhileToken()
-
eosToken
@Nullable SyntaxToken eosToken()
-
-