Enum ezno_parser::statements::Exportable
source · pub enum Exportable {
ClassDeclaration(ClassDeclaration<StatementPosition>),
FunctionDeclaration(StatementFunction),
VariableDeclaration(VariableStatement),
InterfaceDeclaration(InterfaceDeclaration),
TypeAlias(TypeAlias),
}
Variants§
ClassDeclaration(ClassDeclaration<StatementPosition>)
FunctionDeclaration(StatementFunction)
VariableDeclaration(VariableStatement)
InterfaceDeclaration(InterfaceDeclaration)
TypeAlias(TypeAlias)
Trait Implementations§
source§impl Clone for Exportable
impl Clone for Exportable
source§fn clone(&self) -> Exportable
fn clone(&self) -> Exportable
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 Exportable
impl Debug for Exportable
source§impl PartialEq<Exportable> for Exportable
impl PartialEq<Exportable> for Exportable
source§fn eq(&self, other: &Exportable) -> bool
fn eq(&self, other: &Exportable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for Exportable
impl SelfRustTokenize for Exportable
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self