Package de.monticore.javalight._ast
Class ASTConstructorDeclaration
- java.lang.Object
-
- de.monticore.ast.ASTCNode
-
- de.monticore.javalight._ast.ASTConstructorDeclaration
-
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTClassBodyDeclaration,ASTJavaLightNode,ASTJavaMethod,ASTBasicSymbolsNode,ASTFunction,ASTMethod,ASTOOSymbolsNode,java.lang.Cloneable
public class ASTConstructorDeclaration extends de.monticore.ast.ASTCNode implements ASTJavaMethod, ASTClassBodyDeclaration, ASTJavaLightNode
-
-
Field Summary
Fields Modifier and Type Field Description protected IJavaLightScopeenclosingScopeprotected ASTFormalParametersformalParametersprotected ASTMCJavaBlockmCJavaBlockprotected java.util.List<ASTMCModifier>mCModifiersprotected java.lang.Stringnameprotected java.util.Optional<ASTThrows>r__throwsprotected IJavaLightScopespannedScopeprotected java.util.Optional<JavaMethodSymbol>symbolprotected java.util.Optional<ASTTypeParameters>typeParameters
-
Constructor Summary
Constructors Modifier Constructor Description protectedASTConstructorDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ASTConstructorDeclaration_construct()voidaccept(AssignmentExpressionsTraverser visitor)Entry point for the Visitor pattern.voidaccept(CommonExpressionsTraverser visitor)Entry point for the Visitor pattern.voidaccept(ExpressionsBasisTraverser visitor)Entry point for the Visitor pattern.voidaccept(JavaClassExpressionsTraverser visitor)Entry point for the Visitor pattern.voidaccept(UglyExpressionsTraverser visitor)Entry point for the Visitor pattern.voidaccept(JavaLightTraverser visitor)Entry point for the Visitor pattern.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(MCArrayStatementsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCCommonStatementsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCReturnStatementsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCStatementsBasisTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCVarDeclarationStatementsTraverser visitor)Entry point for the Visitor pattern.voidaccept(BasicSymbolsTraverser visitor)Entry point for the Visitor pattern.voidaccept(OOSymbolsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCBasicTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCCollectionTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCFullGenericTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCSimpleGenericTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(TypeParametersTraverser visitor)Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor)Entry point for the Visitor pattern.booleanaddAllMCModifiers(int index, java.util.Collection<? extends ASTMCModifier> collection)booleanaddAllMCModifiers(java.util.Collection<? extends ASTMCModifier> collection)voidaddMCModifier(int index, ASTMCModifier element)booleanaddMCModifier(ASTMCModifier element)voidclearMCModifiers()booleancontainsAllMCModifiers(java.util.Collection<?> collection)booleancontainsMCModifier(java.lang.Object element)ASTConstructorDeclarationdeepClone()ASTConstructorDeclarationdeepClone(ASTConstructorDeclaration 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)booleanequalsMCModifiers(java.lang.Object o)booleanequalsWithComments(java.lang.Object o)de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter)de.monticore.interpreter.Valueevaluate(IJavaLightInterpreter interpreter)voidforEachMCModifiers(java.util.function.Consumer<? super ASTMCModifier> action)IJavaLightScopegetEnclosingScope()ASTFormalParametersgetFormalParameters()ASTMCJavaBlockgetMCJavaBlock()ASTMCModifiergetMCModifier(int index)java.util.List<ASTMCModifier>getMCModifierList()java.lang.StringgetName()IJavaLightScopegetSpannedScope()JavaMethodSymbolgetSymbol()ASTThrowsgetThrows()ASTTypeParametersgetTypeParameters()inthashCodeMCModifiers()intindexOfMCModifier(java.lang.Object element)booleanisEmptyMCModifiers()booleanisPresentSymbol()booleanisPresentThrows()booleanisPresentTypeParameters()java.util.Iterator<ASTMCModifier>iteratorMCModifiers()intlastIndexOfMCModifier(java.lang.Object element)java.util.ListIterator<ASTMCModifier>listIteratorMCModifiers()java.util.ListIterator<ASTMCModifier>listIteratorMCModifiers(int index)java.util.stream.Stream<ASTMCModifier>parallelStreamMCModifiers()booleanremoveAllMCModifiers(java.util.Collection<?> collection)booleanremoveIfMCModifier(java.util.function.Predicate<? super ASTMCModifier> filter)ASTMCModifierremoveMCModifier(int index)booleanremoveMCModifier(java.lang.Object element)voidreplaceAllMCModifiers(java.util.function.UnaryOperator<ASTMCModifier> operator)booleanretainAllMCModifiers(java.util.Collection<?> collection)voidsetEnclosingScope(IAssignmentExpressionsScope enclosingScope)voidsetEnclosingScope(ICommonExpressionsScope enclosingScope)voidsetEnclosingScope(IExpressionsBasisScope enclosingScope)voidsetEnclosingScope(IJavaClassExpressionsScope enclosingScope)voidsetEnclosingScope(IUglyExpressionsScope enclosingScope)voidsetEnclosingScope(IJavaLightScope enclosingScope)voidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope)voidsetEnclosingScope(IMCLiteralsBasisScope enclosingScope)voidsetEnclosingScope(IMCBasicsScope enclosingScope)voidsetEnclosingScope(IMCArrayStatementsScope enclosingScope)voidsetEnclosingScope(IMCCommonStatementsScope enclosingScope)voidsetEnclosingScope(IMCReturnStatementsScope enclosingScope)voidsetEnclosingScope(IMCStatementsBasisScope enclosingScope)voidsetEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)voidsetEnclosingScope(IBasicSymbolsScope enclosingScope)voidsetEnclosingScope(IOOSymbolsScope enclosingScope)voidsetEnclosingScope(IMCBasicTypesScope enclosingScope)voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope)voidsetEnclosingScope(IMCFullGenericTypesScope enclosingScope)voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)voidsetEnclosingScope(ITypeParametersScope enclosingScope)voidsetFormalParameters(ASTFormalParameters formalParameters)voidsetMCJavaBlock(ASTMCJavaBlock mCJavaBlock)ASTMCModifiersetMCModifier(int index, ASTMCModifier element)voidsetMCModifierList(java.util.List<ASTMCModifier> mCModifiers)voidsetName(java.lang.String name)voidsetSpannedScope(IAssignmentExpressionsScope spannedScope)voidsetSpannedScope(ICommonExpressionsScope spannedScope)voidsetSpannedScope(IExpressionsBasisScope spannedScope)voidsetSpannedScope(IJavaClassExpressionsScope spannedScope)voidsetSpannedScope(IUglyExpressionsScope spannedScope)voidsetSpannedScope(IJavaLightScope spannedScope)voidsetSpannedScope(IMCCommonLiteralsScope spannedScope)voidsetSpannedScope(IMCLiteralsBasisScope spannedScope)voidsetSpannedScope(IMCBasicsScope spannedScope)voidsetSpannedScope(IMCArrayStatementsScope spannedScope)voidsetSpannedScope(IMCCommonStatementsScope spannedScope)voidsetSpannedScope(IMCReturnStatementsScope spannedScope)voidsetSpannedScope(IMCStatementsBasisScope spannedScope)voidsetSpannedScope(IMCVarDeclarationStatementsScope spannedScope)voidsetSpannedScope(IBasicSymbolsScope spannedScope)voidsetSpannedScope(IOOSymbolsScope spannedScope)voidsetSpannedScope(IMCBasicTypesScope spannedScope)voidsetSpannedScope(IMCCollectionTypesScope spannedScope)voidsetSpannedScope(IMCFullGenericTypesScope spannedScope)voidsetSpannedScope(IMCSimpleGenericTypesScope spannedScope)voidsetSpannedScope(ITypeParametersScope spannedScope)voidsetSymbol(JavaMethodSymbol symbol)voidsetSymbolAbsent()voidsetThrows(ASTThrows r__throws)voidsetThrowsAbsent()voidsetTypeParameters(ASTTypeParameters typeParameters)voidsetTypeParametersAbsent()intsizeMCModifiers()voidsortMCModifiers(java.util.Comparator<? super ASTMCModifier> comparator)java.util.Spliterator<ASTMCModifier>spliteratorMCModifiers()java.util.stream.Stream<ASTMCModifier>streamMCModifiers()java.util.List<ASTMCModifier>subListMCModifiers(int start, int end)java.lang.Object[]toArrayMCModifiers()ASTMCModifier[]toArrayMCModifiers(ASTMCModifier[] 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
-
mCModifiers
protected java.util.List<ASTMCModifier> mCModifiers
-
typeParameters
protected java.util.Optional<ASTTypeParameters> typeParameters
-
name
protected java.lang.String name
-
formalParameters
protected ASTFormalParameters formalParameters
-
r__throws
protected java.util.Optional<ASTThrows> r__throws
-
mCJavaBlock
protected ASTMCJavaBlock mCJavaBlock
-
symbol
protected java.util.Optional<JavaMethodSymbol> symbol
-
spannedScope
protected IJavaLightScope spannedScope
-
enclosingScope
protected IJavaLightScope enclosingScope
-
-
Method Detail
-
deepEquals
public boolean deepEquals(java.lang.Object o)
- Specified by:
deepEqualsin interfaceASTClassBodyDeclaration- Specified by:
deepEqualsin interfaceASTFunction- Specified by:
deepEqualsin interfaceASTJavaMethod- Specified by:
deepEqualsin interfaceASTMethod- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
public boolean deepEquals(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsin interfaceASTClassBodyDeclaration- Specified by:
deepEqualsin interfaceASTFunction- Specified by:
deepEqualsin interfaceASTJavaMethod- Specified by:
deepEqualsin interfaceASTMethod- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o)
- Specified by:
deepEqualsWithCommentsin interfaceASTClassBodyDeclaration- Specified by:
deepEqualsWithCommentsin interfaceASTFunction- Specified by:
deepEqualsWithCommentsin interfaceASTJavaMethod- Specified by:
deepEqualsWithCommentsin interfaceASTMethod- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsWithCommentsin interfaceASTClassBodyDeclaration- Specified by:
deepEqualsWithCommentsin interfaceASTFunction- Specified by:
deepEqualsWithCommentsin interfaceASTJavaMethod- Specified by:
deepEqualsWithCommentsin interfaceASTMethod- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
public boolean equalAttributes(java.lang.Object o)
- Specified by:
equalAttributesin interfaceASTClassBodyDeclaration- Specified by:
equalAttributesin interfaceASTFunction- Specified by:
equalAttributesin interfaceASTJavaMethod- Specified by:
equalAttributesin interfaceASTMethod- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
public boolean equalsWithComments(java.lang.Object o)
- Specified by:
equalsWithCommentsin interfaceASTClassBodyDeclaration- Specified by:
equalsWithCommentsin interfaceASTFunction- Specified by:
equalsWithCommentsin interfaceASTJavaMethod- Specified by:
equalsWithCommentsin interfaceASTMethod- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
public ASTConstructorDeclaration deepClone()
- Specified by:
deepClonein interfaceASTClassBodyDeclaration- Specified by:
deepClonein interfaceASTFunction- Specified by:
deepClonein interfaceASTJavaMethod- Specified by:
deepClonein interfaceASTMethod- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Specified by:
deepClonein classde.monticore.ast.ASTCNode
-
deepClone
public ASTConstructorDeclaration deepClone(ASTConstructorDeclaration result)
-
containsMCModifier
public boolean containsMCModifier(java.lang.Object element)
-
containsAllMCModifiers
public boolean containsAllMCModifiers(java.util.Collection<?> collection)
-
isEmptyMCModifiers
public boolean isEmptyMCModifiers()
-
iteratorMCModifiers
public java.util.Iterator<ASTMCModifier> iteratorMCModifiers()
-
sizeMCModifiers
public int sizeMCModifiers()
-
toArrayMCModifiers
public ASTMCModifier[] toArrayMCModifiers(ASTMCModifier[] array)
-
toArrayMCModifiers
public java.lang.Object[] toArrayMCModifiers()
-
spliteratorMCModifiers
public java.util.Spliterator<ASTMCModifier> spliteratorMCModifiers()
-
streamMCModifiers
public java.util.stream.Stream<ASTMCModifier> streamMCModifiers()
-
parallelStreamMCModifiers
public java.util.stream.Stream<ASTMCModifier> parallelStreamMCModifiers()
-
getMCModifier
public ASTMCModifier getMCModifier(int index)
-
indexOfMCModifier
public int indexOfMCModifier(java.lang.Object element)
-
lastIndexOfMCModifier
public int lastIndexOfMCModifier(java.lang.Object element)
-
equalsMCModifiers
public boolean equalsMCModifiers(java.lang.Object o)
-
hashCodeMCModifiers
public int hashCodeMCModifiers()
-
listIteratorMCModifiers
public java.util.ListIterator<ASTMCModifier> listIteratorMCModifiers()
-
listIteratorMCModifiers
public java.util.ListIterator<ASTMCModifier> listIteratorMCModifiers(int index)
-
subListMCModifiers
public java.util.List<ASTMCModifier> subListMCModifiers(int start, int end)
-
getMCModifierList
public java.util.List<ASTMCModifier> getMCModifierList()
-
getTypeParameters
public ASTTypeParameters getTypeParameters()
-
isPresentTypeParameters
public boolean isPresentTypeParameters()
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceASTFunction- Specified by:
getNamein interfaceASTJavaMethod- Specified by:
getNamein interfaceASTMethod
-
getFormalParameters
public ASTFormalParameters getFormalParameters()
-
getThrows
public ASTThrows getThrows()
-
isPresentThrows
public boolean isPresentThrows()
-
getMCJavaBlock
public ASTMCJavaBlock getMCJavaBlock()
-
clearMCModifiers
public void clearMCModifiers()
-
addMCModifier
public boolean addMCModifier(ASTMCModifier element)
-
addAllMCModifiers
public boolean addAllMCModifiers(java.util.Collection<? extends ASTMCModifier> collection)
-
removeMCModifier
public boolean removeMCModifier(java.lang.Object element)
-
removeAllMCModifiers
public boolean removeAllMCModifiers(java.util.Collection<?> collection)
-
retainAllMCModifiers
public boolean retainAllMCModifiers(java.util.Collection<?> collection)
-
removeIfMCModifier
public boolean removeIfMCModifier(java.util.function.Predicate<? super ASTMCModifier> filter)
-
forEachMCModifiers
public void forEachMCModifiers(java.util.function.Consumer<? super ASTMCModifier> action)
-
addMCModifier
public void addMCModifier(int index, ASTMCModifier element)
-
addAllMCModifiers
public boolean addAllMCModifiers(int index, java.util.Collection<? extends ASTMCModifier> collection)
-
removeMCModifier
public ASTMCModifier removeMCModifier(int index)
-
setMCModifier
public ASTMCModifier setMCModifier(int index, ASTMCModifier element)
-
replaceAllMCModifiers
public void replaceAllMCModifiers(java.util.function.UnaryOperator<ASTMCModifier> operator)
-
sortMCModifiers
public void sortMCModifiers(java.util.Comparator<? super ASTMCModifier> comparator)
-
setMCModifierList
public void setMCModifierList(java.util.List<ASTMCModifier> mCModifiers)
-
setTypeParameters
public void setTypeParameters(ASTTypeParameters typeParameters)
-
setTypeParametersAbsent
public void setTypeParametersAbsent()
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceASTFunction- Specified by:
setNamein interfaceASTJavaMethod- Specified by:
setNamein interfaceASTMethod
-
setFormalParameters
public void setFormalParameters(ASTFormalParameters formalParameters)
-
setThrows
public void setThrows(ASTThrows r__throws)
-
setThrowsAbsent
public void setThrowsAbsent()
-
setMCJavaBlock
public void setMCJavaBlock(ASTMCJavaBlock mCJavaBlock)
-
accept
public void accept(JavaLightTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTJavaLightNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(AssignmentExpressionsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(JavaClassExpressionsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- 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(MCCommonStatementsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCArrayStatementsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCReturnStatementsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(TypeParametersTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(ExpressionsBasisTraverser 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(CommonExpressionsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCVarDeclarationStatementsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCFullGenericTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(UglyExpressionsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCStatementsBasisTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCBasicTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(OOSymbolsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTOOSymbolsNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(BasicSymbolsTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTBasicSymbolsNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCSimpleGenericTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCCollectionTypesTraverser 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 ASTConstructorDeclaration _construct()
-
getSymbol
public JavaMethodSymbol getSymbol()
- Specified by:
getSymbolin interfaceASTFunction- Specified by:
getSymbolin interfaceASTJavaMethod- Specified by:
getSymbolin interfaceASTMethod
-
isPresentSymbol
public boolean isPresentSymbol()
- Specified by:
isPresentSymbolin interfaceASTFunction- Specified by:
isPresentSymbolin interfaceASTJavaMethod- Specified by:
isPresentSymbolin interfaceASTMethod
-
setSymbol
public void setSymbol(JavaMethodSymbol symbol)
-
setSymbolAbsent
public void setSymbolAbsent()
-
getSpannedScope
public IJavaLightScope getSpannedScope()
- Specified by:
getSpannedScopein interfaceASTFunction- Specified by:
getSpannedScopein interfaceASTJavaMethod- Specified by:
getSpannedScopein interfaceASTMethod
-
setSpannedScope
public void setSpannedScope(IJavaLightScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
getEnclosingScope
public IJavaLightScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
getEnclosingScopein interfaceASTFunction- Specified by:
getEnclosingScopein interfaceASTJavaMethod- Specified by:
getEnclosingScopein interfaceASTMethod- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
public void setEnclosingScope(IJavaLightScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IAssignmentExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IAssignmentExpressionsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IJavaClassExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IJavaClassExpressionsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCCommonLiteralsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCCommonStatementsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCCommonStatementsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCArrayStatementsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCArrayStatementsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCReturnStatementsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCReturnStatementsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(ITypeParametersScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(ITypeParametersScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IExpressionsBasisScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCBasicsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTFunction- Specified by:
setEnclosingScopein interfaceASTJavaMethod- Specified by:
setEnclosingScopein interfaceASTMethod
-
setSpannedScope
public void setSpannedScope(IMCBasicsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod- Specified by:
setSpannedScopein interfaceASTMethod
-
setEnclosingScope
public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCLiteralsBasisScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(ICommonExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(ICommonExpressionsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCVarDeclarationStatementsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCFullGenericTypesScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IUglyExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IUglyExpressionsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCStatementsBasisScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCStatementsBasisScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCBasicTypesScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IOOSymbolsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod- Specified by:
setEnclosingScopein interfaceASTMethod
-
setSpannedScope
public void setSpannedScope(IOOSymbolsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod- Specified by:
setSpannedScopein interfaceASTMethod
-
setEnclosingScope
public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTFunction- Specified by:
setEnclosingScopein interfaceASTJavaMethod- Specified by:
setEnclosingScopein interfaceASTMethod
-
setSpannedScope
public void setSpannedScope(IBasicSymbolsScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTFunction- Specified by:
setSpannedScopein interfaceASTJavaMethod- Specified by:
setSpannedScopein interfaceASTMethod
-
setEnclosingScope
public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCSimpleGenericTypesScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
setEnclosingScope
public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTClassBodyDeclaration- Specified by:
setEnclosingScopein interfaceASTJavaMethod
-
setSpannedScope
public void setSpannedScope(IMCCollectionTypesScope spannedScope)
- Specified by:
setSpannedScopein interfaceASTJavaMethod
-
evaluate
public de.monticore.interpreter.Value evaluate(IJavaLightInterpreter interpreter)
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter)
- Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-
-