Package de.monticore.types.check
Class DeriveSymTypeOfAssignmentExpressions
java.lang.Object
de.monticore.types.check.AbstractDeriveFromExpression
de.monticore.types.check.DeriveSymTypeOfAssignmentExpressions
- All Implemented Interfaces:
AssignmentExpressionsHandler,AssignmentExpressionsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
@Deprecated
public class DeriveSymTypeOfAssignmentExpressions
extends AbstractDeriveFromExpression
implements AssignmentExpressionsVisitor2, AssignmentExpressionsHandler
Deprecated.
This Visitor can calculate a SymTypeExpression (type) for the expressions in AssignmentExpressions
It can be combined with other expressions in your language by creating a DelegatorVisitor
-
Field Summary
FieldsFields inherited from class de.monticore.types.check.AbstractDeriveFromExpression
ERROR_MSG, typeCheckResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SymTypeExpressionaddAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionaffix(ASTExpression expr, String op, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionaffix(SymTypeExpression inner, String op, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionandAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionarithmeticAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition src) Deprecated.protected SymTypeExpressionassignment(SymTypeExpression left, SymTypeExpression right, int op, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionassignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition src) Deprecated.protected SymTypeExpressionbinaryAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionbitAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition src) Deprecated.protected SymTypeExpressionDeprecated.protected SymTypeExpressiondivideAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.Deprecated.protected SymTypeExpressionleftShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionmoduloAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionmultiplyAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionorAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionrightShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.voidsetTraverser(AssignmentExpressionsTraverser traverser) Deprecated.protected SymTypeExpressionsubtractAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.protected SymTypeExpressionunsignedRightShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.protected SymTypeExpressionxorAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated.Methods inherited from class de.monticore.types.check.AbstractDeriveFromExpression
acceptThisAndReturnSymTypeExpression, acceptThisAndReturnSymTypeExpression, calculateInnerTypes, checkNotObscure, getScope, getTypeCheckResult, isIntegralType, isNumericType, logError, setTypeCheckResult, storeResultOrLogErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.expressions.assignmentexpressions._visitor.AssignmentExpressionsHandler
handle, handle, handle, handle, handle, handle, handle, handle, handle, handle, traverse, traverse, traverse, traverseMethods inherited from interface de.monticore.expressions.assignmentexpressions._visitor.AssignmentExpressionsVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from interface de.monticore.visitor.IHandler
handle, handle, handle, handle, handle, traverse, traverseMethods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
Field Details
-
traverser
Deprecated.
-
-
Constructor Details
-
DeriveSymTypeOfAssignmentExpressions
public DeriveSymTypeOfAssignmentExpressions()Deprecated.
-
-
Method Details
-
setTraverser
Deprecated.- Specified by:
setTraverserin interfaceAssignmentExpressionsHandler
-
getTraverser
Deprecated.- Specified by:
getTraverserin interfaceAssignmentExpressionsHandler- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin classAbstractDeriveFromExpression
-
traverse
Deprecated.- Specified by:
traversein interfaceAssignmentExpressionsHandler
-
traverse
Deprecated.- Specified by:
traversein interfaceAssignmentExpressionsHandler
-
traverse
Deprecated.- Specified by:
traversein interfaceAssignmentExpressionsHandler
-
traverse
Deprecated.- Specified by:
traversein interfaceAssignmentExpressionsHandler
-
affix
protected SymTypeExpression affix(ASTExpression expr, String op, de.se_rwth.commons.SourcePosition pos) Deprecated. -
affix
protected SymTypeExpression affix(SymTypeExpression inner, String op, de.se_rwth.commons.SourcePosition pos) Deprecated. -
traverse
Deprecated.- Specified by:
traversein interfaceAssignmentExpressionsHandler
-
derive
Deprecated. -
assignment
protected SymTypeExpression assignment(SymTypeExpression left, SymTypeExpression right, int op, de.se_rwth.commons.SourcePosition pos) Deprecated. -
addAssignment
protected SymTypeExpression addAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
subtractAssignment
protected SymTypeExpression subtractAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
multiplyAssignment
protected SymTypeExpression multiplyAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
moduloAssignment
protected SymTypeExpression moduloAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
divideAssignment
protected SymTypeExpression divideAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
andAssignment
protected SymTypeExpression andAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
orAssignment
protected SymTypeExpression orAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
xorAssignment
protected SymTypeExpression xorAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
rightShiftAssignment
protected SymTypeExpression rightShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
leftShiftAssignment
protected SymTypeExpression leftShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
unsignedRightShiftAssignment
protected SymTypeExpression unsignedRightShiftAssignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition pos) Deprecated. -
binaryAssignment
protected SymTypeExpression binaryAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition pos) Deprecated. -
bitAssignment
protected SymTypeExpression bitAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition src) Deprecated. -
arithmeticAssignment
protected SymTypeExpression arithmeticAssignment(SymTypeExpression left, SymTypeExpression right, String op, de.se_rwth.commons.SourcePosition src) Deprecated. -
assignment
protected SymTypeExpression assignment(SymTypeExpression left, SymTypeExpression right, de.se_rwth.commons.SourcePosition src) Deprecated.
-
TypeCheck3instead.