Class AbstractTypeVisitor

    • Field Detail

      • LOG_NAME

        protected static final java.lang.String LOG_NAME
        the name to be used for Log.info, etc.
        See Also:
        Constant Field Values
      • type4Ast

        protected Type4Ast type4Ast
        the map to be filled with type information In most cases, this is the global map in the mill. However, if a AstNode can have multiple Types (e.g., variants within the same model), one may set a different map to be filled.
    • Constructor Detail

      • AbstractTypeVisitor

        public AbstractTypeVisitor()
    • Method Detail

      • setType4Ast

        public void setType4Ast​(Type4Ast type4Ast)
      • getType4Ast

        protected Type4Ast getType4Ast()
        the map to be filled with type information. Deriving classes should always use this method to get the map.
      • getInferenceContext4Ast

        protected InferenceContext4Ast getInferenceContext4Ast()
        the map to be filled with type context information. Deriving classes should always use this method to get the map. Only dedicated visitors for target types usage (mostly called CTTIVisitor) should make use of this map. It is set to null for all over visitors!
      • getAsBasicSymbolsScope

        protected IBasicSymbolsScope getAsBasicSymbolsScope​(de.monticore.symboltable.IScope scope)