Struct dialectic_compiler::syntax::Invocation[][src]

pub struct Invocation {
    pub syntax: Spanned<Syntax>,
}

A shim for parsing the root level of a macro invocation, so that a session type may be written as a block w/o an extra layer of braces.

Fields

syntax: Spanned<Syntax>

The spanned syntax representing a full invocation of the macro.

Implementations

impl Invocation[src]

pub fn compile(&self) -> Result<Spanned<Target>, Error>[src]

Compile this invocation into the corresponding target syntax.

Trait Implementations

impl Clone for Invocation[src]

impl Debug for Invocation[src]

impl Parse for Invocation[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.