[−][src]Struct swc_ecma_ast::Ident
Ident with span.
Fields
span: Span
sym: JsWord
type_ann: Option<TsTypeAnn>
optional: bool
TypeScript only. Used in case of an optional parameter.
Methods
impl Ident
[src]
Trait Implementations
impl AsRef<str> for Ident
[src]
impl AstNode for Ident
[src]
impl Clone for Ident
[src]
impl Debug for Ident
[src]
impl<'de> Deserialize<'de> for Ident
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Ident> for Expr
[src]
impl From<Ident> for JSXObject
[src]
impl From<Ident> for TsThisTypeOrIdent
[src]
impl From<Ident> for TsEnumMemberId
[src]
impl From<Ident> for TsModuleName
[src]
impl From<Ident> for JSXElementName
[src]
impl From<Ident> for JSXAttrName
[src]
impl From<Ident> for Pat
[src]
impl From<Ident> for Prop
[src]
impl From<Ident> for PropName
[src]
impl From<Ident> for TsParamPropParam
[src]
impl From<Ident> for TsEntityName
[src]
impl From<Ident> for TsFnParam
[src]
impl IdentExt for Ident
[src]
fn is_reserved_for_es3(&self) -> bool
[src]
fn is_reserved_only_for_es3(&self) -> bool
[src]
impl PartialEq<Ident> for Ident
[src]
impl Serialize for Ident
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl Spanned for Ident
[src]
impl StructuralPartialEq for Ident
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,