valkyrie-parser 0.2.5

The hand write parser of valkyrie language
Documentation
1
2
3
4
5
6
7
use super::*;

impl crate::ObjectStatementNode {
    pub(crate) fn build(&self, ctx: &mut ProgramState) -> Result<ConstructObjectNode> {
        Ok(ConstructObjectNode { base_classes: None, bounds: self.type_hint.build(ctx), span: self.span.clone() })
    }
}