1
// utl_exprlist.h,v 1.7 2002/07/01 13:49:22 parsons Exp
7
Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United
8
States of America. All Rights Reserved.
10
This product is protected by copyright and distributed under the following
11
license restricting its use.
13
The Interface Definition Language Compiler Front End (CFE) is made
14
available for your use provided that you include this license and copyright
15
notice on all media and documentation and the software program in which
16
this product is incorporated in whole or part. You may copy and extend
17
functionality (but may not remove functionality) of the Interface
18
Definition Language CFE without charge, but you are not authorized to
19
license or distribute it to anyone else except as part of a product or
20
program developed by you or with the express written consent of Sun
21
Microsystems, Inc. ("Sun").
23
The names of Sun Microsystems, Inc. and any of its subsidiaries or
24
affiliates may not be used in advertising or publicity pertaining to
25
distribution of Interface Definition Language CFE as permitted herein.
27
This license is effective until terminated by Sun for failure to comply
28
with this license. Upon termination, you shall destroy or return all code
29
and documentation for the Interface Definition Language CFE.
31
INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF
32
ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS
33
FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF
34
DEALING, USAGE OR TRADE PRACTICE.
36
INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT
37
ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES
38
TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT.
40
SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH
41
RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY
42
INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF.
44
IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR
45
ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL
46
DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
48
Use, duplication, or disclosure by the government is subject to
49
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
50
Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR
53
Sun, Sun Microsystems and the Sun logo are trademarks or registered
54
trademarks of Sun Microsystems, Inc.
58
Mountain View, California 94043
62
SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are
63
trademarks or registered trademarks of Sun Microsystems, Inc.
67
#ifndef _UTL_EXPRLIST_UTL_EXPRLIST_HH
68
#define _UTL_EXPRLIST_UTL_EXPRLIST_HH
74
// List of expressions.
76
// NOTE: This list class only works correctly because we use single public
77
// inheritance, as opposed to multiple inheritance or public virtual.
78
// It relies on a type-unsafe cast from UTL_List to subclasses, which
79
// will cease to operate correctly if you use either multiple or
80
// public virtual inheritance.
82
class TAO_IDL_FE_Export UTL_ExprList : public UTL_List
85
UTL_ExprList (AST_Expression *s,
89
AST_Expression *head (void);
93
AST_Expression *pd_car_data;
96
// Active iterator for UTL_ExprList.
97
class UTL_ExprlistActiveIterator : public UTL_ListActiveIterator
100
UTL_ExprlistActiveIterator (UTL_ExprList *s);
103
AST_Expression *item (void);
106
#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH