Class ODRuleGenerationGlobalScope
- java.lang.Object
-
- de.monticore.tf.odrulegeneration._symboltable.ODRuleGenerationScope
-
- de.monticore.tf.odrulegeneration._symboltable.ODRuleGenerationGlobalScope
-
- All Implemented Interfaces:
IMCBasicsGlobalScope,IMCBasicsScope,de.monticore.symboltable.IGlobalScope,de.monticore.symboltable.IScope,IODRuleGenerationGlobalScope,IODRuleGenerationScope,IMCBasicTypesGlobalScope,IMCBasicTypesScope,IMCCollectionTypesGlobalScope,IMCCollectionTypesScope,IMCFullGenericTypesGlobalScope,IMCFullGenericTypesScope,IMCSimpleGenericTypesGlobalScope,IMCSimpleGenericTypesScope
public class ODRuleGenerationGlobalScope extends ODRuleGenerationScope implements IODRuleGenerationGlobalScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>cachede.monticore.symboltable.serialization.IDeSerdeSerprotected java.lang.StringfileExtprotected java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer>symbolDeSersprotected de.monticore.io.paths.MCPathsymbolPathprotected ODRuleGenerationSymbols2Jsonsymbols2Json-
Fields inherited from class de.monticore.tf.odrulegeneration._symboltable.ODRuleGenerationScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description ODRuleGenerationGlobalScope()ODRuleGenerationGlobalScope(de.monticore.io.paths.MCPath symbolPath, java.lang.String fileExt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(MCBasicsTraverser visitor)voidaccept(ODRuleGenerationTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(MCCollectionTypesTraverser visitor)voidaccept(MCFullGenericTypesTraverser visitor)voidaccept(MCSimpleGenericTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)voidaddLoadedFile(java.lang.String name)voidclear()voidclearLoadedFiles()de.monticore.symboltable.serialization.IDeSergetDeSer()java.lang.StringgetFileExt()ODRuleGenerationGlobalScopegetRealThis()java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer>getSymbolDeSers()de.monticore.io.paths.MCPathgetSymbolPath()ODRuleGenerationSymbols2JsongetSymbols2Json()voidinit()booleanisFileLoaded(java.lang.String name)voidloadFileForModelName(java.lang.String modelName)voidsetDeSer(de.monticore.symboltable.serialization.IDeSer deSer)voidsetFileExt(java.lang.String fileExt)voidsetSymbolDeSers(java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers)voidsetSymbolPath(de.monticore.io.paths.MCPath symbolPath)voidsetSymbols2Json(ODRuleGenerationSymbols2Json symbols2Json)-
Methods inherited from class de.monticore.tf.odrulegeneration._symboltable.ODRuleGenerationScope
add, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getName, getSpanningSymbol, getSubScopes, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.types.mccollectiontypes._symboltable.IMCCollectionTypesGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.types.mccollectiontypes._symboltable.IMCCollectionTypesScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.types.mcfullgenerictypes._symboltable.IMCFullGenericTypesGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcfullgenerictypes._symboltable.IMCFullGenericTypesScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.tf.odrulegeneration._symboltable.IODRuleGenerationGlobalScope
checkIfContinueAsSubScope, getEnclosingScope, getName, getSymbolDeSer, isPresentName, putSymbolDeSer, setEnclosingScope
-
Methods inherited from interface de.monticore.tf.odrulegeneration._symboltable.IODRuleGenerationScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
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
-
-
-
-
Field Detail
-
symbolPath
protected de.monticore.io.paths.MCPath symbolPath
-
fileExt
protected java.lang.String fileExt
-
deSer
public de.monticore.symboltable.serialization.IDeSer deSer
-
symbolDeSers
protected java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers
-
symbols2Json
protected ODRuleGenerationSymbols2Json symbols2Json
-
cache
protected java.util.Set<java.lang.String> cache
-
-
Method Detail
-
getSymbolPath
public de.monticore.io.paths.MCPath getSymbolPath()
- Specified by:
getSymbolPathin interfacede.monticore.symboltable.IGlobalScope
-
setSymbolPath
public void setSymbolPath(de.monticore.io.paths.MCPath symbolPath)
- Specified by:
setSymbolPathin interfacede.monticore.symboltable.IGlobalScope
-
getFileExt
public java.lang.String getFileExt()
- Specified by:
getFileExtin interfacede.monticore.symboltable.IGlobalScope
-
setFileExt
public void setFileExt(java.lang.String fileExt)
- Specified by:
setFileExtin interfacede.monticore.symboltable.IGlobalScope
-
getDeSer
public de.monticore.symboltable.serialization.IDeSer getDeSer()
- Specified by:
getDeSerin interfacede.monticore.symboltable.IGlobalScope
-
setDeSer
public void setDeSer(de.monticore.symboltable.serialization.IDeSer deSer)
- Specified by:
setDeSerin interfacede.monticore.symboltable.IGlobalScope
-
getSymbolDeSers
public java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> getSymbolDeSers()
- Specified by:
getSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCBasicsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCBasicTypesGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCCollectionTypesGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCFullGenericTypesGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
getSymbolDeSersin interfaceIODRuleGenerationGlobalScope
-
setSymbolDeSers
public void setSymbolDeSers(java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers)
- Specified by:
setSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope
-
setSymbols2Json
public void setSymbols2Json(ODRuleGenerationSymbols2Json symbols2Json)
-
getSymbols2Json
public ODRuleGenerationSymbols2Json getSymbols2Json()
-
addLoadedFile
public void addLoadedFile(java.lang.String name)
- Specified by:
addLoadedFilein interfacede.monticore.symboltable.IGlobalScope
-
clearLoadedFiles
public void clearLoadedFiles()
- Specified by:
clearLoadedFilesin interfacede.monticore.symboltable.IGlobalScope
-
isFileLoaded
public boolean isFileLoaded(java.lang.String name)
- Specified by:
isFileLoadedin interfacede.monticore.symboltable.IGlobalScope
-
init
public void init()
- Specified by:
initin interfacede.monticore.symboltable.IGlobalScope
-
loadFileForModelName
public void loadFileForModelName(java.lang.String modelName)
- Specified by:
loadFileForModelNamein interfaceIMCBasicsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCBasicTypesGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCCollectionTypesGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCFullGenericTypesGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
loadFileForModelNamein interfaceIODRuleGenerationGlobalScope
-
getRealThis
public ODRuleGenerationGlobalScope getRealThis()
- Specified by:
getRealThisin interfaceIMCBasicsGlobalScope- Specified by:
getRealThisin interfaceIMCBasicTypesGlobalScope- Specified by:
getRealThisin interfaceIMCCollectionTypesGlobalScope- Specified by:
getRealThisin interfaceIMCFullGenericTypesGlobalScope- Specified by:
getRealThisin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
getRealThisin interfaceIODRuleGenerationGlobalScope
-
clear
public void clear()
- Specified by:
clearin interfacede.monticore.symboltable.IGlobalScope
-
accept
public void accept(ODRuleGenerationTraverser visitor)
- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(MCFullGenericTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(MCSimpleGenericTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(MCCollectionTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCCollectionTypesGlobalScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesGlobalScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesGlobalScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesGlobalScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesGlobalScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Overrides:
acceptin classODRuleGenerationScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesGlobalScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesGlobalScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesGlobalScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationGlobalScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classODRuleGenerationScope
-
-