code: def _refine_stmt(self, stmt: Statement, sctx: SchemaContext) -> None:
          
          target = self.get_schema_descendant(
              sctx.schema_data.sni2route(stmt.argument, sctx))
          if not sctx.schema_data.if_features(stmt, sctx.text_mid):
              target.parent.children.remove(target)
          else:
              target._handle_substatements(stmt, sctx)
docs: Handle **refine** statement.