[][src]Enum fuzzy_pickles::ast::Expression

pub enum Expression {
    Array(Array),
    AsType(AsType),
    Ascription(Ascription),
    AsyncBlock(AsyncBlock),
    Binary(Binary),
    Block(Box<Block>),
    Box(ExpressionBox),
    Break(Break),
    Byte(Byte),
    ByteString(ByteString),
    Call(Call),
    Character(Character),
    Closure(Closure),
    Continue(Continue),
    Dereference(Dereference),
    Disambiguation(Disambiguation),
    FieldAccess(FieldAccess),
    ForLoop(ForLoop),
    If(If),
    IfLet(IfLet),
    Let(Let),
    Loop(Loop),
    MacroCall(MacroCall),
    Match(Match),
    Number(Number),
    Parenthetical(Parenthetical),
    Range(Range),
    RangeInclusive(RangeInclusive),
    Reference(Reference),
    Return(Return),
    Slice(Slice),
    String(String),
    Tuple(Tuple),
    TryOperator(TryOperator),
    Unary(Unary),
    UnsafeBlock(UnsafeBlock),
    Value(Value),
    While(While),
    WhileLet(WhileLet),
}

Variants

Array(Array)
AsType(AsType)
Ascription(Ascription)
AsyncBlock(AsyncBlock)
Binary(Binary)
Block(Box<Block>)
Break(Break)
Byte(Byte)
ByteString(ByteString)
Call(Call)
Character(Character)
Closure(Closure)
Continue(Continue)
Dereference(Dereference)
Disambiguation(Disambiguation)
FieldAccess(FieldAccess)
ForLoop(ForLoop)
If(If)
IfLet(IfLet)
Let(Let)
Loop(Loop)
MacroCall(MacroCall)
Match(Match)
Number(Number)
Parenthetical(Parenthetical)
Range(Range)
RangeInclusive(RangeInclusive)
Reference(Reference)
Return(Return)
Slice(Slice)
String(String)
Tuple(Tuple)
TryOperator(TryOperator)
Unary(Unary)
UnsafeBlock(UnsafeBlock)
Value(Value)
While(While)
WhileLet(WhileLet)

Implementations

impl Expression[src]

pub fn into_array(self) -> Option<Array>[src]

pub fn into_as_type(self) -> Option<AsType>[src]

pub fn into_ascription(self) -> Option<Ascription>[src]

pub fn into_async_block(self) -> Option<AsyncBlock>[src]

pub fn into_binary(self) -> Option<Binary>[src]

pub fn into_block(self) -> Option<Box<Block>>[src]

pub fn into_box(self) -> Option<ExpressionBox>[src]

pub fn into_break(self) -> Option<Break>[src]

pub fn into_byte(self) -> Option<Byte>[src]

pub fn into_byte_string(self) -> Option<ByteString>[src]

pub fn into_call(self) -> Option<Call>[src]

pub fn into_character(self) -> Option<Character>[src]

pub fn into_closure(self) -> Option<Closure>[src]

pub fn into_continue(self) -> Option<Continue>[src]

pub fn into_dereference(self) -> Option<Dereference>[src]

pub fn into_disambiguation(self) -> Option<Disambiguation>[src]

pub fn into_field_access(self) -> Option<FieldAccess>[src]

pub fn into_for_loop(self) -> Option<ForLoop>[src]

pub fn into_if(self) -> Option<If>[src]

pub fn into_if_let(self) -> Option<IfLet>[src]

pub fn into_let(self) -> Option<Let>[src]

pub fn into_loop(self) -> Option<Loop>[src]

pub fn into_macro_call(self) -> Option<MacroCall>[src]

pub fn into_match(self) -> Option<Match>[src]

pub fn into_number(self) -> Option<Number>[src]

pub fn into_parenthetical(self) -> Option<Parenthetical>[src]

pub fn into_range(self) -> Option<Range>[src]

pub fn into_range_inclusive(self) -> Option<RangeInclusive>[src]

pub fn into_reference(self) -> Option<Reference>[src]

pub fn into_return(self) -> Option<Return>[src]

pub fn into_slice(self) -> Option<Slice>[src]

pub fn into_string(self) -> Option<String>[src]

pub fn into_tuple(self) -> Option<Tuple>[src]

pub fn into_try_operator(self) -> Option<TryOperator>[src]

pub fn into_unary(self) -> Option<Unary>[src]

pub fn into_unsafe_block(self) -> Option<UnsafeBlock>[src]

pub fn into_value(self) -> Option<Value>[src]

pub fn into_while(self) -> Option<While>[src]

pub fn into_while_let(self) -> Option<WhileLet>[src]

pub fn as_array(&self) -> Option<&Array>[src]

pub fn as_as_type(&self) -> Option<&AsType>[src]

pub fn as_ascription(&self) -> Option<&Ascription>[src]

