valkyrie-parser 0.2.5

The hand write parser of valkyrie language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;
impl crate::DotClosureCallNode {
    pub(crate) fn build(&self, ctx: &mut ProgramState) -> Result<ClosureCallNode> {
        let monadic = self.op_and_then.is_some();
        Ok(ClosureCallNode {
            monadic,
            base: Default::default(),
            trailing: self.continuation.build(ctx),
            span: self.span.clone(),
        })
    }
}