Interface IOptionalOperatorsArtifactScope
- All Superinterfaces:
de.monticore.symboltable.IArtifactScope,ICommonExpressionsArtifactScope,ICommonExpressionsScope,IExpressionsBasisArtifactScope,IExpressionsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IOptionalOperatorsScope,de.monticore.symboltable.IScope
- All Known Implementing Classes:
OptionalOperatorsArtifactScope
public interface IOptionalOperatorsArtifactScope
extends ICommonExpressionsArtifactScope, IOptionalOperatorsScope
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CommonExpressionsTraverser visitor) voidaccept(ExpressionsBasisTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(OptionalOperatorsTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) default booleanaddAllImports(int index, Collection<? extends de.monticore.symboltable.ImportStatement> collection) default booleanaddAllImports(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(String symbolName) default voiddefault booleancontainsAllImports(Collection<?> collection) default booleancontainsImports(Object element) default booleandefault voidforEachImports(Consumer<? super de.monticore.symboltable.ImportStatement> action) default Stringdefault de.monticore.symboltable.ImportStatementgetImports(int index) List<de.monticore.symboltable.ImportStatement> getRemainingNameForResolveDown(String symbolName) default Optional<de.monticore.symboltable.ISymbol> default intdefault intindexOfImports(Object element) default booleandefault Iterator<de.monticore.symboltable.ImportStatement> default intlastIndexOfImports(Object element) default ListIterator<de.monticore.symboltable.ImportStatement> default ListIterator<de.monticore.symboltable.ImportStatement> listIteratorImports(int index) default Stream<de.monticore.symboltable.ImportStatement> default booleanremoveAllImports(Collection<?> collection) default booleanremoveIfImports(Predicate<? super de.monticore.symboltable.ImportStatement> filter) default de.monticore.symboltable.ImportStatementremoveImports(int index) default booleanremoveImports(Object element) default voidreplaceAllImports(UnaryOperator<de.monticore.symboltable.ImportStatement> operator) default booleanretainAllImports(Collection<?> collection) default de.monticore.symboltable.ImportStatementsetImports(int index, de.monticore.symboltable.ImportStatement element) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) default intdefault voidsortImports(Comparator<? super de.monticore.symboltable.ImportStatement> comparator) default Spliterator<de.monticore.symboltable.ImportStatement> default Stream<de.monticore.symboltable.ImportStatement> default List<de.monticore.symboltable.ImportStatement> subListImports(int start, int end) default Object[]default de.monticore.symboltable.ImportStatement[]toArrayImports(de.monticore.symboltable.ImportStatement[] array) Methods inherited from interface de.monticore.symboltable.IArtifactScope
calculateQualifiedNames, getPackageName, setPackageNameMethods inherited from interface de.monticore.expressions.commonexpressions._symboltable.ICommonExpressionsScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.expressions.expressionsbasis._symboltable.IExpressionsBasisScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.ocl.optionaloperators._symboltable.IOptionalOperatorsScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScopeMethods 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
-
Method Details
-
containsImports
- Specified by:
containsImportsin interfaceICommonExpressionsArtifactScope- Specified by:
containsImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
containsImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsImportsin interfaceIMCLiteralsBasisArtifactScope
-
containsAllImports
- Specified by:
containsAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
containsAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
containsAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
containsAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
isEmptyImports
default boolean isEmptyImports()- Specified by:
isEmptyImportsin interfaceICommonExpressionsArtifactScope- Specified by:
isEmptyImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
isEmptyImportsin interfaceIMCBasicsArtifactScope- Specified by:
isEmptyImportsin interfaceIMCLiteralsBasisArtifactScope
-
iteratorImports
- Specified by:
iteratorImportsin interfaceICommonExpressionsArtifactScope- Specified by:
iteratorImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
iteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
iteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
sizeImports
default int sizeImports()- Specified by:
sizeImportsin interfaceICommonExpressionsArtifactScope- Specified by:
sizeImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
sizeImportsin interfaceIMCBasicsArtifactScope- Specified by:
sizeImportsin interfaceIMCLiteralsBasisArtifactScope
-
toArrayImports
default de.monticore.symboltable.ImportStatement[] toArrayImports(de.monticore.symboltable.ImportStatement[] array) - Specified by:
toArrayImportsin interfaceICommonExpressionsArtifactScope- Specified by:
toArrayImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCLiteralsBasisArtifactScope
-
toArrayImports
- Specified by:
toArrayImportsin interfaceICommonExpressionsArtifactScope- Specified by:
toArrayImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
toArrayImportsin interfaceIMCBasicsArtifactScope- Specified by:
toArrayImportsin interfaceIMCLiteralsBasisArtifactScope
-
spliteratorImports
- Specified by:
spliteratorImportsin interfaceICommonExpressionsArtifactScope- Specified by:
spliteratorImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
spliteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
spliteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
streamImports
- Specified by:
streamImportsin interfaceICommonExpressionsArtifactScope- Specified by:
streamImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
streamImportsin interfaceIMCBasicsArtifactScope- Specified by:
streamImportsin interfaceIMCLiteralsBasisArtifactScope
-
parallelStreamImports
- Specified by:
parallelStreamImportsin interfaceICommonExpressionsArtifactScope- Specified by:
parallelStreamImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCBasicsArtifactScope- Specified by:
parallelStreamImportsin interfaceIMCLiteralsBasisArtifactScope
-
getImports
default de.monticore.symboltable.ImportStatement getImports(int index) - Specified by:
getImportsin interfaceICommonExpressionsArtifactScope- Specified by:
getImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
getImportsin interfaceIMCBasicsArtifactScope- Specified by:
getImportsin interfaceIMCLiteralsBasisArtifactScope
-
indexOfImports
- Specified by:
indexOfImportsin interfaceICommonExpressionsArtifactScope- Specified by:
indexOfImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
indexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
indexOfImportsin interfaceIMCLiteralsBasisArtifactScope
-
lastIndexOfImports
- Specified by:
lastIndexOfImportsin interfaceICommonExpressionsArtifactScope- Specified by:
lastIndexOfImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCBasicsArtifactScope- Specified by:
lastIndexOfImportsin interfaceIMCLiteralsBasisArtifactScope
-
equalsImports
- Specified by:
equalsImportsin interfaceICommonExpressionsArtifactScope- Specified by:
equalsImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
equalsImportsin interfaceIMCBasicsArtifactScope- Specified by:
equalsImportsin interfaceIMCLiteralsBasisArtifactScope
-
hashCodeImports
default int hashCodeImports()- Specified by:
hashCodeImportsin interfaceICommonExpressionsArtifactScope- Specified by:
hashCodeImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
hashCodeImportsin interfaceIMCBasicsArtifactScope- Specified by:
hashCodeImportsin interfaceIMCLiteralsBasisArtifactScope
-
listIteratorImports
- Specified by:
listIteratorImportsin interfaceICommonExpressionsArtifactScope- Specified by:
listIteratorImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
listIteratorImports
- Specified by:
listIteratorImportsin interfaceICommonExpressionsArtifactScope- Specified by:
listIteratorImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
listIteratorImportsin interfaceIMCBasicsArtifactScope- Specified by:
listIteratorImportsin interfaceIMCLiteralsBasisArtifactScope
-
subListImports
- Specified by:
subListImportsin interfaceICommonExpressionsArtifactScope- Specified by:
subListImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
subListImportsin interfaceIMCBasicsArtifactScope- Specified by:
subListImportsin interfaceIMCLiteralsBasisArtifactScope
-
clearImports
default void clearImports()- Specified by:
clearImportsin interfaceICommonExpressionsArtifactScope- Specified by:
clearImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
clearImportsin interfaceIMCBasicsArtifactScope- Specified by:
clearImportsin interfaceIMCLiteralsBasisArtifactScope
-
addImports
default boolean addImports(de.monticore.symboltable.ImportStatement element) - Specified by:
addImportsin interfaceICommonExpressionsArtifactScope- Specified by:
addImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCLiteralsBasisArtifactScope
-
addAllImports
default boolean addAllImports(Collection<? extends de.monticore.symboltable.ImportStatement> collection) - Specified by:
addAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
addAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeImports
- Specified by:
removeImportsin interfaceICommonExpressionsArtifactScope- Specified by:
removeImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeAllImports
- Specified by:
removeAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
removeAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
removeAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
retainAllImports
- Specified by:
retainAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
retainAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
retainAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
retainAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeIfImports
- Specified by:
removeIfImportsin interfaceICommonExpressionsArtifactScope- Specified by:
removeIfImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
removeIfImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeIfImportsin interfaceIMCLiteralsBasisArtifactScope
-
forEachImports
- Specified by:
forEachImportsin interfaceICommonExpressionsArtifactScope- Specified by:
forEachImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
forEachImportsin interfaceIMCBasicsArtifactScope- Specified by:
forEachImportsin interfaceIMCLiteralsBasisArtifactScope
-
addImports
default void addImports(int index, de.monticore.symboltable.ImportStatement element) - Specified by:
addImportsin interfaceICommonExpressionsArtifactScope- Specified by:
addImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
addImportsin interfaceIMCBasicsArtifactScope- Specified by:
addImportsin interfaceIMCLiteralsBasisArtifactScope
-
addAllImports
default boolean addAllImports(int index, Collection<? extends de.monticore.symboltable.ImportStatement> collection) - Specified by:
addAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
addAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
addAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
addAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
removeImports
default de.monticore.symboltable.ImportStatement removeImports(int index) - Specified by:
removeImportsin interfaceICommonExpressionsArtifactScope- Specified by:
removeImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
removeImportsin interfaceIMCBasicsArtifactScope- Specified by:
removeImportsin interfaceIMCLiteralsBasisArtifactScope
-
setImports
default de.monticore.symboltable.ImportStatement setImports(int index, de.monticore.symboltable.ImportStatement element) - Specified by:
setImportsin interfaceICommonExpressionsArtifactScope- Specified by:
setImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
setImportsin interfaceIMCBasicsArtifactScope- Specified by:
setImportsin interfaceIMCLiteralsBasisArtifactScope
-
replaceAllImports
- Specified by:
replaceAllImportsin interfaceICommonExpressionsArtifactScope- Specified by:
replaceAllImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
replaceAllImportsin interfaceIMCBasicsArtifactScope- Specified by:
replaceAllImportsin interfaceIMCLiteralsBasisArtifactScope
-
sortImports
- Specified by:
sortImportsin interfaceICommonExpressionsArtifactScope- Specified by:
sortImportsin interfaceIExpressionsBasisArtifactScope- Specified by:
sortImportsin interfaceIMCBasicsArtifactScope- Specified by:
sortImportsin interfaceIMCLiteralsBasisArtifactScope
-
getImportsList
List<de.monticore.symboltable.ImportStatement> getImportsList()- Specified by:
getImportsListin interfaceICommonExpressionsArtifactScope- Specified by:
getImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceICommonExpressionsArtifactScope- Specified by:
setImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope
-
getTopLevelSymbol
- Specified by:
getTopLevelSymbolin interfaceICommonExpressionsArtifactScope- Specified by:
getTopLevelSymbolin interfaceIExpressionsBasisArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCBasicsArtifactScope- Specified by:
getTopLevelSymbolin interfaceIMCLiteralsBasisArtifactScope
-
checkIfContinueAsSubScope
- Specified by:
checkIfContinueAsSubScopein interfaceICommonExpressionsArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIExpressionsBasisArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCBasicsArtifactScope- Specified by:
checkIfContinueAsSubScopein interfaceIMCLiteralsBasisArtifactScope- Specified by:
checkIfContinueAsSubScopein interfacede.monticore.symboltable.IScope
-
getRemainingNameForResolveDown
- Specified by:
getRemainingNameForResolveDownin interfaceICommonExpressionsArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIExpressionsBasisArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCBasicsArtifactScope- Specified by:
getRemainingNameForResolveDownin interfaceIMCLiteralsBasisArtifactScope- Specified by:
getRemainingNameForResolveDownin interfacede.monticore.symboltable.IScope
-
getFullName
- Specified by:
getFullNamein interfacede.monticore.symboltable.IArtifactScope- Specified by:
getFullNamein interfaceICommonExpressionsArtifactScope- Specified by:
getFullNamein interfaceIExpressionsBasisArtifactScope- Specified by:
getFullNamein interfaceIMCBasicsArtifactScope- Specified by:
getFullNamein interfaceIMCLiteralsBasisArtifactScope
-
accept
- Specified by:
acceptin interfaceIOptionalOperatorsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIOptionalOperatorsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIOptionalOperatorsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIOptionalOperatorsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIOptionalOperatorsScope
-
accept
void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIOptionalOperatorsScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-