Class AbstractContentAssistVisitor.EndingQueryPositionBuilder
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.AbstractContentAssistVisitor.EndingQueryPositionBuilder
-
- All Implemented Interfaces:
ExpressionVisitor
- Direct Known Subclasses:
EclipseLinkContentAssistVisitor.EndingQueryPositionBuilder
- Enclosing class:
- AbstractContentAssistVisitor
protected static class AbstractContentAssistVisitor.EndingQueryPositionBuilder extends java.lang.Object implements ExpressionVisitor
This builder populates aQueryPosition
by traversing the valid portion of the JPQL query. The position is the end of eachExpression
.For instance, "SELECT e FROM Employee e O WHERE e.name = 'JPQL'", the valid fragment is "SELECT e FROM Employee e", the positions will be:
- JPQLExpression = 24
- SelectStatement = 24
- FromClause = 15
- IdentificationVariableDeclaration = 10
- RangeVariableDeclaration = 10
- IdentificationVariable = 1
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
badExpression
This internal flag helps to determine if theExpression
where the cursor is located was flagged to be invalid.protected int
correction
This is used to correct the length of anExpression
protected Expression
invalidExpression
TheExpression
containing the invalid fragment.protected int
positionWithinInvalidExpression
The position of the cursor within the invalid expression.QueryPosition
queryPosition
ThisQueryPosition
has the position of eachExpression
within the valid fragment of the JPQL query.boolean
virtualSpace
Indicates whether a virtual space should be added to the stack or not.
-
Constructor Summary
Constructors Modifier Constructor Description protected
EndingQueryPositionBuilder(AbstractContentAssistVisitor visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes the internal data.QueryPosition
getQueryPosition()
Returns the newQueryPosition
that was created.boolean
hasVirtualSpace()
Determines whether a virtual space should be added to the stack or not.void
prepare(Expression invalidExpression)
Prepares this visitor before visiting anExpression
.void
visit(AbsExpression expression)
Visits theAbsExpression
expression.void
visit(AbstractSchemaName expression)
Visits theAbstractSchemaName
expression.void
visit(AdditionExpression expression)
Visits theAdditionExpression
expression.void
visit(AllOrAnyExpression expression)
Visits theAllOrAnyExpression
expression.void
visit(AndExpression expression)
Visits theAndExpression
expression.void
visit(ArithmeticFactor expression)
Visits theArithmeticFactor
expression.void
visit(AvgFunction expression)
Visits theAvgFunction
expression.void
visit(BadExpression expression)
Visits theBadExpression
expression.void
visit(BetweenExpression expression)
Visits theBetweenExpression
expression.void
visit(CaseExpression expression)
Visits theCaseExpression
expression.void
visit(CoalesceExpression expression)
Visits theCoalesceExpression
expression.void
visit(CollectionExpression expression)
Visits theCollectionExpression
expression.void
visit(CollectionMemberDeclaration expression)
Visits theCollectionMemberDeclaration
expression.void
visit(CollectionMemberExpression expression)
Visits theCollectionMemberExpression
expression.void
visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.void
visit(ComparisonExpression expression)
Visits theComparisonExpression
expression.void
visit(ConcatExpression expression)
Visits theConcatExpression
expression.void
visit(ConstructorExpression expression)
Visits theConstructorExpression
expression.void
visit(CountFunction expression)
Visits theCountFunction
expression.void
visit(DateTime expression)
Visits theDateTime
expression.void
visit(DeleteClause expression)
Visits theDeleteClause
expression.void
visit(DeleteStatement expression)
Visits theDeleteStatement
expression.void
visit(DivisionExpression expression)
Visits theDivisionExpression
expression.void
visit(EmptyCollectionComparisonExpression expression)
Visits theEmptyCollectionComparisonExpression
expression.void
visit(EntityTypeLiteral expression)
Visits theEntityTypeLiteral
expression.void
visit(EntryExpression expression)
Visits theEntryExpression
expression.void
visit(ExistsExpression expression)
Visits theExistsExpression
expression.void
visit(FromClause expression)
Visits theFromClause
expression.void
visit(FunctionExpression expression)
Visits theFunctionExpression
expression.void
visit(GroupByClause expression)
Visits theGroupByClause
expression.void
visit(HavingClause expression)
Visits theHavingClause
expression.void
visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.void
visit(IdentificationVariableDeclaration expression)
Visits theIdentificationVariableDeclaration
expression.void
visit(IndexExpression expression)
Visits theIndexExpression
expression.void
visit(InExpression expression)
Visits theInExpression
expression.void
visit(InputParameter expression)
Visits theInputParameter
expression.void
visit(Join expression)
Visits theJoin
expression.void
visit(JPQLExpression expression)
Visits theJPQLExpression
expression.void
visit(KeyExpression expression)
Visits theKeyExpression
expression.void
visit(KeywordExpression expression)
Visits theKeywordExpression
expression.void
visit(LengthExpression expression)
Visits theLengthExpression
expression.void
visit(LikeExpression expression)
Visits theLikeExpression
expression.void
visit(LocateExpression expression)
Visits theLocateExpression
expression.void
visit(LowerExpression expression)
Visits theLowerExpression
expression.void
visit(MaxFunction expression)
Visits theMaxFunction
expression.void
visit(MinFunction expression)
Visits theMinFunction
expression.void
visit(ModExpression expression)
Visits theModExpression
expression.void
visit(MultiplicationExpression expression)
Visits theMultiplicationExpression
expression.void
visit(NotExpression expression)
Visits theNotExpression
expression.void
visit(NullComparisonExpression expression)
Visits theNullComparisonExpression
expression.void
visit(NullExpression expression)
Visits theNullExpression
expression.void
visit(NullIfExpression expression)
Visits theNullIfExpression
expression.void
visit(NumericLiteral expression)
Visits theNumericLiteral
expression.void
visit(ObjectExpression expression)
Visits theObjectExpression
expression.void
visit(OnClause expression)
Visits theOnClause
expression.void
visit(OrderByClause expression)
Visits theOrderByClause
expression.void
visit(OrderByItem expression)
Visits theOrderByItem
expression.void
visit(OrExpression expression)
Visits theOrExpression
expression.void
visit(RangeVariableDeclaration expression)
Visits theRangeVariableDeclaration
expression.void
visit(ResultVariable expression)
Visits theResultVariable
expression.void
visit(SelectClause expression)
Visits theSelectClause
expression.void
visit(SelectStatement expression)
Visits theSelectStatement
expression.void
visit(SimpleFromClause expression)
Visits theSimpleFromClause
expression.void
visit(SimpleSelectClause expression)
Visits theSimpleSelectClause
expression.void
visit(SimpleSelectStatement expression)
Visits theSimpleSelectStatement
expression.void
visit(SizeExpression expression)
Visits theSizeExpression
expression.void
visit(SqrtExpression expression)
Visits theSqrtExpression
expression.void
visit(StateFieldPathExpression expression)
Visits theStateFieldPathExpression
expression.void
visit(StringLiteral expression)
Visits theStringLiteral
expression.void
visit(SubExpression expression)
Visits theSubExpression
expression.void
visit(SubstringExpression expression)
Visits theSubstringExpression
expression.void
visit(SubtractionExpression expression)
Visits theSubtractionExpression
expression.void
visit(SumFunction expression)
Visits theSumFunction
expression.void
visit(TreatExpression expression)
Visits theTreatExpression
expression.void
visit(TrimExpression expression)
Visits theTrimExpression
expression.void
visit(TypeExpression expression)
Visits theTypeExpression
expression.void
visit(UnknownExpression expression)
Visits theUnknownExpression
expression.void
visit(UpdateClause expression)
Visits theUpdateClause
expression.void
visit(UpdateItem expression)
Visits theUpdateItem
expression.void
visit(UpdateStatement expression)
Visits theUpdateStatement
expression.void
visit(UpperExpression expression)
Visits theUpperExpression
expression.void
visit(ValueExpression expression)
Visits theValueExpression
expression.void
visit(WhenClause expression)
Visits theWhenClause
expression.void
visit(WhereClause expression)
Visits theWhereClause
expression.protected void
visitAbstractConditionalClause(AbstractConditionalClause expression)
protected void
visitAbstractDoubleEncapsulatedExpression(AbstractDoubleEncapsulatedExpression expression)
protected void
visitAbstractFromClause(AbstractFromClause expression)
protected void
visitAbstractSingleEncapsulatedExpression(AbstractSingleEncapsulatedExpression expression)
protected void
visitAbstractTripleEncapsulatedExpression(AbstractTripleEncapsulatedExpression expression)
protected void
visitCompoundExpression(CompoundExpression expression)
-
-
-
Field Detail
-
badExpression
protected boolean badExpression
This internal flag helps to determine if theExpression
where the cursor is located was flagged to be invalid. If so, this helps to determine how to handle the calculation of the new position within the query.For instance: "SELECT e FROM Employee e AS" has a bad expression wrapping the identifier "AS", which is parsed as a result variable. In this case, the position would actually be 2 within the bad expression. If the bad expression was something more complex than just a single word, then that expression should not be included in the position.
-
correction
protected int correction
This is used to correct the length of anExpression
-
invalidExpression
protected Expression invalidExpression
TheExpression
containing the invalid fragment.
-
positionWithinInvalidExpression
protected int positionWithinInvalidExpression
The position of the cursor within the invalid expression.
-
queryPosition
public QueryPosition queryPosition
ThisQueryPosition
has the position of eachExpression
within the valid fragment of the JPQL query.
-
virtualSpace
public boolean virtualSpace
Indicates whether a virtual space should be added to the stack or not.
-
-
Constructor Detail
-
EndingQueryPositionBuilder
protected EndingQueryPositionBuilder(AbstractContentAssistVisitor visitor)
-
-
Method Detail
-
dispose
public void dispose()
Disposes the internal data.
-
getQueryPosition
public QueryPosition getQueryPosition()
Returns the newQueryPosition
that was created.- Returns:
-
hasVirtualSpace
public boolean hasVirtualSpace()
Determines whether a virtual space should be added to the stack or not.- Returns:
true
if a virtual space should be considered;false
otherwise
-
prepare
public void prepare(Expression invalidExpression)
Prepares this visitor before visiting anExpression
.dispose()
is called after the visit operation is complete.- Parameters:
invalidExpression
- TheExpression
containing the invalid fragment
-
visit
public void visit(AbsExpression expression)
Visits theAbsExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(AbstractSchemaName expression)
Visits theAbstractSchemaName
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(AdditionExpression expression)
Visits theAdditionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(AllOrAnyExpression expression)
Visits theAllOrAnyExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(AndExpression expression)
Visits theAndExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ArithmeticFactor expression)
Visits theArithmeticFactor
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(AvgFunction expression)
Visits theAvgFunction
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(BadExpression expression)
Visits theBadExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(BetweenExpression expression)
Visits theBetweenExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CaseExpression expression)
Visits theCaseExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CoalesceExpression expression)
Visits theCoalesceExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CollectionExpression expression)
Visits theCollectionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CollectionMemberDeclaration expression)
Visits theCollectionMemberDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CollectionMemberExpression expression)
Visits theCollectionMemberExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CollectionValuedPathExpression expression)
Visits theCollectionValuedPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ComparisonExpression expression)
Visits theComparisonExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ConcatExpression expression)
Visits theConcatExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ConstructorExpression expression)
Visits theConstructorExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(CountFunction expression)
Visits theCountFunction
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DateTime expression)
Visits theDateTime
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DeleteClause expression)
Visits theDeleteClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DeleteStatement expression)
Visits theDeleteStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(DivisionExpression expression)
Visits theDivisionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(EmptyCollectionComparisonExpression expression)
Visits theEmptyCollectionComparisonExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(EntityTypeLiteral expression)
Visits theEntityTypeLiteral
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(EntryExpression expression)
Visits theEntryExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ExistsExpression expression)
Visits theExistsExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(FromClause expression)
Visits theFromClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(FunctionExpression expression)
Visits theFunctionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(GroupByClause expression)
Visits theGroupByClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(HavingClause expression)
Visits theHavingClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariable expression)
Visits theIdentificationVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IdentificationVariableDeclaration expression)
Visits theIdentificationVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(IndexExpression expression)
Visits theIndexExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(InExpression expression)
Visits theInExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(InputParameter expression)
Visits theInputParameter
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(Join expression)
Visits theJoin
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(JPQLExpression expression)
Visits theJPQLExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(KeyExpression expression)
Visits theKeyExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(KeywordExpression expression)
Visits theKeywordExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(LengthExpression expression)
Visits theLengthExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(LikeExpression expression)
Visits theLikeExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(LocateExpression expression)
Visits theLocateExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(LowerExpression expression)
Visits theLowerExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(MaxFunction expression)
Visits theMaxFunction
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(MinFunction expression)
Visits theMinFunction
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ModExpression expression)
Visits theModExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(MultiplicationExpression expression)
Visits theMultiplicationExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NotExpression expression)
Visits theNotExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NullComparisonExpression expression)
Visits theNullComparisonExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NullExpression expression)
Visits theNullExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NullIfExpression expression)
Visits theNullIfExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(NumericLiteral expression)
Visits theNumericLiteral
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ObjectExpression expression)
Visits theObjectExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(OnClause expression)
Visits theOnClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(OrderByClause expression)
Visits theOrderByClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(OrderByItem expression)
Visits theOrderByItem
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(OrExpression expression)
Visits theOrExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(RangeVariableDeclaration expression)
Visits theRangeVariableDeclaration
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(ResultVariable expression)
Visits theResultVariable
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SelectClause expression)
Visits theSelectClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SelectStatement expression)
Visits theSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleFromClause expression)
Visits theSimpleFromClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleSelectClause expression)
Visits theSimpleSelectClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SimpleSelectStatement expression)
Visits theSimpleSelectStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SizeExpression expression)
Visits theSizeExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SqrtExpression expression)
Visits theSqrtExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(StateFieldPathExpression expression)
Visits theStateFieldPathExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(StringLiteral expression)
Visits theStringLiteral
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SubExpression expression)
Visits theSubExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SubstringExpression expression)
Visits theSubstringExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SubtractionExpression expression)
Visits theSubtractionExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(SumFunction expression)
Visits theSumFunction
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(TreatExpression expression)
Visits theTreatExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(TrimExpression expression)
Visits theTrimExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(TypeExpression expression)
Visits theTypeExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheExpression
to visit
-
visit
public void visit(UnknownExpression expression)
Visits theUnknownExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheUnknownExpression
to visit
-
visit
public void visit(UpdateClause expression)
Visits theUpdateClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheUpdateClause
to visit
-
visit
public void visit(UpdateItem expression)
Visits theUpdateItem
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheUpdateItem
to visit
-
visit
public void visit(UpdateStatement expression)
Visits theUpdateStatement
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheUpdateStatement
to visit
-
visit
public void visit(UpperExpression expression)
Visits theUpperExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheUpperExpression
to visit
-
visit
public void visit(ValueExpression expression)
Visits theValueExpression
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheValueExpression
to visit
-
visit
public void visit(WhenClause expression)
Visits theWhenClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheWhenClause
to visit
-
visit
public void visit(WhereClause expression)
Visits theWhereClause
expression.- Specified by:
visit
in interfaceExpressionVisitor
- Parameters:
expression
- TheWhereClause
to visit
-
visitAbstractConditionalClause
protected void visitAbstractConditionalClause(AbstractConditionalClause expression)
-
visitAbstractDoubleEncapsulatedExpression
protected void visitAbstractDoubleEncapsulatedExpression(AbstractDoubleEncapsulatedExpression expression)
-
visitAbstractFromClause
protected void visitAbstractFromClause(AbstractFromClause expression)
-
visitAbstractSingleEncapsulatedExpression
protected void visitAbstractSingleEncapsulatedExpression(AbstractSingleEncapsulatedExpression expression)
-
visitAbstractTripleEncapsulatedExpression
protected void visitAbstractTripleEncapsulatedExpression(AbstractTripleEncapsulatedExpression expression)
-
visitCompoundExpression
protected void visitCompoundExpression(CompoundExpression expression)
-
-