☰
Id
Id
Trait Implementations
From<Ident>
In swc_ecma_ast
Macros
op
Structs
ArrayLit
ArrayPat
ArrowExpr
AssignExpr
AssignPat
AssignPatProp
AssignProp
AwaitExpr
BigInt
BinExpr
BindingIdent
BlockStmt
Bool
BreakStmt
CallExpr
CatchClause
Class
ClassDecl
ClassExpr
ClassMethod
ClassProp
ComputedPropName
CondExpr
Constructor
ContinueStmt
DebuggerStmt
Decorator
DoWhileStmt
EmptyStmt
ExportAll
ExportDecl
ExportDefaultDecl
ExportDefaultExpr
ExportDefaultSpecifier
ExportNamedSpecifier
ExportNamespaceSpecifier
ExprOrSpread
ExprStmt
FnDecl
FnExpr
ForInStmt
ForOfStmt
ForStmt
Function
GetterProp
Ident
IfStmt
Import
ImportDecl
ImportDefaultSpecifier
ImportNamedSpecifier
ImportStarAsSpecifier
Invalid
JSXAttr
JSXClosingElement
JSXClosingFragment
JSXElement
JSXEmptyExpr
JSXExprContainer
JSXFragment
JSXMemberExpr
JSXNamespacedName
JSXOpeningElement
JSXOpeningFragment
JSXSpreadChild
JSXText
KeyValuePatProp
KeyValueProp
LabeledStmt
ListFormat
MemberExpr
MetaPropExpr
MethodProp
Module
NamedExport
NewExpr
Null
Number
ObjectLit
ObjectPat
OptCall
OptChainExpr
Param
ParenExpr
PrivateMethod
PrivateName
PrivateProp
Regex
ReservedUnused
RestPat
ReturnStmt
Script
SeqExpr
SetterProp
SpreadElement
StaticBlock
Str
Super
SuperPropExpr
SwitchCase
SwitchStmt
TaggedTpl
ThisExpr
ThrowStmt
Tpl
TplElement
TryStmt
TsArrayType
TsAsExpr
TsCallSignatureDecl
TsConditionalType
TsConstAssertion
TsConstructSignatureDecl
TsConstructorType
TsEnumDecl
TsEnumMember
TsExportAssignment
TsExprWithTypeArgs
TsExternalModuleRef
TsFnType
TsGetterSignature
TsImportEqualsDecl
TsImportType
TsIndexSignature
TsIndexedAccessType
TsInferType
TsInstantiation
TsInterfaceBody
TsInterfaceDecl
TsIntersectionType
TsKeywordType
TsLitType
TsMappedType
TsMethodSignature
TsModuleBlock
TsModuleDecl
TsNamespaceDecl
TsNamespaceExportDecl
TsNonNullExpr
TsOptionalType
TsParamProp
TsParenthesizedType
TsPropertySignature
TsQualifiedName
TsRestType
TsSatisfiesExpr
TsSetterSignature
TsThisType
TsTplLitType
TsTupleElement
TsTupleType
TsTypeAliasDecl
TsTypeAnn
TsTypeAssertion
TsTypeLit
TsTypeOperator
TsTypeParam
TsTypeParamDecl
TsTypeParamInstantiation
TsTypePredicate
TsTypeQuery
TsTypeRef
TsUnionType
UnaryExpr
UpdateExpr
VarDecl
VarDeclarator
WhileStmt
WithStmt
YieldExpr
Enums
Accessibility
AssignOp
BinaryOp
BlockStmtOrExpr
Callee
ClassMember
Decl
DefaultDecl
EsVersion
ExportSpecifier
Expr
ImportSpecifier
JSXAttrName
JSXAttrOrSpread
JSXAttrValue
JSXElementChild
JSXElementName
JSXExpr
JSXObject
Lit
MemberProp
MetaPropKind
MethodKind
ModuleDecl
ModuleExportName
ModuleItem
ObjectPatProp
OptChainBase
ParamOrTsParamProp
Pat
PatOrExpr
Program
Prop
PropName
PropOrSpread
Stmt
SuperProp
TruePlusMinus
TsEntityName
TsEnumMemberId
TsFnOrConstructorType
TsFnParam
TsKeywordTypeKind
TsLit
TsModuleName
TsModuleRef
TsNamespaceBody
TsParamPropParam
TsThisTypeOrIdent
TsType
TsTypeElement
TsTypeOperatorOp
TsTypeQueryExpr
TsUnionOrIntersectionType
UnaryOp
UpdateOp
VarDeclKind
VarDeclOrExpr
VarDeclOrPat
Traits
IdentExt
SourceMapperExt
SpanExt
Type Definitions
Id
?
Type Definition
swc_ecma_ast
::
Id
source
·
[
−
]
pub type Id = (
JsWord
,
SyntaxContext
);
Expand description
See
Ident
for documentation.
Trait Implementations
source
impl
From
<
Ident
> for
Id
source
fn
from
(i:
Ident
) -> Self
Converts to this type from the input type.