public class AbstractVisitor<T> extends AbstractVisitor<T,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint> implements VisitorExtension<T>
VisitorExtension interface and provides a default implementation for
OppositePropertyCallExp.result| Modifier | Constructor and Description |
|---|---|
protected |
AbstractVisitor()
Initializes me.
|
protected |
AbstractVisitor(T result)
Initializes me with an initial value for my result.
|
| Modifier and Type | Method and Description |
|---|---|
protected T |
handleOppositePropertyCallExp(OppositePropertyCallExp callExp,
T sourceResult)
Visits the specified opposite property call with the results of visiting
its source and qualifiers (if any).
|
T |
visitOppositePropertyCallExp(OppositePropertyCallExp callExp)
Visits the opposite property-call source.
|
getSpecification, handleAssociationClassCallExp, handleCollectionItem, handleCollectionLiteralExp, handleCollectionRange, handleConstraint, handleExpressionInOCL, handleIfExp, handleIterateExp, handleIteratorExp, handleLetExp, handleMessageExp, handleOperationCallExp, handlePropertyCallExp, handleTupleLiteralExp, handleTupleLiteralPart, handleVariable, safeVisit, visitAssociationClassCallExp, visitBooleanLiteralExp, visitCollectionItem, visitCollectionLiteralExp, visitCollectionRange, visitConstraint, visitEnumLiteralExp, visitExpressionInOCL, visitIfExp, visitIntegerLiteralExp, visitInvalidLiteralExp, visitIterateExp, visitIteratorExp, visitLetExp, visitMessageExp, visitNullLiteralExp, visitOperationCallExp, visitPropertyCallExp, visitRealLiteralExp, visitStateExp, visitStringLiteralExp, visitTupleLiteralExp, visitTupleLiteralPart, visitTypeExp, visitUnlimitedNaturalLiteralExp, visitUnspecifiedValueExp, visitVariable, visitVariableExpprotected AbstractVisitor()
protected AbstractVisitor(T result)
initialValue - my initial result valuepublic T visitOppositePropertyCallExp(OppositePropertyCallExp callExp)
handleOppositePropertyCallExp(OppositePropertyCallExp, Object).visitOppositePropertyCallExp in interface VisitorExtension<T>protected T handleOppositePropertyCallExp(OppositePropertyCallExp callExp, T sourceResult)
sourceResult will be null in that case.callExp - the opposite property call expressionsourceResult - the result of visiting the expression's sourceAbstractVisitor.result, by defaultvisitOppositePropertyCallExp(OppositePropertyCallExp)