Bind

Trait Bind 

Source
pub trait Bind {
    type Output;

    // Required method
    fn bind(&self, binder: &mut Binder) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn bind(&self, binder: &mut Binder) -> Self::Output

Implementations on Foreign Types§

Source§

impl Bind for Expression

Source§

type Output = ()

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for ImportStatement

Source§

type Output = Option<(Identifier, Item)>

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for List

Source§

type Output = ()

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for SpannedItem<&FunctionDeclaration>

Source§

type Output = Option<(Identifier, Item)>

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for SpannedItem<&TypeDeclaration>

Source§

type Output = Option<(Identifier, Item)>

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for SpannedItem<FunctionDeclaration>

Source§

type Output = Option<(Identifier, Item)>

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl Bind for SpannedItem<TypeDeclaration>

Source§

type Output = Option<(Identifier, Item)>

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl<T: Bind> Bind for Commented<T>

Source§

type Output = <T as Bind>::Output

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Source§

impl<T: Bind> Bind for SpannedItem<T>

Source§

type Output = <T as Bind>::Output

Source§

fn bind(&self, binder: &mut Binder) -> Self::Output

Implementors§