protected abstract class BasicStateObjectBuilder.AbstractRangeDeclarationBuilder<S extends AbstractFromClauseStateObject> extends AbstractTraverseChildrenVisitor implements IBuilder<AbstractIdentificationVariableDeclarationStateObject,S>
FROM
clause.Modifier and Type | Field and Description |
---|---|
protected S |
parent
The concrete instance of
AbstractFromClauseStateObject where the new identification
variable declaration is added. |
protected AbstractIdentificationVariableDeclarationStateObject |
stateObject
The concrete instance of
IdentificationVariableDeclarationStateObject
that represents the visited IdentificationVariableDeclaration . |
Modifier | Constructor and Description |
---|---|
protected |
BasicStateObjectBuilder.AbstractRangeDeclarationBuilder() |
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractIdentificationVariableDeclarationStateObject |
addRangeDeclaration(IdentificationVariableDeclaration expression)
Creates the concrete instance of an
AbstractIdentificationVariableDeclarationStateObject
for the given IdentificationVariableDeclaration . |
AbstractIdentificationVariableDeclarationStateObject |
buildStateObject(S parent,
Expression expression)
Creates the
StateObject representation of the given Expression . |
void |
visit(AbstractSchemaName expression)
Visits the
AbstractSchemaName expression. |
void |
visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
visit(RangeVariableDeclaration expression)
Visits the
RangeVariableDeclaration 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
protected S extends AbstractFromClauseStateObject parent
AbstractFromClauseStateObject
where the new identification
variable declaration is added.protected AbstractIdentificationVariableDeclarationStateObject stateObject
IdentificationVariableDeclarationStateObject
that represents the visited IdentificationVariableDeclaration
.protected BasicStateObjectBuilder.AbstractRangeDeclarationBuilder()
protected abstract AbstractIdentificationVariableDeclarationStateObject addRangeDeclaration(IdentificationVariableDeclaration expression)
AbstractIdentificationVariableDeclarationStateObject
for the given IdentificationVariableDeclaration
.expression
- The IdentificationVariableDeclaration
to convert into a
StateObject
StateObject
representing an identification variable declarationpublic AbstractIdentificationVariableDeclarationStateObject buildStateObject(S parent, Expression expression)
StateObject
representation of the given Expression
.buildStateObject
in interface IBuilder<AbstractIdentificationVariableDeclarationStateObject,S extends AbstractFromClauseStateObject>
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(AbstractSchemaName expression)
AbstractSchemaName
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariableDeclaration expression)
IdentificationVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit