brink-ir 0.0.17

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
16
use brink_syntax::ast;

use crate::Stmt;

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

impl LowerBody for ast::MultilineBlock {
    type Output = Option<Stmt>;

    fn lower_body(&self, scope: &LowerScope, sink: &mut impl LowerSink) -> Lowered<Option<Stmt>> {
        Ok(super::super::conditional::lower_multiline_block(
            self, scope, sink,
        ))
    }
}