Enum Class TSCNodeFlag

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

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

    • None

      public static final TSCNodeFlag None
    • Let

      public static final TSCNodeFlag Let
    • Const

      public static final TSCNodeFlag Const
    • Using

      public static final TSCNodeFlag Using
    • AwaitUsing

      public static final TSCNodeFlag AwaitUsing
      Also includes Constant
    • NestedNamespace

      public static final TSCNodeFlag NestedNamespace
    • Synthesized

      public static final TSCNodeFlag Synthesized
    • Namespace

      public static final TSCNodeFlag Namespace
    • OptionalChain

      public static final TSCNodeFlag OptionalChain
    • ExportContext

      public static final TSCNodeFlag ExportContext
    • ContainsThis

      public static final TSCNodeFlag ContainsThis
      Also includes IdentifierHasExtendedUnicodeEscape
    • HasImplicitReturn

      public static final TSCNodeFlag HasImplicitReturn
    • HasExplicitReturn

      public static final TSCNodeFlag HasExplicitReturn
    • GlobalAugmentation

      public static final TSCNodeFlag GlobalAugmentation
    • HasAsyncFunctions

      public static final TSCNodeFlag HasAsyncFunctions
      Also includes IdentifierIsInJSDocNamespace
    • DisallowInContext

      public static final TSCNodeFlag DisallowInContext
    • YieldContext

      public static final TSCNodeFlag YieldContext
    • DecoratorContext

      public static final TSCNodeFlag DecoratorContext
    • AwaitContext

      public static final TSCNodeFlag AwaitContext
    • DisallowConditionalTypesContext

      public static final TSCNodeFlag DisallowConditionalTypesContext
    • ThisNodeHasError

      public static final TSCNodeFlag ThisNodeHasError
    • JavaScriptFile

      public static final TSCNodeFlag JavaScriptFile
    • ThisNodeOrAnySubNodesHasError

      public static final TSCNodeFlag ThisNodeOrAnySubNodesHasError
    • HasAggregatedChildData

      public static final TSCNodeFlag HasAggregatedChildData
    • PossiblyContainsDynamicImport

      public static final TSCNodeFlag PossiblyContainsDynamicImport
    • PossiblyContainsImportMeta

      public static final TSCNodeFlag PossiblyContainsImportMeta
    • JSDoc

      public static final TSCNodeFlag JSDoc
    • Ambient

      public static final TSCNodeFlag Ambient
    • InWithStatement

      public static final TSCNodeFlag InWithStatement
    • JsonFile

      public static final TSCNodeFlag JsonFile
    • TypeCached

      public static final TSCNodeFlag TypeCached
    • Deprecated

      public static final TSCNodeFlag Deprecated
    • BlockScoped

      public static final TSCNodeFlag BlockScoped
    • ReachabilityCheckFlags

      public static final TSCNodeFlag ReachabilityCheckFlags
    • ReachabilityAndEmitFlags

      public static final TSCNodeFlag ReachabilityAndEmitFlags
    • ContextFlags

      public static final TSCNodeFlag ContextFlags
    • TypeExcludesFlags

      public static final TSCNodeFlag TypeExcludesFlags
    • PermanentlySetIncrementalFlags

      public static final TSCNodeFlag PermanentlySetIncrementalFlags
  • Field Details

    • code

      public final int code
  • Method Details

    • values

      public static TSCNodeFlag[] 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 TSCNodeFlag 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 TSCNodeFlag fromMaskExact(int code)
    • matches

      public boolean matches(int bitfield)
    • union

      public static int union(TSCNodeFlag... args)