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 Header = MethodHeader
type Header = MethodHeader
Includes a keyword and/or modifiers
§type Name = WithComment<PropertyKey<PublicOrPrivate>>
type Name = WithComment<PropertyKey<PublicOrPrivate>>
A name of the function
§type LeadingParameter = (Option<ThisParameter>, Option<SuperParameter>)
type LeadingParameter = (Option<ThisParameter>, Option<SuperParameter>)
Cfg to make up for the fact
serde_derive
does not use syn_helpers
§type ParameterVisibility = ()
type ParameterVisibility = ()
Cfg to make up for the fact
serde_derive
does not use syn_helpers
§type Body = FunctionBody
type Body = FunctionBody
The body of the function
fn header_and_name_from_reader( reader: &mut impl TokenReader<TSXToken, TokenStart>, state: &mut ParsingState, options: &ParseOptions ) -> ParseResult<(HeadingAndPosition<Self>, Self::Name)>
fn header_and_name_to_string_from_buffer<T: ToString>( buf: &mut T, header: &Self::Header, name: &Self::Name, options: &ToStringOptions, local: LocalToStringInformation )
fn visit_name<TData>( name: &Self::Name, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain> )
fn visit_name_mut<TData>( name: &mut Self::Name, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain> )
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, TokenStart>,
state: &mut ParsingState,
options: &ParseOptions
) -> ParseResult<FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>>
fn parameters_from_reader<T: ToString>( reader: &mut impl TokenReader<TSXToken, TokenStart>, state: &mut ParsingState, options: &ParseOptions ) -> ParseResult<FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>>
For [
crate::ArrowFunction
]source§fn parameters_to_string_from_buffer<T: ToString>(
buf: &mut T,
parameters: &FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>,
options: &ToStringOptions,
local: LocalToStringInformation
)
fn parameters_to_string_from_buffer<T: ToString>( buf: &mut T, parameters: &FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>, options: &ToStringOptions, local: LocalToStringInformation )
For [
crate::ArrowFunction
]source§fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>(
buf: &mut T,
options: &ToStringOptions
)
fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>( buf: &mut T, options: &ToStringOptions )
For [
crate::ArrowFunction
]source§impl Hash for ClassFunctionBase
impl Hash for ClassFunctionBase
source§impl PartialEq for ClassFunctionBase
impl PartialEq 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 StructuralPartialEq for ClassFunctionBase
Auto Trait Implementations§
impl Freeze for ClassFunctionBase
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