Class ASTODDefinition

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrules._ast.ASTODDefinition
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTODRulesNode, Cloneable

public class ASTODDefinition extends de.monticore.ast.ASTCNode implements ASTODRulesNode
  • Field Details

  • Constructor Details

    • ASTODDefinition

      protected ASTODDefinition()
  • Method Details

    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEquals

      public boolean deepEquals(Object o, boolean forceSameOrder)
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o, boolean forceSameOrder)
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • equalAttributes

      public boolean equalAttributes(Object o)
      Specified by:
      equalAttributes in interface de.monticore.ast.ASTNode
    • equalsWithComments

      public boolean equalsWithComments(Object o)
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTODDefinition deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTODDefinition deepClone(ASTODDefinition result)
    • getName

      public String getName()
    • containsODObject

      public boolean containsODObject(Object element)
    • containsAllODObject

      public boolean containsAllODObject(Collection<?> collection)
    • isEmptyODObject

      public boolean isEmptyODObject()
    • iteratorODObject

      public Iterator<ASTODObject> iteratorODObject()
    • sizeODObject

      public int sizeODObject()
    • toArrayODObject

      public ASTODObject[] toArrayODObject(ASTODObject[] array)
    • toArrayODObject

      public Object[] toArrayODObject()
    • spliteratorODObject

      public Spliterator<ASTODObject> spliteratorODObject()
    • streamODObject

      public Stream<ASTODObject> streamODObject()
    • parallelStreamODObject

      public Stream<ASTODObject> parallelStreamODObject()
    • getODObject

      public ASTODObject getODObject(int index)
    • indexOfODObject

      public int indexOfODObject(Object element)
    • lastIndexOfODObject

      public int lastIndexOfODObject(Object element)
    • equalsODObject

      public boolean equalsODObject(Object o)
    • hashCodeODObject

      public int hashCodeODObject()
    • listIteratorODObject

      public ListIterator<ASTODObject> listIteratorODObject()
    • listIteratorODObject

      public ListIterator<ASTODObject> listIteratorODObject(int index)
    • subListODObject

      public List<ASTODObject> subListODObject(int start, int end)
    • getODObjectList

      public List<ASTODObject> getODObjectList()
    • containsODLink

      public boolean containsODLink(Object element)
    • containsAllODLink

      public boolean containsAllODLink(Collection<?> collection)
    • isEmptyODLink

      public boolean isEmptyODLink()
    • iteratorODLink

      public Iterator<ASTODLink> iteratorODLink()
    • sizeODLink

      public int sizeODLink()
    • toArrayODLink

      public ASTODLink[] toArrayODLink(ASTODLink[] array)
    • toArrayODLink

      public Object[] toArrayODLink()
    • spliteratorODLink

      public Spliterator<ASTODLink> spliteratorODLink()
    • streamODLink

      public Stream<ASTODLink> streamODLink()
    • parallelStreamODLink

      public Stream<ASTODLink> parallelStreamODLink()
    • getODLink

      public ASTODLink getODLink(int index)
    • indexOfODLink

      public int indexOfODLink(Object element)
    • lastIndexOfODLink

      public int lastIndexOfODLink(Object element)
    • equalsODLink

      public boolean equalsODLink(Object o)
    • hashCodeODLink

      public int hashCodeODLink()
    • listIteratorODLink

      public ListIterator<ASTODLink> listIteratorODLink()
    • listIteratorODLink

      public ListIterator<ASTODLink> listIteratorODLink(int index)
    • subListODLink

      public List<ASTODLink> subListODLink(int start, int end)
    • getODLinkList

      public List<ASTODLink> getODLinkList()
    • setName

      public void setName(String name)
    • clearODObject

      public void clearODObject()
    • addODObject

      public boolean addODObject(ASTODObject element)
    • addAllODObject

      public boolean addAllODObject(Collection<? extends ASTODObject> collection)
    • removeODObject

      public boolean removeODObject(Object element)
    • removeAllODObject

      public boolean removeAllODObject(Collection<?> collection)
    • retainAllODObject

      public boolean retainAllODObject(Collection<?> collection)
    • removeIfODObject

      public boolean removeIfODObject(Predicate<? super ASTODObject> filter)
    • forEachODObject

      public void forEachODObject(Consumer<? super ASTODObject> action)
    • addODObject

      public void addODObject(int index, ASTODObject element)
    • addAllODObject

      public boolean addAllODObject(int index, Collection<? extends ASTODObject> collection)
    • removeODObject

      public ASTODObject removeODObject(int index)
    • setODObject

      public ASTODObject setODObject(int index, ASTODObject element)
    • replaceAllODObject

      public void replaceAllODObject(UnaryOperator<ASTODObject> operator)
    • sortODObject

      public void sortODObject(Comparator<? super ASTODObject> comparator)
    • setODObjectList

      public void setODObjectList(List<ASTODObject> oDObject)
    • clearODLink

      public void clearODLink()
    • addODLink

      public boolean addODLink(ASTODLink element)
    • addAllODLink

      public boolean addAllODLink(Collection<? extends ASTODLink> collection)
    • removeODLink

      public boolean removeODLink(Object element)
    • removeAllODLink

      public boolean removeAllODLink(Collection<?> collection)
    • retainAllODLink

      public boolean retainAllODLink(Collection<?> collection)
    • removeIfODLink

      public boolean removeIfODLink(Predicate<? super ASTODLink> filter)
    • forEachODLink

      public void forEachODLink(Consumer<? super ASTODLink> action)
    • addODLink

      public void addODLink(int index, ASTODLink element)
    • addAllODLink

      public boolean addAllODLink(int index, Collection<? extends ASTODLink> collection)
    • removeODLink

      public ASTODLink removeODLink(int index)
    • setODLink

      public ASTODLink setODLink(int index, ASTODLink element)
    • replaceAllODLink

      public void replaceAllODLink(UnaryOperator<ASTODLink> operator)
    • sortODLink

      public void sortODLink(Comparator<? super ASTODLink> comparator)
    • setODLinkList

      public void setODLinkList(List<ASTODLink> oDLink)
    • accept

      public void accept(ODRulesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTODRulesNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(TFBasisExtsTraverser 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(MCJavaLiteralsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(UMLStereotypeTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(JavaLightTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      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(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(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.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(BasicSymbolsTraverser 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:
      accept in interface de.monticore.ast.ASTNode
      Parameters:
      visitor - the visitor to dispatch to
    • _construct

      protected ASTODDefinition _construct()
    • getSymbol

      public ODDefinitionSymbol getSymbol()
    • isPresentSymbol

      public boolean isPresentSymbol()
    • setSymbol

      public void setSymbol(ODDefinitionSymbol symbol)
    • setSymbolAbsent

      public void setSymbolAbsent()
    • getSpannedScope

      public IODRulesScope getSpannedScope()
    • setSpannedScope

      public void setSpannedScope(IODRulesScope spannedScope)
    • getEnclosingScope

      public IODRulesScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      public void setEnclosingScope(IODRulesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(ITFBasisExtsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCJavaLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IUMLStereotypeScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IJavaLightScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IAssignmentExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IJavaClassExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCArrayStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCReturnStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(ITypeParametersScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(ICommonExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IUglyExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCStatementsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IOOSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • evaluate

      public de.monticore.interpreter.Value evaluate(IODRulesInterpreter interpreter)
    • evaluate

      public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter)
      Specified by:
      evaluate in interface de.monticore.ast.ASTNode