Class ASTLexAlt

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.grammar.grammar._ast.ASTLexAlt
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTGrammarNode, Cloneable

public class ASTLexAlt extends de.monticore.ast.ASTCNode implements ASTGrammarNode
  • Field Details

  • Constructor Details

    • ASTLexAlt

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

      public ASTLexAlt deepClone(ASTLexAlt result)
    • containsLexComponent

      public boolean containsLexComponent(Object element)
    • containsAllLexComponent

      public boolean containsAllLexComponent(Collection<?> collection)
    • isEmptyLexComponent

      public boolean isEmptyLexComponent()
    • iteratorLexComponent

      public Iterator<ASTLexComponent> iteratorLexComponent()
    • sizeLexComponent

      public int sizeLexComponent()
    • toArrayLexComponent

      public ASTLexComponent[] toArrayLexComponent(ASTLexComponent[] array)
    • toArrayLexComponent

      public Object[] toArrayLexComponent()
    • spliteratorLexComponent

      public Spliterator<ASTLexComponent> spliteratorLexComponent()
    • streamLexComponent

      public Stream<ASTLexComponent> streamLexComponent()
    • parallelStreamLexComponent

      public Stream<ASTLexComponent> parallelStreamLexComponent()
    • getLexComponent

      public ASTLexComponent getLexComponent(int index)
    • indexOfLexComponent

      public int indexOfLexComponent(Object element)
    • lastIndexOfLexComponent

      public int lastIndexOfLexComponent(Object element)
    • equalsLexComponent

      public boolean equalsLexComponent(Object o)
    • hashCodeLexComponent

      public int hashCodeLexComponent()
    • listIteratorLexComponent

      public ListIterator<ASTLexComponent> listIteratorLexComponent()
    • listIteratorLexComponent

      public ListIterator<ASTLexComponent> listIteratorLexComponent(int index)
    • subListLexComponent

      public List<ASTLexComponent> subListLexComponent(int start, int end)
    • getLexComponentList

      public List<ASTLexComponent> getLexComponentList()
    • clearLexComponent

      public void clearLexComponent()
    • addLexComponent

      public boolean addLexComponent(ASTLexComponent element)
    • addAllLexComponent

      public boolean addAllLexComponent(Collection<? extends ASTLexComponent> collection)
    • removeLexComponent

      public boolean removeLexComponent(Object element)
    • removeAllLexComponent

      public boolean removeAllLexComponent(Collection<?> collection)
    • retainAllLexComponent

      public boolean retainAllLexComponent(Collection<?> collection)
    • removeIfLexComponent

      public boolean removeIfLexComponent(Predicate<? super ASTLexComponent> filter)
    • forEachLexComponent

      public void forEachLexComponent(Consumer<? super ASTLexComponent> action)
    • addLexComponent

      public void addLexComponent(int index, ASTLexComponent element)
    • addAllLexComponent

      public boolean addAllLexComponent(int index, Collection<? extends ASTLexComponent> collection)
    • removeLexComponent

      public ASTLexComponent removeLexComponent(int index)
    • setLexComponent

      public ASTLexComponent setLexComponent(int index, ASTLexComponent element)
    • replaceAllLexComponent

      public void replaceAllLexComponent(UnaryOperator<ASTLexComponent> operator)
    • sortLexComponent

      public void sortLexComponent(Comparator<? super ASTLexComponent> comparator)
    • setLexComponentList

      public void setLexComponentList(List<ASTLexComponent> lexComponent)
    • accept

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

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

      public void setEnclosingScope(IGrammarScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • evaluate

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

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