Struct leo_asg::Asg [−][src]
pub struct Asg<'a> { /* fields omitted */ }
Expand description
Implementations
pub fn new<T: ImportResolver<'a>, Y: AsRef<Program>>(
context: AsgContext<'a>,
ast: Y,
resolver: &mut T
) -> Result<Self, AsgConvertError>
pub fn new<T: ImportResolver<'a>, Y: AsRef<Program>>(
context: AsgContext<'a>,
ast: Y,
resolver: &mut T
) -> Result<Self, AsgConvertError>
Creates a new ASG from a given AST and import resolver.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Asg<'a>
impl<'a> !UnwindSafe for Asg<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more