brink-ir 0.0.3

Intermediate representations for inkle's ink narrative scripting language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use brink_syntax::ast;

use crate::Stmt;

use super::super::context::{LowerScope, LowerSink, Lowered};
use super::super::divert::LowerDivert;
use super::LowerBody;

impl LowerBody for ast::DivertNode {
    type Output = Stmt;

    fn lower_body(&self, scope: &LowerScope, sink: &mut impl LowerSink) -> Lowered<Stmt> {
        self.lower_divert(scope, sink)
    }
}