/*ident "@(#)Set:Setio.c 3.1" */ /****************************************************************************** * * C++ Standard Components, Release 3.0. * * Copyright (c) 1991, 1992 AT&T and Unix System Laboratories, Inc. * Copyright (c) 1988, 1989, 1990 AT&T. All Rights Reserved. * * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T and Unix System * Laboratories, Inc. The copyright notice above does not evidence * any actual or intended publication of such source code. * ******************************************************************************/ #include #include static void indent(int level) { for( int i=level; i; i--) cerr << "\t"; } void Internal_item_ATTLC::show(int level)const { if ( is_null()) cerr << "\t0\n"; else if ( is_leaf()) cerr << "\tleaf = " << external_leaf() << "\n"; else if ( is_node()) { cerr << "\tnode = " << next_node() << "\n"; (next_node())->show(level+1); } } void Internal_node_ATTLC::show(int level)const { for( int i=0; i