Enum Class TSCFlowFlag

java.lang.Object
java.lang.Enum<TSCFlowFlag>
org.openrewrite.javascript.internal.tsc.generated.TSCFlowFlag
All Implemented Interfaces:
Serializable, Comparable<TSCFlowFlag>, Constable

public enum TSCFlowFlag extends Enum<TSCFlowFlag>
  • Enum Constant Details

    • Unreachable

      public static final TSCFlowFlag Unreachable
    • Start

      public static final TSCFlowFlag Start
    • BranchLabel

      public static final TSCFlowFlag BranchLabel
    • LoopLabel

      public static final TSCFlowFlag LoopLabel
    • Assignment

      public static final TSCFlowFlag Assignment
    • TrueCondition

      public static final TSCFlowFlag TrueCondition
    • FalseCondition

      public static final TSCFlowFlag FalseCondition
    • SwitchClause

      public static final TSCFlowFlag SwitchClause
    • ArrayMutation

      public static final TSCFlowFlag ArrayMutation
    • Call

      public static final TSCFlowFlag Call
    • ReduceLabel

      public static final TSCFlowFlag ReduceLabel
    • Referenced

      public static final TSCFlowFlag Referenced
    • Shared

      public static final TSCFlowFlag Shared
    • Label

      public static final TSCFlowFlag Label
    • Condition

      public static final TSCFlowFlag Condition
  • Field Details

    • code

      public final int code
  • Method Details

    • values

      public static TSCFlowFlag[] 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 TSCFlowFlag 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
    • fromMaskExact

      public static TSCFlowFlag fromMaskExact(int code)
    • matches

      public boolean matches(int bitfield)
    • union

      public static int union(TSCFlowFlag... args)