pub fn as_async_block(&self) -> Option<&AsyncBlock>[src]

pub fn as_binary(&self) -> Option<&Binary>[src]

pub fn as_block(&self) -> Option<&Box<Block>>[src]

pub fn as_box(&self) -> Option<&ExpressionBox>[src]

pub fn as_break(&self) -> Option<&Break>[src]

pub fn as_byte(&self) -> Option<&Byte>[src]

pub fn as_byte_string(&self) -> Option<&ByteString>[src]

pub fn as_call(&self) -> Option<&Call>[src]

pub fn as_character(&self) -> Option<&Character>[src]

pub fn as_closure(&self) -> Option<&Closure>[src]

pub fn as_continue(&self) -> Option<&Continue>[src]

pub fn as_dereference(&self) -> Option<&Dereference>[src]

pub fn as_disambiguation(&self) -> Option<&Disambiguation>[src]

pub fn as_field_access(&self) -> Option<&FieldAccess>[src]

pub fn as_for_loop(&self) -> Option<&ForLoop>[src]

pub fn as_if(&self) -> Option<&If>[src]

pub fn as_if_let(&self) -> Option<&IfLet>[src]

pub fn as_let(&self) -> Option<&Let>[src]

pub fn as_loop(&self) -> Option<&Loop>[src]

pub fn as_macro_call(&self) -> Option<&MacroCall>[src]

pub fn as_match(&self) -> Option<&Match>[src]

pub fn as_number(&self) -> Option<&Number>[src]

pub fn as_parenthetical(&self) -> Option<&Parenthetical>[src]

pub fn as_range(&self) -> Option<&Range>[src]

pub fn as_range_inclusive(&self) -> Option<&RangeInclusive>[src]

pub fn as_reference(&self) -> Option<&Reference>[src]

pub fn as_return(&self) -> Option<&Return>[src]

pub fn as_slice(&self) -> Option<&Slice>[src]

pub fn as_string(&self) -> Option<&String>[src]

pub fn as_tuple(&self) -> Option<&Tuple>[src]

pub fn as_try_operator(&self) -> Option<&TryOperator>[src]

pub fn as_unary(&self) -> Option<&Unary>[src]

pub fn as_unsafe_block(&self) -> Option<&UnsafeBlock>[src]

pub fn as_value(&self) -> Option<&Value>[src]

pub fn as_while(&self) -> Option<&While>[src]

pub fn as_while_let(&self) -> Option<&WhileLet>[src]

pub fn is_array(&self) -> bool[src]

pub fn is_as_type(&self) -> bool[src]

pub fn is_ascription(&self) -> bool[src]

pub fn is_async_block(&self) -> bool[src]

pub fn is_binary(&self) -> bool[src]

pub fn is_block(&self) -> bool[src]

pub fn is_box(&self) -> bool[src]

pub fn is_break(&self) -> bool[src]

pub fn is_byte(&self) -> bool[src]

pub fn is_byte_string(&self) -> bool[src]

pub fn is_call(&self) -> bool[src]

pub fn is_character(&self) -> bool[src]

pub fn is_closure(&self) -> bool[src]

pub fn is_continue(&self) -> bool[src]

pub fn is_dereference(&self) -> bool[src]

pub fn is_disambiguation(&self) -> bool[src]

pub fn is_field_access(&self) -> bool[src]

pub fn is_for_loop(&self) -> bool[src]

pub fn is_if(&self) -> bool[src]

pub fn is_if_let(&self) -> bool[src]

pub fn is_let(&self) -> bool[src]

pub fn is_loop(&self) -> bool[src]

pub fn is_macro_call(&self) -> bool[src]

pub fn is_match(&self) -> bool[src]

pub fn is_number(&self) -> bool[src]

pub fn is_parenthetical(&self) -> bool[src]

pub fn is_range(&self) -> bool[src]

pub fn is_range_inclusive(&self) -> bool[src]

pub fn is_reference(&self) -> bool[src]

pub fn is_return(&self) -> bool[src]

pub fn is_slice(&self) -> bool[src]

pub fn is_string(&self) -> bool[src]

pub fn is_tuple(&self) -> bool[src]

pub fn is_try_operator(&self) -> bool[src]

pub fn is_unary(&self) -> bool[src]

pub fn is_unsafe_block(&self) -> bool[src]

pub fn is_value(&self) -> bool[src]

pub fn is_while(&self) -> bool[src]

pub fn is_while_let(&self) -> bool[src]

Trait Implementations

impl Debug for Expression[src]

impl From<Expression> for Attributed<Expression>[src]

impl HasExtent for Expression[src]

impl<'a> Index<&'a Expression> for str[src]

type Output = str

The returned type after indexing.

impl Index<Expression> for str[src]

type Output = str

The returned type after indexing.

impl Visit for Expression[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.