Package io.github.fupacat.ast
Class WhileStatement
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.TSqlStatement
io.github.fupacat.ast.WhileStatement
- All Implemented Interfaces:
Serializable
Represents the while statement.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe expression that is the predicate for the if statement.The statement that will be executed if the predicate evaluates true.Fields inherited from class io.github.fupacat.ast.TSqlFragment
firstTokenIndex, lastTokenIndex, ScriptTokenStream, Value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TSqlFragmentVisitor visitor) voidacceptChildren(TSqlFragmentVisitor visitor) Methods inherited from class io.github.fupacat.ast.TSqlFragment
SetIdentifier, SetUnquotedIdentifier, UpdateTokenInfo, UpdateTokenInfo
-
Field Details
-
Predicate
The expression that is the predicate for the if statement. This should be a boolean expression. -
Statement
The statement that will be executed if the predicate evaluates true.
-
-
Constructor Details
-
WhileStatement
public WhileStatement()
-
-
Method Details
-
accept
- Overrides:
acceptin classTSqlStatement
-
acceptChildren
- Overrides:
acceptChildrenin classTSqlStatement
-