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) }) } }