Interface ITagsArtifactScope
-
- All Superinterfaces:
de.monticore.symboltable.IArtifactScope,IMCBasicsArtifactScope,IMCBasicsScope,IMCBasicTypesArtifactScope,IMCBasicTypesScope,IMCCommonLiteralsArtifactScope,IMCCommonLiteralsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,de.monticore.symboltable.IScope,ITagsScope
- All Known Implementing Classes:
TagsArtifactScope
public interface ITagsArtifactScope extends IMCBasicsArtifactScope, IMCCommonLiteralsArtifactScope, IMCBasicTypesArtifactScope, ITagsScope
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(MCCommonLiteralsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(TagsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)default booleanaddAllImports(int index, java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)default booleanaddAllImports(java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)default voidaddImports(int index, de.monticore.symboltable.ImportStatement element)default booleanaddImports(de.monticore.symboltable.ImportStatement element)default booleancheckIfContinueAsSubScope(java.lang.String symbolName)default voidclearImports()default booleancontainsAllImports(java.util.Collection<?> collection)default booleancontainsImports(java.lang.Object element)default booleanequalsImports(java.lang.Object o)default voidforEachImports(java.util.function.Consumer<? super de.monticore.symboltable.ImportStatement> action)default java.lang.StringgetFullName()default de.monticore.symboltable.ImportStatementgetImports(int index)java.util.List<de.monticore.symboltable.ImportStatement>getImportsList()default java.util.List<java.lang.String>getRemainingNameForResolveDown(java.lang.String symbolName)default java.util.Optional<de.monticore.symboltable.ISymbol>getTopLevelSymbol()default inthashCodeImports()default intindexOfImports(java.lang.Object element)default booleanisEmptyImports()default java.util.Iterator<de.monticore.symboltable.ImportStatement>iteratorImports()default intlastIndexOfImports(java.lang.Object element)default java.util.ListIterator<de.monticore.symboltable.ImportStatement>listIteratorImports()default java.util.ListIterator<de.monticore.symboltable.ImportStatement>listIteratorImports(int index)default java.util.stream.Stream<de.monticore.symboltable.ImportStatement>parallelStreamImports()default booleanremoveAllImports(java.util.Collection<?> collection)default booleanremoveIfImports(java.util.function.Predicate<? super de.monticore.symboltable.ImportStatement> filter)default de.monticore.symboltable.ImportStatementremoveImports(int index)default booleanremoveImports(java.lang.Object element)default voidreplaceAllImports(java.util.function.UnaryOperator<de.monticore.symboltable.ImportStatement> operator)default booleanretainAllImports(java.util.Collection<?> collection)default de.monticore.symboltable.ImportStatementsetImports(int index, de.monticore.symboltable.ImportStatement element)voidsetImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)default intsizeImports()default voidsortImports(java.util.Comparator<? super de.monticore.symboltable.ImportStatement> comparator)default java.util.Spliterator<de.monticore.symboltable.ImportStatement>spliteratorImports()default java.util.stream.Stream<de.monticore.symboltable.ImportStatement>streamImports()default java.util.List<de.monticore.symboltable.ImportStatement>subListImports(int start, int end)default java.lang.Object[]toArrayImports()default de.monticore.symboltable.ImportStatement[]toArrayImports(de.monticore.symboltable.ImportStatement[] array)-
Methods inherited from interface de.monticore.symboltable.IArtifactScope
calculateQualifiedNames, getPackageName, setPackageName
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getName, getNameParts, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
Methods inherited from interface de.monticore.tagging.tags._symboltable.ITagsScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
-
-
-
Method Detail
-
containsImports
default boolean containsImports(java.lang.Object element)
- Specified by:
containsImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
containsImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
containsImportsin interfaceIMCLiteralsBasisArtifactScope
-
containsAllImports
default boolean containsAllImports(java.util.Collection<?> collection)
- Specified by:
containsAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
containsAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
containsAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
isEmptyImports
default boolean isEmptyImports()
- Specified by:
isEmptyImportsin interfaceIMCBasicsArtifactScope- Specified by:
isEmptyImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
isEmptyImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
isEmptyImportsin interfaceIMCLiteralsBasisArtifactScope
-
iteratorImports
default java.util.Iterator<de.monticore.symboltable.ImportStatement> iteratorImports()
- Specified by:
iteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
iteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
iteratorImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
iteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
sizeImports
default int sizeImports()
- Specified by:
sizeImportsin interfaceIMCBasicsArtifactScope- Specified by:
sizeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
sizeImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
sizeImportsin interfaceIMCLiteralsBasisArtifactScope
-
toArrayImports
default de.monticore.symboltable.ImportStatement[] toArrayImports(de.monticore.symboltable.ImportStatement[] array)
- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
toArrayImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
toArrayImportsin interfaceIMCLiteralsBasisArtifactScope
-
toArrayImports
default java.lang.Object[] toArrayImports()
- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
toArrayImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
toArrayImportsin interfaceIMCLiteralsBasisArtifactScope
-
spliteratorImports
default java.util.Spliterator<de.monticore.symboltable.ImportStatement> spliteratorImports()
- Specified by:
spliteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
spliteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
spliteratorImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
spliteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
streamImports
default java.util.stream.Stream<de.monticore.symboltable.ImportStatement> streamImports()
- Specified by:
streamImportsin interfaceIMCBasicsArtifactScope- Specified by:
streamImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
streamImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
streamImportsin interfaceIMCLiteralsBasisArtifactScope
-
parallelStreamImports
default java.util.stream.Stream<de.monticore.symboltable.ImportStatement> parallelStreamImports()
- Specified by:
parallelStreamImportsin interfaceIMCBasicsArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCLiteralsBasisArtifactScope
-
getImports
default de.monticore.symboltable.ImportStatement getImports(int index)
- Specified by:
getImportsin interfaceIMCBasicsArtifactScope- Specified by:
getImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsin interfaceIMCLiteralsBasisArtifactScope
-
indexOfImports
default int indexOfImports(java.lang.Object element)
- Specified by:
indexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
indexOfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
indexOfImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
indexOfImportsin interfaceIMCLiteralsBasisArtifactScope
-
lastIndexOfImports
default int lastIndexOfImports(java.lang.Object element)
- Specified by:
lastIndexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCLiteralsBasisArtifactScope
-
equalsImports
default boolean equalsImports(java.lang.Object o)
- Specified by:
equalsImportsin interfaceIMCBasicsArtifactScope- Specified by:
equalsImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
equalsImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
equalsImportsin interfaceIMCLiteralsBasisArtifactScope
-
hashCodeImports
default int hashCodeImports()
- Specified by:
hashCodeImportsin interfaceIMCBasicsArtifactScope- Specified by:
hashCodeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
hashCodeImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
hashCodeImportsin interfaceIMCLiteralsBasisArtifactScope
-
listIteratorImports
default java.util.ListIterator<de.monticore.symboltable.ImportStatement> listIteratorImports()
- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
listIteratorImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
listIteratorImports
default java.util.ListIterator<de.monticore.symboltable.ImportStatement> listIteratorImports(int index)
- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
listIteratorImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
subListImports
default java.util.List<de.monticore.symboltable.ImportStatement> subListImports(int start, int end)- Specified by:
subListImportsin interfaceIMCBasicsArtifactScope- Specified by:
subListImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
subListImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
subListImportsin interfaceIMCLiteralsBasisArtifactScope
-
clearImports
default void clearImports()
- Specified by:
clearImportsin interfaceIMCBasicsArtifactScope- Specified by:
clearImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
clearImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
clearImportsin interfaceIMCLiteralsBasisArtifactScope
-
addImports
default boolean addImports(de.monticore.symboltable.ImportStatement element)
- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
addImportsin interfaceIMCLiteralsBasisArtifactScope
-
addAllImports
default boolean addAllImports(java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)
- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
addAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeImports
default boolean removeImports(java.lang.Object element)
- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
removeImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeAllImports
default boolean removeAllImports(java.util.Collection<?> collection)
- Specified by:
removeAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
removeAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
retainAllImports
default boolean retainAllImports(java.util.Collection<?> collection)
- Specified by:
retainAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
retainAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
retainAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
retainAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeIfImports
default boolean removeIfImports(java.util.function.Predicate<? super de.monticore.symboltable.ImportStatement> filter)
- Specified by:
removeIfImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeIfImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeIfImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
removeIfImportsin interfaceIMCLiteralsBasisArtifactScope
-
forEachImports
default void forEachImports(java.util.function.Consumer<? super de.monticore.symboltable.ImportStatement> action)
- Specified by:
forEachImportsin interfaceIMCBasicsArtifactScope- Specified by:
forEachImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
forEachImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
forEachImportsin interfaceIMCLiteralsBasisArtifactScope
-
addImports
default void addImports(int index, de.monticore.symboltable.ImportStatement element)- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
addImportsin interfaceIMCLiteralsBasisArtifactScope
-
addAllImports
default boolean addAllImports(int index, java.util.Collection<? extends de.monticore.symboltable.ImportStatement> collection)- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
addAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
addAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeImports
default de.monticore.symboltable.ImportStatement removeImports(int index)
- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
removeImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
removeImportsin interfaceIMCLiteralsBasisArtifactScope
-
setImports
default de.monticore.symboltable.ImportStatement setImports(int index, de.monticore.symboltable.ImportStatement element)- Specified by:
setImportsin interfaceIMCBasicsArtifactScope- Specified by:
setImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsin interfaceIMCLiteralsBasisArtifactScope
-
replaceAllImports
default void replaceAllImports(java.util.function.UnaryOperator<de.monticore.symboltable.ImportStatement> operator)
- Specified by:
replaceAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
replaceAllImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
replaceAllImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
replaceAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
sortImports
default void sortImports(java.util.Comparator<? super de.monticore.symboltable.ImportStatement> comparator)
- Specified by:
sortImportsin interfaceIMCBasicsArtifactScope- Specified by:
sortImportsin interfaceIMCBasicTypesArtifactScope- Specified by:
sortImportsin interfaceIMCCommonLiteralsArtifactScope- Specified by:
sortImportsin interfaceIMCLiteralsBasisArtifactScope
-
getImportsList
java.util.List<de.monticore.symboltable.ImportStatement> getImportsList()
- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope
-
setImportsList
void setImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)
- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope
-
getTopLevelSymbol
default java.util.Optional<de.monticore.symboltable.ISymbol> getTopLevelSymbol()
- Specified by:
getTopLevelSymbolin interfaceIMCBasicsArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCBasicTypesArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCLiteralsBasisArtifactScope
-
checkIfContinueAsSubScope
default boolean checkIfContinueAsSubScope(java.lang.String symbolName)
- Specified by:
checkIfContinueAsSubScopein interfaceIMCBasicsArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCBasicTypesArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCCommonLiteralsArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCLiteralsBasisArtifactScope- Specified by:
checkIfContinueAsSubScopein interfacede.monticore.symboltable.IScope
-
getRemainingNameForResolveDown
default java.util.List<java.lang.String> getRemainingNameForResolveDown(java.lang.String symbolName)
- Specified by:
getRemainingNameForResolveDownin interfaceIMCBasicsArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCBasicTypesArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCLiteralsBasisArtifactScope- Specified by:
getRemainingNameForResolveDownin interfacede.monticore.symboltable.IScope
-
getFullName
default java.lang.String getFullName()
- Specified by:
getFullNamein interfacede.monticore.symboltable.IArtifactScope- Specified by:
getFullNamein interfaceIMCBasicsArtifactScope- Specified by:
getFullNamein interfaceIMCBasicTypesArtifactScope- Specified by:
getFullNamein interfaceIMCCommonLiteralsArtifactScope- Specified by:
getFullNamein interfaceIMCLiteralsBasisArtifactScope
-
accept
void accept(TagsTraverser visitor)
- Specified by:
acceptin interfaceITagsScope
-
accept
void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceITagsScope
-
accept
void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceITagsScope
-
accept
void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceITagsScope
-
accept
void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceITagsScope
-
accept
void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Specified by:
acceptin interfaceITagsScope
-
-