Enum swc_babel_ast::TSType [−][src]
pub enum TSType {
Show 35 variants
AnyKeyword(TSAnyKeyword),
BooleanKeyword(TSBooleanKeyword),
BigIntKeyword(TSBigIntKeyword),
IntrinsicKeyword(TSIntrinsicKeyword),
NeverKeyword(TSNeverKeyword),
NullKeyword(TSNullKeyword),
NumberKeyword(TSNumberKeyword),
ObjectKeyword(TSObjectKeyword),
StringKeyword(TSStringKeyword),
SymbolKeyword(TSSymbolKeyword),
UndefinedKeyword(TSUndefinedKeyword),
UnknownKeyword(TSUnknownKeyword),
VoidKeyword(TSVoidKeyword),
This(TSThisType),
Function(TSFunctionType),
Constructor(TSConstructorType),
TypeRef(TSTypeReference),
TypePredicate(TSTypePredicate),
TypeQuery(TSTypeQuery),
TypeLiteral(TSTypeLiteral),
Array(TSArrayType),
Tuple(TSTupleType),
Optional(TSOptionalType),
Rest(TSRestType),
Union(TSUnionType),
Intersection(TSIntersectionType),
Conditional(TSConditionalType),
Infer(TSInferType),
Parenthesized(TSParenthesizedType),
TypeOp(TSTypeOperator),
IndexedAccess(TSIndexedAccessType),
Mapped(TSMappedType),
Literal(TSLiteralType),
ExprWithArgs(TSExpressionWithTypeArguments),
Import(TSImportType),
}
Variants
AnyKeyword(TSAnyKeyword)
Tuple Fields
0: TSAnyKeyword
BooleanKeyword(TSBooleanKeyword)
Tuple Fields
BigIntKeyword(TSBigIntKeyword)
Tuple Fields
IntrinsicKeyword(TSIntrinsicKeyword)
Tuple Fields
NeverKeyword(TSNeverKeyword)
Tuple Fields
NullKeyword(TSNullKeyword)
Tuple Fields
NumberKeyword(TSNumberKeyword)
Tuple Fields
ObjectKeyword(TSObjectKeyword)
Tuple Fields
StringKeyword(TSStringKeyword)
Tuple Fields
SymbolKeyword(TSSymbolKeyword)
Tuple Fields
UndefinedKeyword(TSUndefinedKeyword)
Tuple Fields
UnknownKeyword(TSUnknownKeyword)
Tuple Fields
VoidKeyword(TSVoidKeyword)
Tuple Fields
This(TSThisType)
Tuple Fields
0: TSThisType
Function(TSFunctionType)
Tuple Fields
Constructor(TSConstructorType)
Tuple Fields
TypeRef(TSTypeReference)
Tuple Fields
TypePredicate(TSTypePredicate)
Tuple Fields
TypeQuery(TSTypeQuery)
Tuple Fields
0: TSTypeQuery
TypeLiteral(TSTypeLiteral)
Tuple Fields
Array(TSArrayType)
Tuple Fields
0: TSArrayType
Tuple(TSTupleType)
Tuple Fields
0: TSTupleType
Optional(TSOptionalType)
Tuple Fields
Rest(TSRestType)
Tuple Fields
0: TSRestType
Union(TSUnionType)
Tuple Fields
0: TSUnionType
Intersection(TSIntersectionType)
Tuple Fields
Conditional(TSConditionalType)
Tuple Fields
Infer(TSInferType)
Tuple Fields
0: TSInferType
Parenthesized(TSParenthesizedType)
Tuple Fields
TypeOp(TSTypeOperator)
Tuple Fields
IndexedAccess(TSIndexedAccessType)
Tuple Fields
Mapped(TSMappedType)
Tuple Fields
0: TSMappedType
Literal(TSLiteralType)
Tuple Fields
ExprWithArgs(TSExpressionWithTypeArguments)
Tuple Fields
Import(TSImportType)
Tuple Fields
0: TSImportType
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TSType
impl UnwindSafe for TSType
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