Enum SentenceGenerator

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      INSTANCE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SentenceGenerator valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static SentenceGenerator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      java.lang.Object visit​(AnswerSentence answerSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(AssignSentence assignSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(ConditionalSentence conditionalSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(DiagramSentence diagramSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(ExpectSentence expectSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(ExprSentence exprSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(HasSentence hasSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(IsSentence isSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(SentenceList sentenceList, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(Sentence sentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(TakeSentence takeSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      java.lang.Object visit​(TemplateSentence templateSentence, org.fulib.scenarios.visitor.codegen.CodeGenDTO par)  
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static SentenceGenerator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SentenceGenerator c : SentenceGenerator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SentenceGenerator valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • visit

        public java.lang.Object visit​(Sentence sentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(SentenceList sentenceList,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface SentenceList.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(ExpectSentence expectSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface ExpectSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(DiagramSentence diagramSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface DiagramSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(HasSentence hasSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface HasSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(IsSentence isSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface IsSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(AnswerSentence answerSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface ActorSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface AnswerSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(TakeSentence takeSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface ActorSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface TakeSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(ConditionalSentence conditionalSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface ConditionalSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(AssignSentence assignSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface AssignSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(ExprSentence exprSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface ExprSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
      • visit

        public java.lang.Object visit​(TemplateSentence templateSentence,
                                      org.fulib.scenarios.visitor.codegen.CodeGenDTO par)
        Specified by:
        visit in interface Sentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>
        Specified by:
        visit in interface TemplateSentence.Visitor<org.fulib.scenarios.visitor.codegen.CodeGenDTO,​java.lang.Object>