protected class OCLSyntaxHelper.ASTVisitor extends java.lang.Object implements Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
Modifier | Constructor and Description |
---|---|
protected |
OCLSyntaxHelper.ASTVisitor(java.lang.String text,
int position,
ConstraintKind constraintType)
Initializes me with the position at which we are trying to find
completions and the text that we are completing.
|
protected OCLSyntaxHelper.ASTVisitor(java.lang.String text, int position, ConstraintKind constraintType)
text
- the text to completeposition
- the completion positionconstraintType
- the type of constraint that we are completingprotected ConstraintKind getConstraintType()
public java.util.List<Choice> visitOperationCallExp(OperationCallExp<C,O> exp)
Visitor
public java.util.List<Choice> visitVariableExp(VariableExp<C,PM> variableexp)
Visitor
public java.util.List<Choice> visitPropertyCallExp(PropertyCallExp<C,P> propertycallexp)
Visitor
public java.util.List<Choice> visitAssociationClassCallExp(AssociationClassCallExp<C,P> exp)
Visitor
public java.util.List<Choice> visitVariable(Variable<C,PM> variabledeclaration)
Visitor
public java.util.List<Choice> visitIfExp(IfExp<C> exp)
Visitor
public java.util.List<Choice> visitTypeExp(TypeExp<C> typeExp)
Visitor
public java.util.List<Choice> visitMessageExp(MessageExp<C,COA,SSA> m)
Visitor
public java.util.List<Choice> visitUnspecifiedValueExp(UnspecifiedValueExp<C> unspecifiedvalueexp)
Visitor
public java.util.List<Choice> visitIntegerLiteralExp(IntegerLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitUnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitRealLiteralExp(RealLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitStringLiteralExp(StringLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitBooleanLiteralExp(BooleanLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitNullLiteralExp(NullLiteralExp<C> il)
Visitor
public java.util.List<Choice> visitInvalidLiteralExp(InvalidLiteralExp<C> il)
Visitor
public java.util.List<Choice> visitTupleLiteralExp(TupleLiteralExp<C,P> tupleliteralexp)
Visitor
public java.util.List<Choice> visitTupleLiteralPart(TupleLiteralPart<C,P> tp)
Visitor
public java.util.List<Choice> visitLetExp(LetExp<C,PM> letexp)
Visitor
public java.util.List<Choice> visitEnumLiteralExp(EnumLiteralExp<C,EL> enumliteralexp)
Visitor
public java.util.List<Choice> visitStateExp(StateExp<C,S> s)
Visitor
public java.util.List<Choice> visitCollectionLiteralExp(CollectionLiteralExp<C> exp)
Visitor
public java.util.List<Choice> visitCollectionItem(CollectionItem<C> item)
Visitor
public java.util.List<Choice> visitCollectionRange(CollectionRange<C> range)
Visitor
public java.util.List<Choice> visitIteratorExp(IteratorExp<C,PM> exp)
Visitor
public java.util.List<Choice> visitIterateExp(IterateExp<C,PM> exp)
Visitor
public java.util.List<Choice> visitExpressionInOCL(ExpressionInOCL<C,PM> expression)
Visitor