Enum verilization_compiler::lang::generator::LangExpr[][src]

pub enum LangExpr<'model> {
Show variants Identifier(String), IntegerLiteral(BigInt), StringLiteral(String), InvokeConverter { converter: Box<LangExpr<'model>>, value: Box<LangExpr<'model>>, }, IdentityConverter(LangType<'model>), ReadDiscriminator, WriteDiscriminator(BigUint), CodecRead { codec: Box<LangExpr<'model>>, }, CodecWrite { codec: Box<LangExpr<'model>>, value: Box<LangExpr<'model>>, }, InvokeOperation(OperationOperationTarget<'model>, Vec<LangType<'model>>, Vec<LangExpr<'model>>), InvokeUserConverter { name: &'model QualifiedName, prev_ver: BigUint, version: BigUint, type_args: Vec<LangType<'model>>, args: Vec<LangExpr<'model>>, }, ConstantValue(&'model QualifiedNameBigUint), CreateStruct(&'model QualifiedNameBigUintVec<LangType<'model>>, Vec<(&'model String, LangExpr<'model>)>), CreateEnum(&'model QualifiedNameBigUintVec<LangType<'model>>, &'model StringBox<LangExpr<'model>>), StructField(&'model QualifiedNameBigUint, &'model StringBox<LangExpr<'model>>),
}

Variants

Identifier(String)
IntegerLiteral(BigInt)
StringLiteral(String)
InvokeConverter
Show fields

Fields of InvokeConverter

converter: Box<LangExpr<'model>>value: Box<LangExpr<'model>>
IdentityConverter(LangType<'model>)
ReadDiscriminator
WriteDiscriminator(BigUint)
CodecRead
Show fields

Fields of CodecRead

codec: Box<LangExpr<'model>>
CodecWrite
Show fields

Fields of CodecWrite

codec: Box<LangExpr<'model>>value: Box<LangExpr<'model>>
InvokeOperation(OperationOperationTarget<'model>, Vec<LangType<'model>>, Vec<LangExpr<'model>>)
InvokeUserConverter
Show fields

Fields of InvokeUserConverter

name: &'model QualifiedNameprev_ver: BigUintversion: BigUinttype_args: Vec<LangType<'model>>args: Vec<LangExpr<'model>>
ConstantValue(&'model QualifiedNameBigUint)
CreateStruct(&'model QualifiedNameBigUintVec<LangType<'model>>, Vec<(&'model String, LangExpr<'model>)>)
CreateEnum(&'model QualifiedNameBigUintVec<LangType<'model>>, &'model StringBox<LangExpr<'model>>)
StructField(&'model QualifiedNameBigUint, &'model StringBox<LangExpr<'model>>)

Trait Implementations

impl<'model> Debug for LangExpr<'model>[src]

Auto Trait Implementations

impl<'model> RefUnwindSafe for LangExpr<'model>

impl<'model> Send for LangExpr<'model>

impl<'model> Sync for LangExpr<'model>

impl<'model> Unpin for LangExpr<'model>

impl<'model> UnwindSafe for LangExpr<'model>

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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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.