Package de.monticore.types.check
Class SynthesizeSymTypeFromMCCollectionTypes
- java.lang.Object
-
- de.monticore.types.check.AbstractSynthesizeFromType
-
- de.monticore.types.check.SynthesizeSymTypeFromMCCollectionTypes
-
- All Implemented Interfaces:
MCCollectionTypesHandler,MCCollectionTypesVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
@Deprecated public class SynthesizeSymTypeFromMCCollectionTypes extends AbstractSynthesizeFromType implements MCCollectionTypesVisitor2, MCCollectionTypesHandler
Deprecated.part of typecheck1, useTypeCheck3instead.Visitor for Derivation of SymType from MCBasicTypes i.e. for types/MCBasicTypes.mc4
-
-
Field Summary
Fields Modifier and Type Field Description protected MCCollectionTypesTraversertraverserDeprecated.-
Fields inherited from class de.monticore.types.check.AbstractSynthesizeFromType
typeCheckResult
-
-
Constructor Summary
Constructors Constructor Description SynthesizeSymTypeFromMCCollectionTypes()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidendVisit(ASTMCListType t)Deprecated.We use mainly endVisit, because the result is synthesized along the tree, when walking upwardsvoidendVisit(ASTMCOptionalType t)Deprecated.voidendVisit(ASTMCSetType t)Deprecated.MCCollectionTypesTraversergetTraverser()Deprecated.voidsetTraverser(MCCollectionTypesTraverser traverser)Deprecated.voidsynthesizeTypeWithOneArgument(ASTMCType type, java.lang.String name)Deprecated.voidtraverse(ASTMCMapType node)Deprecated.Map has two arguments: to retrieve them properly, the traverse method is adapted (looking deeper into the visitor), instead of the endVisit method:-
Methods inherited from class de.monticore.types.check.AbstractSynthesizeFromType
checkNotObscure, getResult, getScope, getTypeCheckResult, init, setTypeCheckResult
-
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.IHandler
handle, handle, handle, handle, handle, traverse, traverse
-
Methods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
-
-
-
Field Detail
-
traverser
protected MCCollectionTypesTraverser traverser
Deprecated.
-
-
Method Detail
-
setTraverser
public void setTraverser(MCCollectionTypesTraverser traverser)
Deprecated.- Specified by:
setTraverserin interfaceMCCollectionTypesHandler
-
getTraverser
public MCCollectionTypesTraverser getTraverser()
Deprecated.- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCCollectionTypesHandler- Specified by:
getTraverserin classAbstractSynthesizeFromType
-
endVisit
public void endVisit(ASTMCListType t)
Deprecated.We use mainly endVisit, because the result is synthesized along the tree, when walking upwards- Specified by:
endVisitin interfaceMCCollectionTypesVisitor2
-
endVisit
public void endVisit(ASTMCSetType t)
Deprecated.- Specified by:
endVisitin interfaceMCCollectionTypesVisitor2
-
endVisit
public void endVisit(ASTMCOptionalType t)
Deprecated.- Specified by:
endVisitin interfaceMCCollectionTypesVisitor2
-
synthesizeTypeWithOneArgument
public void synthesizeTypeWithOneArgument(ASTMCType type, java.lang.String name)
Deprecated.
-
traverse
public void traverse(ASTMCMapType node)
Deprecated.Map has two arguments: to retrieve them properly, the traverse method is adapted (looking deeper into the visitor), instead of the endVisit method:- Specified by:
traversein interfaceMCCollectionTypesHandler
-
-