Package de.monticore.types.check
Class DeriveSymTypeOfMCCommonLiterals
- java.lang.Object
-
- de.monticore.types.check.DeriveSymTypeOfLiterals
-
- de.monticore.types.check.DeriveSymTypeOfMCCommonLiterals
-
- All Implemented Interfaces:
MCCommonLiteralsVisitor2,MCLiteralsBasisVisitor2,de.monticore.visitor.IVisitor
- Direct Known Subclasses:
DeriveSymTypeOfMCJavaLiterals
@Deprecated public class DeriveSymTypeOfMCCommonLiterals extends DeriveSymTypeOfLiterals implements MCCommonLiteralsVisitor2
Deprecated.part of typecheck1, useTypeCheck3instead.Visitor for Derivation of SymType from Literals (Function 2b) i.e. for literals/MCLiteralsBasis.mc4
-
-
Field Summary
Fields Modifier and Type Field Description protected TypeCheckResulttypeCheckResultDeprecated.
-
Constructor Summary
Constructors Constructor Description DeriveSymTypeOfMCCommonLiterals()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidderivePrimitive(ASTSignedLiteral lit, java.lang.String primitive)Deprecated.protected voidderivePrimitive(ASTLiteral lit, java.lang.String primitive)Deprecated.protected SymTypeExpressiongetSymType(java.lang.String type, de.se_rwth.commons.SourcePosition pos)Deprecated.TypeCheckResultgetTypeCheckResult()Deprecated.voidsetTypeCheckResult(TypeCheckResult result)Deprecated.voidvisit(ASTBasicDoubleLiteral lit)Deprecated.voidvisit(ASTBasicFloatLiteral lit)Deprecated.voidvisit(ASTBasicLongLiteral lit)Deprecated.voidvisit(ASTBooleanLiteral lit)Deprecated.voidvisit(ASTCharLiteral lit)Deprecated.voidvisit(ASTNatLiteral lit)Deprecated.voidvisit(ASTNullLiteral lit)Deprecated.Literal "null" gets marked with implicit SymType _nullvoidvisit(ASTSignedBasicDoubleLiteral lit)Deprecated.voidvisit(ASTSignedBasicFloatLiteral lit)Deprecated.voidvisit(ASTSignedBasicLongLiteral lit)Deprecated.voidvisit(ASTSignedNatLiteral lit)Deprecated.voidvisit(ASTStringLiteral lit)Deprecated.-
Methods inherited from class de.monticore.types.check.DeriveSymTypeOfLiterals
getScope, init, visit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
Methods inherited from interface de.monticore.literals.mccommonliterals._visitor.MCCommonLiteralsVisitor2
endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Field Detail
-
typeCheckResult
protected TypeCheckResult typeCheckResult
Deprecated.
-
-
Method Detail
-
setTypeCheckResult
public void setTypeCheckResult(TypeCheckResult result)
Deprecated.- Overrides:
setTypeCheckResultin classDeriveSymTypeOfLiterals
-
getTypeCheckResult
public TypeCheckResult getTypeCheckResult()
Deprecated.- Overrides:
getTypeCheckResultin classDeriveSymTypeOfLiterals
-
getSymType
protected SymTypeExpression getSymType(java.lang.String type, de.se_rwth.commons.SourcePosition pos)
Deprecated.
-
visit
public void visit(ASTNatLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTCharLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTBooleanLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTBasicDoubleLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTBasicFloatLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTBasicLongLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTStringLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTSignedNatLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTSignedBasicDoubleLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTSignedBasicFloatLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
visit
public void visit(ASTSignedBasicLongLiteral lit)
Deprecated.- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
derivePrimitive
protected void derivePrimitive(ASTLiteral lit, java.lang.String primitive)
Deprecated.
-
derivePrimitive
protected void derivePrimitive(ASTSignedLiteral lit, java.lang.String primitive)
Deprecated.
-
visit
public void visit(ASTNullLiteral lit)
Deprecated.Literal "null" gets marked with implicit SymType _null- Specified by:
visitin interfaceMCCommonLiteralsVisitor2
-
-