Class ASTMatchingObject

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrulegeneration._ast.ASTMatchingObject
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTODRuleGenerationNode, Cloneable

public class ASTMatchingObject extends de.monticore.ast.ASTCNode implements ASTODRuleGenerationNode
  • Field Details

    • objectName

      protected String objectName
    • type

      protected String type
    • listtype

      protected Optional<String> listtype
    • listimpltype

      protected Optional<String> listimpltype
    • innerLinkObjectNames

      protected List<String> innerLinkObjectNames
    • lHSObject

      protected boolean lHSObject
    • notObject

      protected boolean notObject
    • optObject

      protected boolean optObject
    • listObject

      protected boolean listObject
    • enclosingScope

      protected IODRuleGenerationScope enclosingScope
  • Constructor Details

    • ASTMatchingObject

      protected ASTMatchingObject()
  • 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 ASTMatchingObject deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTMatchingObject deepClone(ASTMatchingObject result)
    • getObjectName

      public String getObjectName()
    • getType

      public String getType()
    • getListtype

      public String getListtype()
    • isPresentListtype

      public boolean isPresentListtype()
    • getListimpltype

      public String getListimpltype()
    • isPresentListimpltype

      public boolean isPresentListimpltype()
    • containsInnerLinkObjectNames

      public boolean containsInnerLinkObjectNames(Object element)
    • containsAllInnerLinkObjectNames

      public boolean containsAllInnerLinkObjectNames(Collection<?> collection)
    • isEmptyInnerLinkObjectNames

      public boolean isEmptyInnerLinkObjectNames()
    • iteratorInnerLinkObjectNames

      public Iterator<String> iteratorInnerLinkObjectNames()
    • sizeInnerLinkObjectNames

      public int sizeInnerLinkObjectNames()
    • toArrayInnerLinkObjectNames

      public String[] toArrayInnerLinkObjectNames(String[] array)
    • toArrayInnerLinkObjectNames

      public Object[] toArrayInnerLinkObjectNames()
    • spliteratorInnerLinkObjectNames

      public Spliterator<String> spliteratorInnerLinkObjectNames()
    • streamInnerLinkObjectNames

      public Stream<String> streamInnerLinkObjectNames()
    • parallelStreamInnerLinkObjectNames

      public Stream<String> parallelStreamInnerLinkObjectNames()
    • getInnerLinkObjectNames

      public String getInnerLinkObjectNames(int index)
    • indexOfInnerLinkObjectNames

      public int indexOfInnerLinkObjectNames(Object element)
    • lastIndexOfInnerLinkObjectNames

      public int lastIndexOfInnerLinkObjectNames(Object element)
    • equalsInnerLinkObjectNames

      public boolean equalsInnerLinkObjectNames(Object o)
    • hashCodeInnerLinkObjectNames

      public int hashCodeInnerLinkObjectNames()
    • listIteratorInnerLinkObjectNames

      public ListIterator<String> listIteratorInnerLinkObjectNames()
    • listIteratorInnerLinkObjectNames

      public ListIterator<String> listIteratorInnerLinkObjectNames(int index)
    • subListInnerLinkObjectNames

      public List<String> subListInnerLinkObjectNames(int start, int end)
    • getInnerLinkObjectNamesList

      public List<String> getInnerLinkObjectNamesList()
    • isLHSObject

      public boolean isLHSObject()
    • isNotObject

      public boolean isNotObject()
    • isOptObject

      public boolean isOptObject()
    • isListObject

      public boolean isListObject()
    • setObjectName

      public void setObjectName(String objectName)
    • setType

      public void setType(String type)
    • setListtype

      public void setListtype(String listtype)
    • setListtypeAbsent

      public void setListtypeAbsent()
    • setListimpltype

      public void setListimpltype(String listimpltype)
    • setListimpltypeAbsent

      public void setListimpltypeAbsent()
    • clearInnerLinkObjectNames

      public void clearInnerLinkObjectNames()
    • addInnerLinkObjectNames

      public boolean addInnerLinkObjectNames(String element)
    • addAllInnerLinkObjectNames

      public boolean addAllInnerLinkObjectNames(Collection<? extends String> collection)
    • removeInnerLinkObjectNames

      public boolean removeInnerLinkObjectNames(Object element)
    • removeAllInnerLinkObjectNames

      public boolean removeAllInnerLinkObjectNames(Collection<?> collection)
    • retainAllInnerLinkObjectNames

      public boolean retainAllInnerLinkObjectNames(Collection<?> collection)
    • removeIfInnerLinkObjectNames

      public boolean removeIfInnerLinkObjectNames(Predicate<? super String> filter)
    • forEachInnerLinkObjectNames

      public void forEachInnerLinkObjectNames(Consumer<? super String> action)
    • addInnerLinkObjectNames

      public void addInnerLinkObjectNames(int index, String element)
    • addAllInnerLinkObjectNames

      public boolean addAllInnerLinkObjectNames(int index, Collection<? extends String> collection)
    • removeInnerLinkObjectNames

      public String removeInnerLinkObjectNames(int index)
    • setInnerLinkObjectNames

      public String setInnerLinkObjectNames(int index, String element)
    • replaceAllInnerLinkObjectNames

      public void replaceAllInnerLinkObjectNames(UnaryOperator<String> operator)
    • sortInnerLinkObjectNames

      public void sortInnerLinkObjectNames(Comparator<? super String> comparator)
    • setInnerLinkObjectNamesList

      public void setInnerLinkObjectNamesList(List<String> innerLinkObjectNames)
    • setLHSObject

      public void setLHSObject(boolean lHSObject)
    • setNotObject

      public void setNotObject(boolean notObject)
    • setOptObject

      public void setOptObject(boolean optObject)
    • setListObject

      public void setListObject(boolean listObject)
    • accept

      public void accept(ODRuleGenerationTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTODRuleGenerationNode
      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(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(MCBasicTypesTraverser 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(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 ASTMatchingObject _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IODRuleGenerationScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)