Class TypeSymbol

    • Constructor Detail

      • TypeSymbol

        public TypeSymbol​(java.lang.String name)
    • Method Detail

      • setFunctionList

        public void setFunctionList​(java.util.List<FunctionSymbol> methodList)
      • getSuperClassesOnly

        public java.util.List<SymTypeExpression> getSuperClassesOnly()
      • getFunctionList

        public java.util.List<FunctionSymbol> getFunctionList()
        get a list of all the methods the type definition can access
      • getFunctionList

        public java.util.List<FunctionSymbol> getFunctionList​(java.lang.String methodname)
        search in the scope for methods with a specific name
      • getVariableList

        public java.util.List<VariableSymbol> getVariableList()
        get a list of all the fields the type definition can access
      • getVariableList

        public java.util.List<VariableSymbol> getVariableList​(java.lang.String fieldname)
        search in the scope for methods with a specific name
      • getTypeParameterList

        public java.util.List<TypeVarSymbol> getTypeParameterList()
      • addTypeVarSymbol

        public void addTypeVarSymbol​(TypeVarSymbol t)
      • addVariableSymbol

        public void addVariableSymbol​(VariableSymbol f)
      • addFunctionSymbol

        public void addFunctionSymbol​(FunctionSymbol m)
      • isPresentSuperClass

        public boolean isPresentSuperClass()
      • getAccessModifier

        public de.monticore.symboltable.modifiers.AccessModifier getAccessModifier()
        Specified by:
        getAccessModifier in interface de.monticore.symboltable.ISymbol
        Overrides:
        getAccessModifier in class TypeSymbolTOP