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)
Tuple Fields
NullLiteralTypeAnnotation(NullLiteralTypeAnnotation)
Tuple Fields
ClassImplements(ClassImplements)
Tuple Fields
DeclareClass(DeclareClass)
Tuple Fields
0: DeclareClass
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)
Tuple Fields
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)
Tuple Fields
MixedTypeAnnotation(MixedTypeAnnotation)
Tuple Fields
EmptyTypeAnnotation(EmptyTypeAnnotation)
Tuple Fields
NullableTypeAnnotation(NullableTypeAnnotation)
Tuple Fields
NumberLiteralTypeAnnotation(NumberLiteralTypeAnnotation)
Tuple Fields
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
0: OpaqueType
QualifiedTypeIdentifier(QualifiedTypeIdentifier)
Tuple Fields
StringLiteralTypeAnnotation(StringLiteralTypeAnnotation)
Tuple Fields
StringTypeAnnotation(StringTypeAnnotation)
Tuple Fields
SymbolTypeAnnotation(SymbolTypeAnnotation)
Tuple Fields
ThisTypeAnnotation(ThisTypeAnnotation)
Tuple Fields
TupleTypeAnnotation(TupleTypeAnnotation)
Tuple Fields
TypeofTypeAnnotation(TypeofTypeAnnotation)
Tuple Fields
TypeAlias(TypeAlias)
Tuple Fields
0: TypeAlias
TypeAnnotation(TypeAnnotation)
Tuple Fields
TypeCastExpression(TypeCastExpression)
Tuple Fields
TypeParameter(TypeParameter)
Tuple Fields
TypeParameterDeclaration(TypeParameterDeclaration)
Tuple Fields
TypeParameterInstantiation(TypeParameterInstantiation)
Tuple Fields
UnionTypeAnnotation(UnionTypeAnnotation)
Tuple Fields
Variance(Variance)
Tuple Fields
0: Variance
VoidTypeAnnotation(VoidTypeAnnotation)
Tuple Fields
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Flow
impl UnwindSafe for Flow
Blanket Implementations
Mutably borrows from an owned value. Read more
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