[][src]Enum tremor_script::ast::LexicalUnit

pub enum LexicalUnit<'script> {
    NakedImportDecl(Vec<IdentRaw<'script>>),
    AliasedImportDecl(Vec<IdentRaw<'script>>, IdentRaw<'script>),
    LineDirective(Cow<'script, str>),
}

A lexical compilation unit

Variants

NakedImportDecl(Vec<IdentRaw<'script>>)

Import declaration with no alias

AliasedImportDecl(Vec<IdentRaw<'script>>, IdentRaw<'script>)

Import declaration with an alias

LineDirective(Cow<'script, str>)

Line directive with embedded " ;"

Trait Implementations

impl<'script> Clone for LexicalUnit<'script>[src]

impl<'script> Debug for LexicalUnit<'script>[src]

impl<'script> PartialEq<LexicalUnit<'script>> for LexicalUnit<'script>[src]

impl<'script> Serialize for LexicalUnit<'script>[src]

impl<'script> StructuralPartialEq for LexicalUnit<'script>[src]

Auto Trait Implementations

impl<'script> RefUnwindSafe for LexicalUnit<'script>

impl<'script> Send for LexicalUnit<'script>

impl<'script> Sync for LexicalUnit<'script>

impl<'script> Unpin for LexicalUnit<'script>

impl<'script> UnwindSafe for LexicalUnit<'script>

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,