Package de.monticore.expressions.cocos
Class ExpressionValid
- java.lang.Object
-
- de.monticore.expressions.cocos.ExpressionValid
-
- All Implemented Interfaces:
ExpressionsBasisASTExpressionCoCo
,ExpressionsBasisVisitor2
,de.monticore.visitor.IVisitor
@Deprecated public class ExpressionValid extends java.lang.Object implements ExpressionsBasisASTExpressionCoCo
Deprecated.not compatible with target typing, thus, this needs to be replaced with multiple CoCos, which do pass the target type if available. These CoCos have to be created for each non-terminal that contains an Expression. Please refer to the TypeCheck3 documentation and specificallyTypeCheck3.typeOf(ASTExpression, de.monticore.types.check.SymTypeExpression)
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Optional<ASTExpression>
checkingNode
Deprecated.protected TypeCalculator
typeCheck
Deprecated.
-
Constructor Summary
Constructors Constructor Description ExpressionValid(TypeCalculator typeCheck)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
check(ASTExpression expr)
Deprecated.void
endVisit(ASTExpression expr)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._cocos.ExpressionsBasisASTExpressionCoCo
visit
-
-
-
-
Field Detail
-
checkingNode
protected java.util.Optional<ASTExpression> checkingNode
Deprecated.
-
typeCheck
protected TypeCalculator typeCheck
Deprecated.
-
-
Constructor Detail
-
ExpressionValid
public ExpressionValid(TypeCalculator typeCheck)
Deprecated.
-
-
Method Detail
-
endVisit
public void endVisit(ASTExpression expr)
Deprecated.- Specified by:
endVisit
in interfaceExpressionsBasisVisitor2
-
check
public void check(ASTExpression expr)
Deprecated.- Specified by:
check
in interfaceExpressionsBasisASTExpressionCoCo
-
-