Enum passerine::compiler::sst::SST [−][src]
Represents an item in a hoisted SST
.
Each langauge-level construct has it’s own SST
variant.
Note that symbols have been substituted.
At this point in compilation the scope of each local is known.
Variants
Symbol(UniqueSymbol)
Data(Data)
Implementations
impl SST
[src]
pub fn assign(pattern: Spanned<SSTPattern>, expression: Spanned<SST>) -> SST
[src]
Shortcut for creating an SST::Assign
variant.
pub fn lambda(
pattern: Spanned<SSTPattern>,
expression: Spanned<SST>,
scope: Scope
) -> SST
[src]
pattern: Spanned<SSTPattern>,
expression: Spanned<SST>,
scope: Scope
) -> SST
Shortcut for creating an SST::Lambda
variant.
pub fn label(name: &str, expression: Spanned<SST>) -> SST
[src]
Shortcut for creating a SST::Label
variant.
pub fn call(fun: Spanned<SST>, arg: Spanned<SST>) -> SST
[src]
Shortcut for creating a SST::Lambda
variant.
pub fn ffi(name: &str, expression: Spanned<SST>) -> SST
[src]
Trait Implementations
impl Clone for SST
[src]
impl Debug for SST
[src]
impl PartialEq<SST> for SST
[src]
impl StructuralPartialEq for SST
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SST
impl !Send for SST
impl !Sync for SST
impl Unpin for SST
impl !UnwindSafe for SST
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,