Enum Class Operation.FormattingHint

java.lang.Object
java.lang.Enum<Operation.FormattingHint>
net.ssehub.easy.varModel.model.datatypes.Operation.FormattingHint
All Implemented Interfaces:
Serializable, Comparable<Operation.FormattingHint>, Constable
Enclosing class:
Operation

public static enum Operation.FormattingHint extends Enum<Operation.FormattingHint>
Defines some formatting hints for emitting operations in a canonical form.
Author:
Holger Eichelberger
  • Enum Constant Details

    • FUNCTION_CALL

      public static final Operation.FormattingHint FUNCTION_CALL
      Emit it as a function call name(operand, param).
    • OPERATOR_INFIX

      public static final Operation.FormattingHint OPERATOR_INFIX
      Emit it as an infix operator operand name param.
    • OPERATOR_PREFIX

      public static final Operation.FormattingHint OPERATOR_PREFIX
      Emit it as a prefix operator name operand.
    • OPERATOR_POSTFIX

      public static final Operation.FormattingHint OPERATOR_POSTFIX
      Emit it as a postfix operator operand name.
  • Constructor Details

    • FormattingHint

      private FormattingHint()
  • Method Details

    • values

      public static Operation.FormattingHint[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Operation.FormattingHint valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null