Class ASTLexSimpleIteration

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

public class ASTLexSimpleIteration extends de.monticore.ast.ASTCNode implements ASTLexComponent, ASTGrammarNode
  • Field Details

  • Constructor Details

    • ASTLexSimpleIteration

      protected ASTLexSimpleIteration()
  • Method Details

    • deepEquals

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

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

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

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

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

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

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

      public ASTLexSimpleIteration deepClone(ASTLexSimpleIteration result)
    • getLexNonTerminal

      public ASTLexNonTerminal getLexNonTerminal()
    • isPresentLexNonTerminal

      public boolean isPresentLexNonTerminal()
    • getLexString

      public ASTLexString getLexString()
    • isPresentLexString

      public boolean isPresentLexString()
    • getLexChar

      public ASTLexChar getLexChar()
    • isPresentLexChar

      public boolean isPresentLexChar()
    • getLexAnyChar

      public ASTLexAnyChar getLexAnyChar()
    • isPresentLexAnyChar

      public boolean isPresentLexAnyChar()
    • getIteration

      public int getIteration()
    • isQuestion

      public boolean isQuestion()
    • setLexNonTerminal

      public void setLexNonTerminal(ASTLexNonTerminal lexNonTerminal)
    • setLexNonTerminalAbsent

      public void setLexNonTerminalAbsent()
    • setLexString

      public void setLexString(ASTLexString lexString)
    • setLexStringAbsent

      public void setLexStringAbsent()
    • setLexChar

      public void setLexChar(ASTLexChar lexChar)
    • setLexCharAbsent

      public void setLexCharAbsent()
    • setLexAnyChar

      public void setLexAnyChar(ASTLexAnyChar lexAnyChar)
    • setLexAnyCharAbsent

      public void setLexAnyCharAbsent()
    • setIteration

      public void setIteration(int iteration)
    • setQuestion

      public void setQuestion(boolean question)
    • 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 ASTLexSimpleIteration _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IGrammarScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTLexComponent
    • 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