protected class DeclarationResolver.DeclarationVisitor extends AbstractExpressionVisitor
Modifier and Type | Field and Description |
---|---|
protected boolean |
buildingDeclaration
This flag is used to determine what to do in
visit(SimpleSelectStatement) . |
protected boolean |
collectResultVariable
Flag used to determine if the
IdentificationVariable to visit is a result variable. |
protected Declaration |
currentDeclaration
The
Declaration being populated. |
Modifier | Constructor and Description |
---|---|
protected |
DeclarationResolver.DeclarationVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visit(AbstractSchemaName expression)
Visits the
AbstractSchemaName expression. |
void |
visit(CollectionExpression expression)
Visits the
CollectionExpression expression. |
void |
visit(CollectionMemberDeclaration expression)
Visits the
CollectionMemberDeclaration expression. |
void |
visit(CollectionValuedPathExpression expression)
Visits the
CollectionValuedPathExpression expression. |
void |
visit(DeleteClause expression)
Visits the
DeleteClause expression. |
void |
visit(DeleteStatement expression)
Visits the
DeleteStatement expression. |
void |
visit(FromClause expression)
Visits the
FromClause expression. |
void |
visit(IdentificationVariable expression)
Visits the
IdentificationVariable expression. |
void |
visit(IdentificationVariableDeclaration expression)
Visits the
IdentificationVariableDeclaration expression. |
void |
visit(Join expression)
Visits the
Join expression. |
void |
visit(JPQLExpression expression)
Visits the
JPQLExpression expression. |
void |
visit(NullExpression expression)
Visits the
NullExpression expression. |
void |
visit(RangeVariableDeclaration expression)
Visits the
RangeVariableDeclaration expression. |
void |
visit(ResultVariable expression)
Visits the
ResultVariable expression. |
void |
visit(SelectClause expression)
Visits the
SelectClause expression. |
void |
visit(SelectStatement expression)
Visits the
SelectStatement expression. |
void |
visit(SimpleFromClause expression)
Visits the
SimpleFromClause expression. |
void |
visit(SimpleSelectClause expression)
Visits the
SimpleSelectClause expression. |
void |
visit(SimpleSelectStatement expression)
Visits the
SimpleSelectStatement expression. |
void |
visit(UpdateClause expression)
Visits the
UpdateClause expression. |
void |
visit(UpdateStatement expression)
Visits the
UpdateStatement 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
protected boolean buildingDeclaration
visit(SimpleSelectStatement)
.protected boolean collectResultVariable
IdentificationVariable
to visit is a result variable.protected Declaration currentDeclaration
Declaration
being populated.protected DeclarationResolver.DeclarationVisitor()
public void visit(AbstractSchemaName expression)
AbstractSchemaName
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionExpression expression)
CollectionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionMemberDeclaration expression)
CollectionMemberDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionValuedPathExpression expression)
CollectionValuedPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(DeleteClause expression)
DeleteClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(DeleteStatement expression)
DeleteStatement
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(FromClause expression)
FromClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariableDeclaration expression)
IdentificationVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(Join expression)
Join
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(JPQLExpression expression)
JPQLExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(NullExpression expression)
NullExpression
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(ResultVariable expression)
ResultVariable
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SelectClause expression)
SelectClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SelectStatement expression)
SelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleFromClause expression)
SimpleFromClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectClause expression)
SimpleSelectClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectStatement expression)
SimpleSelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The Expression
to visitpublic void visit(UpdateClause expression)
UpdateClause
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The UpdateClause
to visitpublic void visit(UpdateStatement expression)
UpdateStatement
expression.visit
in interface ExpressionVisitor
visit
in class AbstractExpressionVisitor
expression
- The UpdateStatement
to visit