Enum ezno_parser::expressions::SpecialOperators
source · pub enum SpecialOperators {
AsExpression {
value: Box<Expression>,
as_keyword: Keyword<As>,
type_annotation: Box<TypeReference>,
},
SatisfiesExpression {
value: Box<Expression>,
satisfies_keyword: Keyword<Satisfies>,
type_annotation: Box<TypeReference>,
},
IsExpression {
value: Box<Expression>,
is_keyword: Keyword<Is>,
type_annotation: Box<TypeReference>,
},
}
Expand description
Binary operations whose RHS are types rather than Expressions
Variants§
AsExpression
TS Only
SatisfiesExpression
TS Only
IsExpression
Trait Implementations§
source§impl Clone for SpecialOperators
impl Clone for SpecialOperators
source§fn clone(&self) -> SpecialOperators
fn clone(&self) -> SpecialOperators
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 SpecialOperators
impl Debug for SpecialOperators
source§impl PartialEq<SpecialOperators> for SpecialOperators
impl PartialEq<SpecialOperators> for SpecialOperators
source§impl SelfRustTokenize for SpecialOperators
impl SelfRustTokenize for SpecialOperators
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