inAArrowPropertyCallExpressionTail(AArrowPropertyCallExpressionTail node) We need to keep track that what follows is in the scope of an arrow feature call, this is important because it
means it is a feature that is implied by the OCL language, rather than the model on which the constraint
applies.
public void
inADotPropertyCallExpressionTail(ADotPropertyCallExpressionTail node) This indicates we have entered a feature call, we need to mark this to counterpart any previous arrow feature
call flags.
public void caseALetVariableDeclaration(ALetVariableDeclaration node)(Code)
Here we need to make sure the equals sign '=' is not translated into the 'equal' keyword. OCL uses '=' for
comparison as well as for assignment, Java uses '==', '=' and .equals() so we override the default OCL value here
to use '=' instead of 'equal'
caseALogicalExp
public void caseALogicalExp(ALogicalExp node)(Code)
caseALogicalExpressionTail
public void caseALogicalExpressionTail(ALogicalExpressionTail node)(Code)
caseAMessageExpression
public void caseAMessageExpression(AMessageExpression node)(Code)
caseAOperationContextDeclaration
public void caseAOperationContextDeclaration(AOperationContextDeclaration node)(Code)
caseAPostOperationStereotype
public void caseAPostOperationStereotype(APostOperationStereotype node)(Code)
caseAPreOperationStereotype
public void caseAPreOperationStereotype(APreOperationStereotype node)(Code)
caseAPropertyCallExpression
public void caseAPropertyCallExpression(APropertyCallExpression node)(Code)
caseARelationalExpressionTail
public void caseARelationalExpressionTail(ARelationalExpressionTail node)(Code)
caseATypeDeclaration
public void caseATypeDeclaration(ATypeDeclaration node)(Code)
caseAVariableDeclaration
public void caseAVariableDeclaration(AVariableDeclaration node)(Code)
Renders a variable declaration. Missing types will imply the java.lang.Object type.
caseAVariableDeclarationLetExpSub
public void caseAVariableDeclarationLetExpSub(AVariableDeclarationLetExpSub node)(Code)
caseAVariableDeclarationList
public void caseAVariableDeclarationList(AVariableDeclarationList node)(Code)
caseAVariableDeclarationListTail
public void caseAVariableDeclarationListTail(AVariableDeclarationListTail node)(Code)
public void handleArrowFeatureCall(AFeatureCall featureCall)(Code)
Handles an arrow feature call. Its expected that this featureCall's parent is a
AArrowPropertyCallExpressionTail. This is here because arrow feature calls must be handled differently than
dot feature calls.
Parameters: featureCall - the arrowfeatureCall to handle.
handleDotFeatureCall
public void handleDotFeatureCall(AFeatureCall featureCall)(Code)
Handles a dot feature call. Its expected that this featureCall's parent is a
ADotPropertyCallExpressionTail. This is here because dot feature calls must be handled differently than
arrow feature calls.
Parameters: featureCall - the dotfeatureCall to handle.
inAArrowPropertyCallExpressionTail
public void inAArrowPropertyCallExpressionTail(AArrowPropertyCallExpressionTail node)(Code)
We need to keep track that what follows is in the scope of an arrow feature call, this is important because it
means it is a feature that is implied by the OCL language, rather than the model on which the constraint
applies.
inADotPropertyCallExpressionTail
public void inADotPropertyCallExpressionTail(ADotPropertyCallExpressionTail node)(Code)
This indicates we have entered a feature call, we need to mark this to counterpart any previous arrow feature
call flags.