Class ASTRangeQualification
- java.lang.Object
-
- de.monticore.ast.ASTCNode
-
- de.monticore.regex.regularexpressions._ast.ASTRangeQualification
-
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTQualification,ASTRegularExpressionsNode,java.lang.Cloneable
public class ASTRangeQualification extends de.monticore.ast.ASTCNode implements ASTQualification, ASTRegularExpressionsNode
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringcommaprotected IRegularExpressionsScopeenclosingScopeprotected java.lang.StringlCurlyprotected java.util.List<java.lang.String>lowerBoundprotected java.lang.StringrCurlyprotected java.util.List<java.lang.String>upperBound
-
Constructor Summary
Constructors Modifier Constructor Description protectedASTRangeQualification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ASTRangeQualification_construct()voidaccept(MCCommonLiteralsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCLiteralsBasisTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCBasicsTraverser visitor)Entry point for the Visitor pattern.voidaccept(RegularExpressionsTraverser visitor)Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor)Entry point for the Visitor pattern.booleanaddAllLowerBound(int index, java.util.Collection<? extends java.lang.String> collection)booleanaddAllLowerBound(java.util.Collection<? extends java.lang.String> collection)booleanaddAllUpperBound(int index, java.util.Collection<? extends java.lang.String> collection)booleanaddAllUpperBound(java.util.Collection<? extends java.lang.String> collection)voidaddLowerBound(int index, java.lang.String element)booleanaddLowerBound(java.lang.String element)voidaddUpperBound(int index, java.lang.String element)booleanaddUpperBound(java.lang.String element)voidclearLowerBound()voidclearUpperBound()booleancontainsAllLowerBound(java.util.Collection<?> collection)booleancontainsAllUpperBound(java.util.Collection<?> collection)booleancontainsLowerBound(java.lang.Object element)booleancontainsUpperBound(java.lang.Object element)ASTRangeQualificationdeepClone()ASTRangeQualificationdeepClone(ASTRangeQualification result)booleandeepEquals(java.lang.Object o)booleandeepEquals(java.lang.Object o, boolean forceSameOrder)booleandeepEqualsWithComments(java.lang.Object o)booleandeepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)booleanequalAttributes(java.lang.Object o)booleanequalsLowerBound(java.lang.Object o)booleanequalsUpperBound(java.lang.Object o)booleanequalsWithComments(java.lang.Object o)de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter)de.monticore.interpreter.Valueevaluate(IRegularExpressionsInterpreter interpreter)voidforEachLowerBound(java.util.function.Consumer<? super java.lang.String> action)voidforEachUpperBound(java.util.function.Consumer<? super java.lang.String> action)java.lang.StringgetComma()IRegularExpressionsScopegetEnclosingScope()java.lang.StringgetLCurly()java.lang.StringgetLowerBound(int index)java.util.List<java.lang.String>getLowerBoundList()java.lang.StringgetRCurly()java.lang.StringgetUpperBound(int index)java.util.List<java.lang.String>getUpperBoundList()inthashCodeLowerBound()inthashCodeUpperBound()intindexOfLowerBound(java.lang.Object element)intindexOfUpperBound(java.lang.Object element)booleanisEmptyLowerBound()booleanisEmptyUpperBound()java.util.Iterator<java.lang.String>iteratorLowerBound()java.util.Iterator<java.lang.String>iteratorUpperBound()intlastIndexOfLowerBound(java.lang.Object element)intlastIndexOfUpperBound(java.lang.Object element)java.util.ListIterator<java.lang.String>listIteratorLowerBound()java.util.ListIterator<java.lang.String>listIteratorLowerBound(int index)java.util.ListIterator<java.lang.String>listIteratorUpperBound()java.util.ListIterator<java.lang.String>listIteratorUpperBound(int index)java.util.stream.Stream<java.lang.String>parallelStreamLowerBound()java.util.stream.Stream<java.lang.String>parallelStreamUpperBound()booleanremoveAllLowerBound(java.util.Collection<?> collection)booleanremoveAllUpperBound(java.util.Collection<?> collection)booleanremoveIfLowerBound(java.util.function.Predicate<? super java.lang.String> filter)booleanremoveIfUpperBound(java.util.function.Predicate<? super java.lang.String> filter)java.lang.StringremoveLowerBound(int index)booleanremoveLowerBound(java.lang.Object element)java.lang.StringremoveUpperBound(int index)booleanremoveUpperBound(java.lang.Object element)voidreplaceAllLowerBound(java.util.function.UnaryOperator<java.lang.String> operator)voidreplaceAllUpperBound(java.util.function.UnaryOperator<java.lang.String> operator)booleanretainAllLowerBound(java.util.Collection<?> collection)booleanretainAllUpperBound(java.util.Collection<?> collection)voidsetComma(java.lang.String comma)voidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope)voidsetEnclosingScope(IMCLiteralsBasisScope enclosingScope)voidsetEnclosingScope(IMCBasicsScope enclosingScope)voidsetEnclosingScope(IRegularExpressionsScope enclosingScope)voidsetLCurly(java.lang.String lCurly)java.lang.StringsetLowerBound(int index, java.lang.String element)voidsetLowerBoundList(java.util.List<java.lang.String> lowerBound)voidsetRCurly(java.lang.String rCurly)java.lang.StringsetUpperBound(int index, java.lang.String element)voidsetUpperBoundList(java.util.List<java.lang.String> upperBound)intsizeLowerBound()intsizeUpperBound()voidsortLowerBound(java.util.Comparator<? super java.lang.String> comparator)voidsortUpperBound(java.util.Comparator<? super java.lang.String> comparator)java.util.Spliterator<java.lang.String>spliteratorLowerBound()java.util.Spliterator<java.lang.String>spliteratorUpperBound()java.util.stream.Stream<java.lang.String>streamLowerBound()java.util.stream.Stream<java.lang.String>streamUpperBound()java.util.List<java.lang.String>subListLowerBound(int start, int end)java.util.List<java.lang.String>subListUpperBound(int start, int end)java.lang.Object[]toArrayLowerBound()java.lang.String[]toArrayLowerBound(java.lang.String[] array)java.lang.Object[]toArrayUpperBound()java.lang.String[]toArrayUpperBound(java.lang.String[] array)-
Methods inherited from class de.monticore.ast.ASTCNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.ast.ASTNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
-
-
-
Field Detail
-
lCurly
protected java.lang.String lCurly
-
lowerBound
protected java.util.List<java.lang.String> lowerBound
-
comma
protected java.lang.String comma
-
upperBound
protected java.util.List<java.lang.String> upperBound
-
rCurly
protected java.lang.String rCurly
-
enclosingScope
protected IRegularExpressionsScope enclosingScope
-
-
Method Detail
-
deepEquals
public boolean deepEquals(java.lang.Object o)
- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode- Specified by:
deepEqualsin interfaceASTQualification
-
deepEquals
public boolean deepEquals(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode- Specified by:
deepEqualsin interfaceASTQualification
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o)
- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode- Specified by:
deepEqualsWithCommentsin interfaceASTQualification
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode- Specified by:
deepEqualsWithCommentsin interfaceASTQualification
-
equalAttributes
public boolean equalAttributes(java.lang.Object o)
- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode- Specified by:
equalAttributesin interfaceASTQualification
-
equalsWithComments
public boolean equalsWithComments(java.lang.Object o)
- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode- Specified by:
equalsWithCommentsin interfaceASTQualification
-
deepClone
public ASTRangeQualification deepClone()
- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Specified by:
deepClonein interfaceASTQualification- Specified by:
deepClonein classde.monticore.ast.ASTCNode
-
deepClone
public ASTRangeQualification deepClone(ASTRangeQualification result)
-
getLCurly
public java.lang.String getLCurly()
-
containsLowerBound
public boolean containsLowerBound(java.lang.Object element)
-
containsAllLowerBound
public boolean containsAllLowerBound(java.util.Collection<?> collection)
-
isEmptyLowerBound
public boolean isEmptyLowerBound()
-
iteratorLowerBound
public java.util.Iterator<java.lang.String> iteratorLowerBound()
-
sizeLowerBound
public int sizeLowerBound()
-
toArrayLowerBound
public java.lang.String[] toArrayLowerBound(java.lang.String[] array)
-
toArrayLowerBound
public java.lang.Object[] toArrayLowerBound()
-
spliteratorLowerBound
public java.util.Spliterator<java.lang.String> spliteratorLowerBound()
-
streamLowerBound
public java.util.stream.Stream<java.lang.String> streamLowerBound()
-
parallelStreamLowerBound
public java.util.stream.Stream<java.lang.String> parallelStreamLowerBound()
-
getLowerBound
public java.lang.String getLowerBound(int index)
-
indexOfLowerBound
public int indexOfLowerBound(java.lang.Object element)
-
lastIndexOfLowerBound
public int lastIndexOfLowerBound(java.lang.Object element)
-
equalsLowerBound
public boolean equalsLowerBound(java.lang.Object o)
-
hashCodeLowerBound
public int hashCodeLowerBound()
-
listIteratorLowerBound
public java.util.ListIterator<java.lang.String> listIteratorLowerBound()
-
listIteratorLowerBound
public java.util.ListIterator<java.lang.String> listIteratorLowerBound(int index)
-
subListLowerBound
public java.util.List<java.lang.String> subListLowerBound(int start, int end)
-
getLowerBoundList
public java.util.List<java.lang.String> getLowerBoundList()
-
getComma
public java.lang.String getComma()
-
containsUpperBound
public boolean containsUpperBound(java.lang.Object element)
-
containsAllUpperBound
public boolean containsAllUpperBound(java.util.Collection<?> collection)
-
isEmptyUpperBound
public boolean isEmptyUpperBound()
-
iteratorUpperBound
public java.util.Iterator<java.lang.String> iteratorUpperBound()
-
sizeUpperBound
public int sizeUpperBound()
-
toArrayUpperBound
public java.lang.String[] toArrayUpperBound(java.lang.String[] array)
-
toArrayUpperBound
public java.lang.Object[] toArrayUpperBound()
-
spliteratorUpperBound
public java.util.Spliterator<java.lang.String> spliteratorUpperBound()
-
streamUpperBound
public java.util.stream.Stream<java.lang.String> streamUpperBound()
-
parallelStreamUpperBound
public java.util.stream.Stream<java.lang.String> parallelStreamUpperBound()
-
getUpperBound
public java.lang.String getUpperBound(int index)
-
indexOfUpperBound
public int indexOfUpperBound(java.lang.Object element)
-
lastIndexOfUpperBound
public int lastIndexOfUpperBound(java.lang.Object element)
-
equalsUpperBound
public boolean equalsUpperBound(java.lang.Object o)
-
hashCodeUpperBound
public int hashCodeUpperBound()
-
listIteratorUpperBound
public java.util.ListIterator<java.lang.String> listIteratorUpperBound()
-
listIteratorUpperBound
public java.util.ListIterator<java.lang.String> listIteratorUpperBound(int index)
-
subListUpperBound
public java.util.List<java.lang.String> subListUpperBound(int start, int end)
-
getUpperBoundList
public java.util.List<java.lang.String> getUpperBoundList()
-
getRCurly
public java.lang.String getRCurly()
-
setLCurly
public void setLCurly(java.lang.String lCurly)
-
clearLowerBound
public void clearLowerBound()
-
addLowerBound
public boolean addLowerBound(java.lang.String element)
-
addAllLowerBound
public boolean addAllLowerBound(java.util.Collection<? extends java.lang.String> collection)
-
removeLowerBound
public boolean removeLowerBound(java.lang.Object element)
-
removeAllLowerBound
public boolean removeAllLowerBound(java.util.Collection<?> collection)
-
retainAllLowerBound
public boolean retainAllLowerBound(java.util.Collection<?> collection)
-
removeIfLowerBound
public boolean removeIfLowerBound(java.util.function.Predicate<? super java.lang.String> filter)
-
forEachLowerBound
public void forEachLowerBound(java.util.function.Consumer<? super java.lang.String> action)
-
addLowerBound
public void addLowerBound(int index, java.lang.String element)
-
addAllLowerBound
public boolean addAllLowerBound(int index, java.util.Collection<? extends java.lang.String> collection)
-
removeLowerBound
public java.lang.String removeLowerBound(int index)
-
setLowerBound
public java.lang.String setLowerBound(int index, java.lang.String element)
-
replaceAllLowerBound
public void replaceAllLowerBound(java.util.function.UnaryOperator<java.lang.String> operator)
-
sortLowerBound
public void sortLowerBound(java.util.Comparator<? super java.lang.String> comparator)
-
setLowerBoundList
public void setLowerBoundList(java.util.List<java.lang.String> lowerBound)
-
setComma
public void setComma(java.lang.String comma)
-
clearUpperBound
public void clearUpperBound()
-
addUpperBound
public boolean addUpperBound(java.lang.String element)
-
addAllUpperBound
public boolean addAllUpperBound(java.util.Collection<? extends java.lang.String> collection)
-
removeUpperBound
public boolean removeUpperBound(java.lang.Object element)
-
removeAllUpperBound
public boolean removeAllUpperBound(java.util.Collection<?> collection)
-
retainAllUpperBound
public boolean retainAllUpperBound(java.util.Collection<?> collection)
-
removeIfUpperBound
public boolean removeIfUpperBound(java.util.function.Predicate<? super java.lang.String> filter)
-
forEachUpperBound
public void forEachUpperBound(java.util.function.Consumer<? super java.lang.String> action)
-
addUpperBound
public void addUpperBound(int index, java.lang.String element)
-
addAllUpperBound
public boolean addAllUpperBound(int index, java.util.Collection<? extends java.lang.String> collection)
-
removeUpperBound
public java.lang.String removeUpperBound(int index)
-
setUpperBound
public java.lang.String setUpperBound(int index, java.lang.String element)
-
replaceAllUpperBound
public void replaceAllUpperBound(java.util.function.UnaryOperator<java.lang.String> operator)
-
sortUpperBound
public void sortUpperBound(java.util.Comparator<? super java.lang.String> comparator)
-
setUpperBoundList
public void setUpperBoundList(java.util.List<java.lang.String> upperBound)
-
setRCurly
public void setRCurly(java.lang.String rCurly)
-
accept
public void accept(RegularExpressionsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTRegularExpressionsNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCCommonLiteralsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCBasicsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfacede.monticore.ast.ASTNode- Parameters:
visitor- the visitor to dispatch to
-
_construct
protected ASTRangeQualification _construct()
-
getEnclosingScope
public IRegularExpressionsScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode- Specified by:
getEnclosingScopein interfaceASTQualification
-
setEnclosingScope
public void setEnclosingScope(IRegularExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTQualification
-
setEnclosingScope
public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTQualification
-
setEnclosingScope
public void setEnclosingScope(IMCBasicsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTQualification
-
setEnclosingScope
public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTQualification
-
evaluate
public de.monticore.interpreter.Value evaluate(IRegularExpressionsInterpreter interpreter)
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter)
- Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-
-