valkyrie-parser 0.2.5

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

impl crate::DefineExtendsNode {
    pub(crate) fn build(&self, ctx: &mut ProgramState) -> Result<ExtendsStatement> {
        Ok(ExtendsStatement { implements: self.type_hint.build(ctx), body: self.trait_block.build(ctx) })
    }
}