Enum swc_babel_ast::Flow[][src]

pub enum Flow {
Show 54 variants AnyTypeAnnotation(AnyTypeAnnotation), ArrayTypeAnnotation(ArrayTypeAnnotation), BooleanTypeAnnotation(BooleanTypeAnnotation), BooleanLiteralTypeAnnotation(BooleanLiteralTypeAnnotation), NullLiteralTypeAnnotation(NullLiteralTypeAnnotation), ClassImplements(ClassImplements), DeclareClass(DeclareClass), DeclareFunction(DeclareFunction), DeclareInterface(DeclareInterface), DeclareModule(DeclareModule), DeclareModuleExports(DeclareModuleExports), DeclareTypeAlias(DeclareTypeAlias), DeclareOpaqueType(DeclareOpaqueType), DeclareVariable(DeclareVariable), DeclareExportDeclaration(DeclareExportDeclaration), DeclareExportAllDeclaration(DeclareExportAllDeclaration), DeclaredPredicate(DeclaredPredicate), ExistsTypeAnnotation(ExistsTypeAnnotation), FunctionTypeAnnotation(FunctionTypeAnnotation), FunctionTypeParam(FunctionTypeParam), GenericTypeAnnotation(GenericTypeAnnotation), InferredPredicate(InferredPredicate), InterfaceExtends(InterfaceExtends), InterfaceDeclaration(InterfaceDeclaration), InterfaceTypeAnnotation(InterfaceTypeAnnotation), IntersectionTypeAnnotation(IntersectionTypeAnnotation), MixedTypeAnnotation(MixedTypeAnnotation), EmptyTypeAnnotation(EmptyTypeAnnotation), NullableTypeAnnotation(NullableTypeAnnotation), NumberLiteralTypeAnnotation(NumberLiteralTypeAnnotation), NumberTypeAnnotation(NumberTypeAnnotation), ObjectTypeAnnotation(ObjectTypeAnnotation), ObjectTypeInternalSlot(ObjectTypeInternalSlot), ObjectTypeCallProperty(ObjectTypeCallProperty), ObjectTypeIndexer(ObjectTypeIndexer), ObjectTypeProperty(ObjectTypeProperty), ObjectTypeSpreadProperty(ObjectTypeSpreadProperty), OpaqueType(OpaqueType), QualifiedTypeIdentifier(QualifiedTypeIdentifier), StringLiteralTypeAnnotation(StringLiteralTypeAnnotation), StringTypeAnnotation(StringTypeAnnotation), SymbolTypeAnnotation(SymbolTypeAnnotation), ThisTypeAnnotation(ThisTypeAnnotation), TupleTypeAnnotation(TupleTypeAnnotation), TypeofTypeAnnotation(TypeofTypeAnnotation), TypeAlias(TypeAlias), TypeAnnotation(TypeAnnotation), TypeCastExpression(TypeCastExpression), TypeParameter(TypeParameter), TypeParameterDeclaration(TypeParameterDeclaration), TypeParameterInstantiation(TypeParameterInstantiation), UnionTypeAnnotation(UnionTypeAnnotation), Variance(Variance), VoidTypeAnnotation(VoidTypeAnnotation),
}

Variants

AnyTypeAnnotation(AnyTypeAnnotation)

Tuple Fields

ArrayTypeAnnotation(ArrayTypeAnnotation)

Tuple Fields

BooleanTypeAnnotation(BooleanTypeAnnotation)

Tuple Fields

BooleanLiteralTypeAnnotation(BooleanLiteralTypeAnnotation)

NullLiteralTypeAnnotation(NullLiteralTypeAnnotation)

ClassImplements(ClassImplements)

Tuple Fields

DeclareClass(DeclareClass)

Tuple Fields

DeclareFunction(DeclareFunction)

Tuple Fields

DeclareInterface(DeclareInterface)

Tuple Fields

DeclareModule(DeclareModule)

Tuple Fields

DeclareModuleExports(DeclareModuleExports)

Tuple Fields

DeclareTypeAlias(DeclareTypeAlias)

Tuple Fields

DeclareOpaqueType(DeclareOpaqueType)

Tuple Fields

DeclareVariable(DeclareVariable)

Tuple Fields

DeclareExportDeclaration(DeclareExportDeclaration)

Tuple Fields

DeclareExportAllDeclaration(DeclareExportAllDeclaration)

DeclaredPredicate(DeclaredPredicate)

Tuple Fields

ExistsTypeAnnotation(ExistsTypeAnnotation)

Tuple Fields

FunctionTypeAnnotation(FunctionTypeAnnotation)

Tuple Fields

FunctionTypeParam(FunctionTypeParam)

Tuple Fields

GenericTypeAnnotation(GenericTypeAnnotation)

Tuple Fields

InferredPredicate(InferredPredicate)

Tuple Fields

InterfaceExtends(InterfaceExtends)

Tuple Fields

InterfaceDeclaration(InterfaceDeclaration)

Tuple Fields

InterfaceTypeAnnotation(InterfaceTypeAnnotation)

Tuple Fields

IntersectionTypeAnnotation(IntersectionTypeAnnotation)

MixedTypeAnnotation(MixedTypeAnnotation)

Tuple Fields

EmptyTypeAnnotation(EmptyTypeAnnotation)

Tuple Fields

NullableTypeAnnotation(NullableTypeAnnotation)

Tuple Fields

NumberLiteralTypeAnnotation(NumberLiteralTypeAnnotation)

NumberTypeAnnotation(NumberTypeAnnotation)

Tuple Fields

ObjectTypeAnnotation(ObjectTypeAnnotation)

Tuple Fields

ObjectTypeInternalSlot(ObjectTypeInternalSlot)

Tuple Fields

ObjectTypeCallProperty(ObjectTypeCallProperty)

Tuple Fields

ObjectTypeIndexer(ObjectTypeIndexer)

Tuple Fields

ObjectTypeProperty(ObjectTypeProperty)

Tuple Fields

ObjectTypeSpreadProperty(ObjectTypeSpreadProperty)

Tuple Fields

OpaqueType(OpaqueType)

Tuple Fields

QualifiedTypeIdentifier(QualifiedTypeIdentifier)

Tuple Fields

StringLiteralTypeAnnotation(StringLiteralTypeAnnotation)

StringTypeAnnotation(StringTypeAnnotation)

Tuple Fields

SymbolTypeAnnotation(SymbolTypeAnnotation)

Tuple Fields

ThisTypeAnnotation(ThisTypeAnnotation)

Tuple Fields

TupleTypeAnnotation(TupleTypeAnnotation)

Tuple Fields

TypeofTypeAnnotation(TypeofTypeAnnotation)

Tuple Fields

TypeAlias(TypeAlias)

Tuple Fields

TypeAnnotation(TypeAnnotation)

Tuple Fields

TypeCastExpression(TypeCastExpression)

Tuple Fields

TypeParameter(TypeParameter)

Tuple Fields

TypeParameterDeclaration(TypeParameterDeclaration)

Tuple Fields

TypeParameterInstantiation(TypeParameterInstantiation)

UnionTypeAnnotation(UnionTypeAnnotation)

Tuple Fields

Variance(Variance)

Tuple Fields

VoidTypeAnnotation(VoidTypeAnnotation)

Tuple Fields

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more