#[repr(C)]pub struct TSMethodSignature<'gc> {
pub metadata: NodeMetadata<'gc>,
pub key: &'gc Node<'gc>,
pub params: NodeList<'gc>,
pub return_type: Option<&'gc Node<'gc>>,
pub computed: Cell<bool>,
}Expand description
The TSMethodSignature AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
key: &'gc Node<'gc>ESTree key property.
params: NodeList<'gc>ESTree params property.
return_type: Option<&'gc Node<'gc>>ESTree returnType property.
computed: Cell<bool>ESTree computed property.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for TSMethodSignature<'gc>
impl<'gc> !RefUnwindSafe for TSMethodSignature<'gc>
impl<'gc> !Send for TSMethodSignature<'gc>
impl<'gc> !Sync for TSMethodSignature<'gc>
impl<'gc> !UnwindSafe for TSMethodSignature<'gc>
impl<'gc> Unpin for TSMethodSignature<'gc>
impl<'gc> UnsafeUnpin for TSMethodSignature<'gc>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more