Struct ezno_parser::declarations::classes::ClassFunctionBase
source · pub struct ClassFunctionBase;
Trait Implementations§
source§impl Clone for ClassFunctionBase
impl Clone for ClassFunctionBase
source§fn clone(&self) -> ClassFunctionBase
fn clone(&self) -> ClassFunctionBase
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClassFunctionBase
impl Debug for ClassFunctionBase
source§impl FunctionBased for ClassFunctionBase
impl FunctionBased for ClassFunctionBase
§type Name = WithComment<PropertyKey<PublicOrPrivate>>
type Name = WithComment<PropertyKey<PublicOrPrivate>>
A name of the function
fn header_and_name_from_reader( reader: &mut impl TokenReader<TSXToken, Span>, state: &mut ParsingState, settings: &ParseOptions ) -> ParseResult<(Self::Header, Self::Name)>
fn header_and_name_to_string_from_buffer<T: ToString>( buf: &mut T, header: &Self::Header, name: &Self::Name, settings: &ToStringOptions, depth: u8 )
fn header_left(header: &Self::Header) -> Option<Cow<'_, Span>>
source§fn get_parameter_body_boundary_token() -> Option<TSXToken>
fn get_parameter_body_boundary_token() -> Option<TSXToken>
For [crate::ArrowFunction]
source§fn parameters_from_reader<T: ToString>(
reader: &mut impl TokenReader<TSXToken, Span>,
state: &mut ParsingState,
settings: &ParseOptions
) -> ParseResult<FunctionParameters>
fn parameters_from_reader<T: ToString>( reader: &mut impl TokenReader<TSXToken, Span>, state: &mut ParsingState, settings: &ParseOptions ) -> ParseResult<FunctionParameters>
For [crate::ArrowFunction]
source§fn parameters_to_string_from_buffer<T: ToString>(
buf: &mut T,
parameters: &FunctionParameters,
settings: &ToStringOptions,
depth: u8
)
fn parameters_to_string_from_buffer<T: ToString>( buf: &mut T, parameters: &FunctionParameters, settings: &ToStringOptions, depth: u8 )
For [crate::ArrowFunction]
source§fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>(
buf: &mut T,
settings: &ToStringOptions
)
fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>( buf: &mut T, settings: &ToStringOptions )
For [crate::ArrowFunction]
source§impl Hash for ClassFunctionBase
impl Hash for ClassFunctionBase
source§impl PartialEq<ClassFunctionBase> for ClassFunctionBase
impl PartialEq<ClassFunctionBase> for ClassFunctionBase
source§fn eq(&self, other: &ClassFunctionBase) -> bool
fn eq(&self, other: &ClassFunctionBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClassFunctionBase
impl StructuralEq for ClassFunctionBase
impl StructuralPartialEq for ClassFunctionBase
Auto Trait Implementations§
impl RefUnwindSafe for ClassFunctionBase
impl Send for ClassFunctionBase
impl Sync for ClassFunctionBase
impl Unpin for ClassFunctionBase
impl UnwindSafe for ClassFunctionBase
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