Expand description
Intermediate Representation
Fields
schemas: Vec<Schema>
Implementations
sourceimpl IR
impl IR
pub fn to_token_stream(&self, prefix: CratePrefix) -> TokenStream
sourceimpl IR
impl IR
pub fn from_syntax_tree(st: &SyntaxTree) -> Result<Self, SemanticError>
Trait Implementations
sourceimpl Legalize for IR
impl Legalize for IR
type Input = SyntaxTree
type Input = SyntaxTree
AST portion
fn legalize(
ns: &Namespace<'_>,
ss: &Constraints,
scope: &Scope,
syn: &SyntaxTree
) -> Result<Self, SemanticError>
impl Eq for IR
impl StructuralEq for IR
impl StructuralPartialEq for IR
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more