Class RegExTypeGlobalScope
- java.lang.Object
-
- de.monticore.regex.regextype._symboltable.RegExTypeScope
-
- de.monticore.regex.regextype._symboltable.RegExTypeGlobalScope
-
- All Implemented Interfaces:
IMCCommonLiteralsGlobalScope,IMCCommonLiteralsScope,IMCLiteralsBasisGlobalScope,IMCLiteralsBasisScope,IMCBasicsGlobalScope,IMCBasicsScope,IRegExTypeGlobalScope,IRegExTypeScope,IRegularExpressionsGlobalScope,IRegularExpressionsScope,de.monticore.symboltable.IGlobalScope,de.monticore.symboltable.IScope,IMCBasicTypesGlobalScope,IMCBasicTypesScope
public class RegExTypeGlobalScope extends RegExTypeScope implements IRegExTypeGlobalScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<INamedCapturingGroupSymbolResolver>adaptedNamedCapturingGroupSymbolResolverprotected 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 RegExTypeSymbols2Jsonsymbols2Json-
Fields inherited from class de.monticore.regex.regextype._symboltable.RegExTypeScope
astNode, enclosingScope, exportingSymbols, name, namedCapturingGroupSymbols, namedCapturingGroupSymbolsAlreadyResolved, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description RegExTypeGlobalScope()RegExTypeGlobalScope(de.monticore.io.paths.MCPath symbolPath, java.lang.String fileExt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(MCCommonLiteralsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(RegExTypeTraverser visitor)voidaccept(RegularExpressionsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)voidaddLoadedFile(java.lang.String name)voidclear()voidclearLoadedFiles()java.util.List<INamedCapturingGroupSymbolResolver>getAdaptedNamedCapturingGroupSymbolResolverList()de.monticore.symboltable.serialization.IDeSergetDeSer()java.lang.StringgetFileExt()RegExTypeGlobalScopegetRealThis()java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer>getSymbolDeSers()de.monticore.io.paths.MCPathgetSymbolPath()RegExTypeSymbols2JsongetSymbols2Json()voidinit()booleanisFileLoaded(java.lang.String name)voidloadFileForModelName(java.lang.String modelName)voidloadNamedCapturingGroup(java.lang.String name)voidputNamedCapturingGroupSymbolDeSer(java.lang.String kind)voidsetAdaptedNamedCapturingGroupSymbolResolverList(java.util.List<INamedCapturingGroupSymbolResolver> adaptedNamedCapturingGroupSymbolResolver)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(RegExTypeSymbols2Json symbols2Json)-
Methods inherited from class de.monticore.regex.regextype._symboltable.RegExTypeScope
add, add, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getName, getNamedCapturingGroupSymbols, getSpanningSymbol, getSubScopes, getUnknownSymbols, isExportingSymbols, isNamedCapturingGroupSymbolsAlreadyResolved, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, resolveNamedCapturingGroupSubKinds, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setNamedCapturingGroupSymbolsAlreadyResolved, 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, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.regex.regextype._symboltable.IRegExTypeGlobalScope
checkIfContinueAsSubScope, getEnclosingScope, getName, getNamedCapturingGroupSymbolDeSer, getSymbolDeSer, isPresentName, putSymbolDeSer, resolveAdaptedNamedCapturingGroup, resolveNamedCapturingGroupMany, setEnclosingScope
-
Methods inherited from interface de.monticore.regex.regextype._symboltable.IRegExTypeScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.regex.regularexpressions._symboltable.IRegularExpressionsGlobalScope
addAdaptedNamedCapturingGroupSymbolResolver, addAdaptedNamedCapturingGroupSymbolResolver, addAllAdaptedNamedCapturingGroupSymbolResolver, addAllAdaptedNamedCapturingGroupSymbolResolver, calculateModelNamesForNamedCapturingGroup, clearAdaptedNamedCapturingGroupSymbolResolver, containsAdaptedNamedCapturingGroupSymbolResolver, containsAllAdaptedNamedCapturingGroupSymbolResolver, equalsAdaptedNamedCapturingGroupSymbolResolver, forEachAdaptedNamedCapturingGroupSymbolResolver, getAdaptedNamedCapturingGroupSymbolResolver, hashCodeAdaptedNamedCapturingGroupSymbolResolver, indexOfAdaptedNamedCapturingGroupSymbolResolver, isEmptyAdaptedNamedCapturingGroupSymbolResolver, iteratorAdaptedNamedCapturingGroupSymbolResolver, lastIndexOfAdaptedNamedCapturingGroupSymbolResolver, listIteratorAdaptedNamedCapturingGroupSymbolResolver, listIteratorAdaptedNamedCapturingGroupSymbolResolver, parallelStreamAdaptedNamedCapturingGroupSymbolResolver, removeAdaptedNamedCapturingGroupSymbolResolver, removeAdaptedNamedCapturingGroupSymbolResolver, removeAllAdaptedNamedCapturingGroupSymbolResolver, removeIfAdaptedNamedCapturingGroupSymbolResolver, replaceAllAdaptedNamedCapturingGroupSymbolResolver, retainAllAdaptedNamedCapturingGroupSymbolResolver, setAdaptedNamedCapturingGroupSymbolResolver, setEnclosingScope, sizeAdaptedNamedCapturingGroupSymbolResolver, sortAdaptedNamedCapturingGroupSymbolResolver, spliteratorAdaptedNamedCapturingGroupSymbolResolver, streamAdaptedNamedCapturingGroupSymbolResolver, subListAdaptedNamedCapturingGroupSymbolResolver, toArrayAdaptedNamedCapturingGroupSymbolResolver, toArrayAdaptedNamedCapturingGroupSymbolResolver
-
Methods inherited from interface de.monticore.regex.regularexpressions._symboltable.IRegularExpressionsScope
add, addSubScope, continueAsNamedCapturingGroupSubScope, continueNamedCapturingGroupWithEnclosingScope, filterNamedCapturingGroup, getLocalNamedCapturingGroupSymbols, getNamedCapturingGroupSymbols, isNamedCapturingGroupSymbolsAlreadyResolved, remove, removeSubScope, resolveAdaptedNamedCapturingGroupLocallyMany, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupLocally, resolveNamedCapturingGroupLocallyMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupSubKinds, setNamedCapturingGroupSymbolsAlreadyResolved
-
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 RegExTypeSymbols2Json symbols2Json
-
cache
protected java.util.Set<java.lang.String> cache
-
adaptedNamedCapturingGroupSymbolResolver
protected java.util.List<INamedCapturingGroupSymbolResolver> adaptedNamedCapturingGroupSymbolResolver
-
-
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 interfaceIMCCommonLiteralsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCLiteralsBasisGlobalScope- Specified by:
getSymbolDeSersin interfaceIRegExTypeGlobalScope- Specified by:
getSymbolDeSersin interfaceIRegularExpressionsGlobalScope
-
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(RegExTypeSymbols2Json symbols2Json)
-
getSymbols2Json
public RegExTypeSymbols2Json 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
-
getAdaptedNamedCapturingGroupSymbolResolverList
public java.util.List<INamedCapturingGroupSymbolResolver> getAdaptedNamedCapturingGroupSymbolResolverList()
- Specified by:
getAdaptedNamedCapturingGroupSymbolResolverListin interfaceIRegularExpressionsGlobalScope
-
setAdaptedNamedCapturingGroupSymbolResolverList
public void setAdaptedNamedCapturingGroupSymbolResolverList(java.util.List<INamedCapturingGroupSymbolResolver> adaptedNamedCapturingGroupSymbolResolver)
- Specified by:
setAdaptedNamedCapturingGroupSymbolResolverListin interfaceIRegularExpressionsGlobalScope
-
loadNamedCapturingGroup
public void loadNamedCapturingGroup(java.lang.String name)
- Specified by:
loadNamedCapturingGroupin interfaceIRegExTypeGlobalScope- Specified by:
loadNamedCapturingGroupin interfaceIRegularExpressionsGlobalScope
-
loadFileForModelName
public void loadFileForModelName(java.lang.String modelName)
- Specified by:
loadFileForModelNamein interfaceIMCBasicsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCBasicTypesGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCCommonLiteralsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCLiteralsBasisGlobalScope- Specified by:
loadFileForModelNamein interfaceIRegExTypeGlobalScope- Specified by:
loadFileForModelNamein interfaceIRegularExpressionsGlobalScope
-
getRealThis
public RegExTypeGlobalScope getRealThis()
- Specified by:
getRealThisin interfaceIMCBasicsGlobalScope- Specified by:
getRealThisin interfaceIMCBasicTypesGlobalScope- Specified by:
getRealThisin interfaceIMCCommonLiteralsGlobalScope- Specified by:
getRealThisin interfaceIMCLiteralsBasisGlobalScope- Specified by:
getRealThisin interfaceIRegExTypeGlobalScope- Specified by:
getRealThisin interfaceIRegularExpressionsGlobalScope
-
clear
public void clear()
- Specified by:
clearin interfacede.monticore.symboltable.IGlobalScope
-
putNamedCapturingGroupSymbolDeSer
public void putNamedCapturingGroupSymbolDeSer(java.lang.String kind)
- Specified by:
putNamedCapturingGroupSymbolDeSerin interfaceIRegExTypeGlobalScope- Specified by:
putNamedCapturingGroupSymbolDeSerin interfaceIRegularExpressionsGlobalScope
-
accept
public void accept(RegExTypeTraverser visitor)
- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Overrides:
acceptin classRegExTypeScope
-
accept
public void accept(RegularExpressionsTraverser visitor)
- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsGlobalScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Overrides:
acceptin classRegExTypeScope
-
accept
public void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesGlobalScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Overrides:
acceptin classRegExTypeScope
-
accept
public void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsGlobalScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Overrides:
acceptin classRegExTypeScope
-
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 interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsGlobalScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Overrides:
acceptin classRegExTypeScope
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsGlobalScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Overrides:
acceptin classRegExTypeScope
-
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 interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIRegExTypeGlobalScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsGlobalScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classRegExTypeScope
-
-