Interface IAntlrGlobalScope

All Superinterfaces:
IAntlrScope, de.monticore.symboltable.IGlobalScope, de.monticore.symboltable.IScope
All Known Subinterfaces:
IGrammar_WithConceptsGlobalScope
All Known Implementing Classes:
AntlrGlobalScope, Grammar_WithConceptsGlobalScope, Grammar_WithConceptsGlobalScopeTOP

public interface IAntlrGlobalScope extends de.monticore.symboltable.IGlobalScope, IAntlrScope
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    accept(de.monticore.visitor.ITraverser visitor)
     
    default boolean
     
    default IAntlrScope
     
    default String
     
     
    default de.monticore.symboltable.serialization.ISymbolDeSer
     
    Map<String,de.monticore.symboltable.serialization.ISymbolDeSer>
     
    default boolean
     
    void
     
    default void
    putSymbolDeSer(String key, de.monticore.symboltable.serialization.ISymbolDeSer value)
     
    default void
     

    Methods inherited from interface de.monticore.grammar.concepts.antlr.antlr._symboltable.IAntlrScope

    addSubScope, getSubScopes, getSymbolsSize, removeSubScope

    Methods inherited from interface de.monticore.symboltable.IGlobalScope

    addLoadedFile, clear, clearLoadedFiles, getDeSer, getFileExt, getSymbolPath, init, isFileLoaded, setDeSer, setFileExt, setSymbolDeSers, setSymbolPath

    Methods inherited from interface de.monticore.symboltable.IScope

    add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
  • Method Details

    • loadFileForModelName

      void loadFileForModelName(String modelName)
    • getEnclosingScope

      default IAntlrScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface IAntlrScope
      Specified by:
      getEnclosingScope in interface de.monticore.symboltable.IScope
    • setEnclosingScope

      default void setEnclosingScope(IAntlrScope enclosingScope)
      Specified by:
      setEnclosingScope in interface IAntlrScope
    • getName

      default String getName()
      Specified by:
      getName in interface de.monticore.symboltable.IScope
    • isPresentName

      default boolean isPresentName()
      Specified by:
      isPresentName in interface de.monticore.symboltable.IScope
    • checkIfContinueAsSubScope

      default boolean checkIfContinueAsSubScope(String symbolName)
      Specified by:
      checkIfContinueAsSubScope in interface de.monticore.symboltable.IScope
    • getSymbolDeSers

      Map<String,de.monticore.symboltable.serialization.ISymbolDeSer> getSymbolDeSers()
      Specified by:
      getSymbolDeSers in interface de.monticore.symboltable.IGlobalScope
    • putSymbolDeSer

      default void putSymbolDeSer(String key, de.monticore.symboltable.serialization.ISymbolDeSer value)
      Specified by:
      putSymbolDeSer in interface de.monticore.symboltable.IGlobalScope
    • getSymbolDeSer

      default de.monticore.symboltable.serialization.ISymbolDeSer getSymbolDeSer(String key)
      Specified by:
      getSymbolDeSer in interface de.monticore.symboltable.IGlobalScope
    • getRealThis

      IAntlrGlobalScope getRealThis()
    • accept

      void accept(AntlrTraverser visitor)
      Specified by:
      accept in interface IAntlrScope
    • accept

      void accept(de.monticore.visitor.ITraverser visitor)
      Specified by:
      accept in interface IAntlrScope
      Specified by:
      accept in interface de.monticore.symboltable.IScope