def _leaf_list_stmt(self, stmt: Statement, sctx: SchemaContext) -> None:
        """Handle leaf-list statement."""
        node = LeafListNode()
        node.type = DataType._resolve_type(
            stmt.find1("type", required=True), sctx)
        self._handle_child(node, stmt, sctx)
def _leaf_list_stmt ( self , stmt : Statement , sctx : SchemaContext ) -> None : node = LeafListNode ( ) node . type = DataType . _resolve_type ( stmt . find1 ( "type" , required = True ) , sctx ) self . _handle_child ( node , stmt , sctx )
Handle leaf-list statement.