protected class BasicStateObjectBuilder.WhenClauseBuilder extends AbstractTraverseChildrenVisitor implements IBuilder<CaseExpressionStateObject,CaseExpressionStateObject>
WHEN
clauses for a
CASE
expression.Modifier | Constructor and Description |
---|---|
protected |
BasicStateObjectBuilder.WhenClauseBuilder() |
Modifier and Type | Method and Description |
---|---|
CaseExpressionStateObject |
buildStateObject(CaseExpressionStateObject parent,
Expression expression)
Creates the
StateObject representation of the given Expression . |
void |
visit(WhenClause expression)
Visits the
WhenClause expression. |
visit
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected BasicStateObjectBuilder.WhenClauseBuilder()
public CaseExpressionStateObject buildStateObject(CaseExpressionStateObject parent, Expression expression)
StateObject
representation of the given Expression
.buildStateObject
in interface IBuilder<CaseExpressionStateObject,CaseExpressionStateObject>
parent
- The parent of the new StateObject
to createexpression
- The parsed Expression
to convert into a StateObject
StateObject
representation of the given Expression
public void visit(WhenClause expression)
WhenClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The WhenClause
to visit