Enum Namer

    • Enum Constant Detail

      • INSTANCE

        public static final Namer INSTANCE
    • Method Detail

      • values

        public static Namer[] 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 (Namer c : Namer.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Namer 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.String visit​(ClassType classType,
                                      java.lang.Object par)
        Specified by:
        visit in interface ClassType.Visitor<java.lang.Object,​java.lang.String>
        Specified by:
        visit in interface Type.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(ListType listType,
                                      java.lang.Object par)
        Specified by:
        visit in interface ListType.Visitor<java.lang.Object,​java.lang.String>
        Specified by:
        visit in interface Type.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(PrimitiveType primitiveType,
                                      java.lang.Object par)
        Specified by:
        visit in interface Type.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(Expr expr,
                                      java.lang.Object par)
        Specified by:
        visit in interface Expr.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(CreationExpr creationExpr,
                                      java.lang.Object par)
        Specified by:
        visit in interface CreationExpr.Visitor<java.lang.Object,​java.lang.String>
        Specified by:
        visit in interface Expr.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(CallExpr callExpr,
                                      java.lang.Object par)
        Specified by:
        visit in interface CallExpr.Visitor<java.lang.Object,​java.lang.String>
        Specified by:
        visit in interface Expr.Visitor<java.lang.Object,​java.lang.String>
      • visit

        public java.lang.String visit​(ResolvedName resolvedName,
                                      java.lang.Object par)
        Specified by:
        visit in interface Name.Visitor<java.lang.Object,​java.lang.String>
        Specified by:
        visit in interface ResolvedName.Visitor<java.lang.Object,​java.lang.String>