|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.internal.helper.OCLSyntaxHelper.ASTVisitor
protected class OCLSyntaxHelper.ASTVisitor
Constructor Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 completingMethod Detail |
---|
protected ConstraintKind getConstraintType()
public java.util.List<Choice> visitOperationCallExp(OperationCallExp<C,O> exp)
Visitor
visitOperationCallExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitVariableExp(VariableExp<C,PM> variableexp)
Visitor
visitVariableExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitPropertyCallExp(PropertyCallExp<C,P> propertycallexp)
Visitor
visitPropertyCallExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitAssociationClassCallExp(AssociationClassCallExp<C,P> exp)
Visitor
visitAssociationClassCallExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitVariable(Variable<C,PM> variabledeclaration)
Visitor
visitVariable
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitIfExp(IfExp<C> exp)
Visitor
visitIfExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitTypeExp(TypeExp<C> typeExp)
Visitor
visitTypeExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitMessageExp(MessageExp<C,COA,SSA> m)
Visitor
visitMessageExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitUnspecifiedValueExp(UnspecifiedValueExp<C> unspecifiedvalueexp)
Visitor
visitUnspecifiedValueExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitIntegerLiteralExp(IntegerLiteralExp<C> exp)
Visitor
visitIntegerLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitUnlimitedNaturalLiteralExp(UnlimitedNaturalLiteralExp<C> exp)
Visitor
visitUnlimitedNaturalLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitRealLiteralExp(RealLiteralExp<C> exp)
Visitor
visitRealLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitStringLiteralExp(StringLiteralExp<C> exp)
Visitor
visitStringLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitBooleanLiteralExp(BooleanLiteralExp<C> exp)
Visitor
visitBooleanLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitNullLiteralExp(NullLiteralExp<C> il)
Visitor
visitNullLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitInvalidLiteralExp(InvalidLiteralExp<C> il)
Visitor
visitInvalidLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitTupleLiteralExp(TupleLiteralExp<C,P> tupleliteralexp)
Visitor
visitTupleLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitTupleLiteralPart(TupleLiteralPart<C,P> tp)
Visitor
visitTupleLiteralPart
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitLetExp(LetExp<C,PM> letexp)
Visitor
visitLetExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitEnumLiteralExp(EnumLiteralExp<C,EL> enumliteralexp)
Visitor
visitEnumLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitStateExp(StateExp<C,S> s)
Visitor
visitStateExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitCollectionLiteralExp(CollectionLiteralExp<C> exp)
Visitor
visitCollectionLiteralExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitCollectionItem(CollectionItem<C> item)
Visitor
visitCollectionItem
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitCollectionRange(CollectionRange<C> range)
Visitor
visitCollectionRange
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitIteratorExp(IteratorExp<C,PM> exp)
Visitor
visitIteratorExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitIterateExp(IterateExp<C,PM> exp)
Visitor
visitIterateExp
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitExpressionInOCL(ExpressionInOCL<C,PM> expression)
Visitor
visitExpressionInOCL
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
public java.util.List<Choice> visitConstraint(CT constraint)
Visitor
visitConstraint
in interface Visitor<java.util.List<Choice>,C,O,P,EL,PM,S,COA,SSA,CT>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |