Package io.github.fupacat.ast
Class IIfCall
java.lang.Object
io.github.fupacat.ast.TSqlFragment
io.github.fupacat.ast.ScalarExpression
io.github.fupacat.ast.PrimaryExpression
io.github.fupacat.ast.IIfCall
- All Implemented Interfaces:
ICollationSetter,Serializable
Represents the iif expression.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionElse expression.The expression that is the predicate for the iif function.Then expression.Fields inherited from class io.github.fupacat.ast.PrimaryExpression
CollationFields 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 iif function. This should be a boolean expression. -
ThenExpression
Then expression. -
ElseExpression
Else expression.
-
-
Constructor Details
-
IIfCall
public IIfCall()
-
-
Method Details
-
accept
- Overrides:
acceptin classPrimaryExpression
-
acceptChildren
- Overrides:
acceptChildrenin classPrimaryExpression
-