diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
commit | 7a5fe8ce23ac50450b804cf0183c773565ae7cef (patch) | |
tree | 220a38a6627619d1386897d42757a140b9de448f /TAO/TAO_IDL | |
parent | 87b0987cad99cf45cd5d9e03cd1cefbaaec4ef2a (diff) | |
download | ATCD-ACE-4_4.tar.gz |
This commit was manufactured by cvs2svn to create branch 'ACE-4_4'.ACE-4_4
Diffstat (limited to 'TAO/TAO_IDL')
254 files changed, 0 insertions, 77505 deletions
diff --git a/TAO/TAO_IDL/ANNOUNCEMENT b/TAO/TAO_IDL/ANNOUNCEMENT deleted file mode 100644 index 870db6f6006..00000000000 --- a/TAO/TAO_IDL/ANNOUNCEMENT +++ /dev/null @@ -1,131 +0,0 @@ -WHAT: - -SunSoft, Inc., Mountain View, California, has placed the source code to -Project DOE's Interface Definition Language (IDL) compiler front end -(CFE) on OMG's file server, making the implementation publicly -available. This release is identified by the version number 1.3. - -Project DOE is SunSoft's corporate-wide development effort to integrate -distributed object technology into the Solaris O/S. OMG (Object Management -Group) is the industry wide body formed to create specifications for -distributed object technology. It currently has more than 370 members. OMG -IDL is part of OMG's CORBA 1.1 specification and provides a standardized -way for defining object interfaces. OMG IDL forms the basis for distributed -object interactionin Project DOE. - -The SunSoft OMG IDL CFE provides a complete framework for building -CORBA 1.1-compliant preprocessors for OMG IDL. By using this standard -implementation, developers of OMG IDL compilers will save many months -of work and enhance the portability and interoperability of OMG -IDL-interfaced objects. - -The SunSoft OMG IDL CFE allows convenient and fast integration of new back -ends to the compiler. The release consists of a front end which converts -OMG IDL to an intermediate format, a compiler framework driver, an example -implementation of a compiler back end, and a set of protocols for -interaction between the front and back ends. The SunSoft OMG IDL CFE -parser uses components generated by yacc and lex. - -The SunSoft OMG IDL CFE is designed to allow easy extension of OMG IDL -without impacting existing back-end implementations. As the CORBA -specification evolves, any new updates to the IDE CFE will be placed -by SunSoft on the OMG server. - -This release provides a directory with many examples of OMG IDL -specifications to allow users to become familiar with the process of -writing OMG IDL code. - -For more information send email to idl-cfe@sun.com. - -HOW: - -The SunSoft OMG IDL CFE is available at no charge through anonymous FTP -in source form on the OMG file server, omg.org. Please retrieve the -file OMG_IDL_CFE_1.3.tar.Z from the directory pub/OMG_IDL_CFE_1.3. Please -let us know who you are if you retrieve the compiler front end using this -method, by sending email to idl-cfe@sun.com. - -You can also retrieve the software by using the OMG mail server program. -Send email with the subject 'help' to omg_idl@omg.org, and the mail server -will respond with instructions on how to retrieve the software. - -WHEN: - -The SunSoft OMG IDL CFE is available now. - -CONTACT: - -Please let us know who you are if you decide to use this software, and how -you use it. Please send email to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -We ask that if you make extensions or modifications to this source release, -please make these extensions available to others using the OMG IDL compiler -front end, by sending the modified sources to the above email address. This -will help us evaluate your extensions for inclusion in a future version. It -also ensures your investment in these extensions when new versions of the -CFE are released. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/CHANGES b/TAO/TAO_IDL/CHANGES deleted file mode 100644 index ae6fca7bcea..00000000000 --- a/TAO/TAO_IDL/CHANGES +++ /dev/null @@ -1,122 +0,0 @@ -CHANGES WHICH AFFECT BE WRITERS --=============================- - -INTRODUCTION - -This file describes changes that affect BE writers. It contains IMPORTANT -INFORMATION for BE writers who wish to migrate a BE written to operate with -release 1.2 to operate with release 1.3. It is likely that not following -these instructions will result in a compilable but malfunctioning compiler. - -AST INHERITANCE CHANGES - -The AST has been reorganized so that AST_Union and AST_Exception now -inherit from AST_Structure. This means that constructors of BE classes -which inherit from AST_Union or AST_Exception now need to explicitly call -an initializer for AST_Structure in their init section. - -We repeat below the information given in the file WRITING_A_BE, in the -section entitled "WRITING A BE". - -AST_EXCEPTION - -The signature for constructors of classes inheriting from AST_Exception -should now be: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - -AST_UNION - -The signature for constructors of classes inheriting from AST_Union should -now be: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - -IDL_BOOL TYPE - -To increase portability and reduce dependency of the sources on POSIX -compliance in targets of ports, IDL now provides its own boolean type which -is named idl_bool. It provides two truth values, I_TRUE and I_FALSE. - -UTL_SCOPEDNAME TYPE - -The UTL_ScopedName type is now a list of Identifier nodes; in previous -releases it used to be a list of String nodes. If your BE constructs scoped -names this change will prevent recompilation until you modify your -constructor calls to invoke constructors for Identifier instead of for -String. The signature of the constructor is: - - Identifier::Identifier(char *, long x=1, long y=0, long z=I_FALSE) - -The additional arguments which can be defaulted to the values indicated are -included for future use. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/INSTALL b/TAO/TAO_IDL/INSTALL deleted file mode 100644 index 6fcaa710042..00000000000 --- a/TAO/TAO_IDL/INSTALL +++ /dev/null @@ -1,229 +0,0 @@ -INTERFACE DEFINITION LANGUAGE INSTALLATION GUIDE --==============================================- - -INTRODUCTION - -This file describes the installation process for OMG_IDL_CFE version 1.3. -This file explains how to: - -- install the source code -- modify the sources to customize them for different configurations -- modify the sources to implement your own back end - -TESTED CONFIGURATIONS - -This release has been tested and is believed to operate correctly on: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -This is the first release of OMG IDL CFE which is preconfigured to compile -correctly for Solaris 2.x and with SunPro SparcWorks compilers. - -CUSTOMIZATION - -The release contains a file idl_make_vars in the current directory, which -is included in each Makefile. This file defines all the customizable -variables for the CFE. - -OSV should be set to a string denoting the operating system upon which you -wish to build the CFE. The CFE as shipped is preconfigured to compile -correctly on Solaris 2.x (OSV=SOLARIS2), and has also been tested on SunOS -4.1.x (OSV=SUNOS4). It contains code donated by HP which enables it to be -compiled on Apollo Domain systems (OSV=apollo) and HPUX systems (OSV=hpux), -but these two configurations have not been tested. - -C++ and CCC should be set to identify the C++ compiler you will use to -compile this release. Their values should be identical. Both are set to -address differences between various make programs - some predefine CCC, -others use C++ to denote the C++ compiler. The possible values are CC -(which uses the Sparcworks compilers on SunOS 4.1 and Solaris 2.3) and g++, -which uses the installed version of GNU C++. - -CCFLAGS should be set to a list of flags to pass to the C++ compiler. As -shipped, this list is -g. NOTE: We have not extensively tested the release -with optimization turned on. - -CPP_FLAGS should be set to a list of flags to pass to the C++ preprocessor. -Use this variable to enable or disable specific customizations you make to -the BE or CFE sources. - -YFLAGS should be set to a list of flags to pass to the Yacc program. As -shipped, the list is -d -t, which causes Yacc to generate y.tab.h and -y.tab.c files. - -LEXFLAGS should be set to a list of flags to pass to the Lex program. As -shipped, the list -t. - -RANLIB should be set to the location of the ranlib program on your system. -As shipped this is ranlib. If your system has no ranlib you can set this -variable to ':' or /bin/true. As shipped the variable is preset to -/bin/true since Solaris 2.x does not use ranlib. - -AR should be set to the location of the ar program on your system. As -shipped this is ar. If your system has a different mechanism for creating -libraries, you should modify the value of this variable accordingly. - -ARFLAGS should be set to the flags to be passed to the ar program. As -shipped this is 'crv'. - -INSTALLATION - -a. Disk space requirements - -This distribution requires approximately 350 KBytes when compressed. When -uncompressed, untarred and compiled, approximately 10 MBytes of disk space -are consumed on a Sun 4. - -b. Getting the software - -Use anonymous FTP to omg.org and supply your e-mail address as password. -Change directories to pub/OMG_IDL_CFE_1.3, set bin and get the compressed -tar file OMG_IDL_CFE_1.3.tar.Z. - -The distribution may, in the future, be made available from other archives -on the Internet. However, omg.org will always have the most up-to-date -version of this software. - -After transferring this file, uncompress it and untar it in a directory of -your choice. - -c. Compiling it - -If you are using a Sparcstation running Solaris 2.x and have the SunPro -Sparcworks compilers installed, you may directly install the software. If -your hardware or operating system configurations are different, read and -follow the instructions in the previous section first. - -At the root directory of the release, issue - - % make - -or - - % make all - -This will compile the provided sources and the sources found in the be -directory. Executing this make target causes 'make all' to be invoked in -each subdirectory, resulting in building the libraries for each component -and finally a link step producing an executable IDL compiler. - -In order to make only the compiler front end components, without compiling -the sources found in the be directory and without building an executable, -issue - - % make libs - -This will build the libraries in the ast, fe, util, driver and narrow -directories. To build only the be, issue - - % make be - -To build all libraries without creating an executable, issue - - % make all_libs - -To remove all files created by the build process, issue - - % make clean - -This will not remove any files created by Yacc and Lex, because you may be -using the ones provided in the distribution (see below). - -d. Yacc and Lex - -Some installations may not have a C++ aware Yacc and Lex processor. For -these installations, we have included the output of yacc and lex in the -release. If you need to use these files to build the release because you -don't have access to a C++ capable Yacc or Lex, go to the "fe" directory, -issue the command: - - % touch lex.yy.cc y.tab.cc y.tab.hh - -This will ensure that the processed files appear to be newer than the -source files they were produced from and will cause "make" to skip their -production. - -NOTE: The files provided in the distribution have been produced on Solaris -2.3 and may contain OS-specific #include directives. If you intend to use -these files, you may have to edit them to make them work in your -environment. The provided files are known to compile cleanly without -modification with both SunPro Sparcworks compilers and GNU C++ on both -SunOS 4.1 and Solaris 2.3. We have not tested the grammar and lexer input -files with bison or flex. - -IMPLEMENTING A BACK END - -To implement your own back end, you can start with the provided sources in -the be directory and modify them. The Makefile understands the 'make all' -target and will generate libbe.a in the demo_be directory. As set up, the -variable CPP_FLAGS allows you to place include files either in the current -directory or in the include directory. Alternatively, you can place your -include files in a new directory and modify CPP_FLAGS to cause the C++ -preprocessor to search this new directory for referenced include files, by -adding a new -I directive. - -Additional detail on the structure and function of back ends, and on the -protocol which a back end must implement, are found in the document -entitled WRITING_A_BE. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/Makefile b/TAO/TAO_IDL/Makefile deleted file mode 100644 index 8f8e2dc7b0c..00000000000 --- a/TAO/TAO_IDL/Makefile +++ /dev/null @@ -1,54 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Top-level Makefile for the TAO IDL compiler -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Local macros -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -ifndef VXWORKS - include $(ACE_ROOT)/include/makeinclude/macros.GNU - include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU - include $(ACE_ROOT)/include/makeinclude/rules.common.GNU - include $(ACE_ROOT)/include/makeinclude/rules.nested.GNU - include $(ACE_ROOT)/include/makeinclude/rules.nolocal.GNU -endif # VXWORKS - -INFO = -# LIBS = -lACE -DIRS = driver fe ast util narrow be -BIN = tao_idl -TAOLIBS = -L$(ACE_ROOT)/ace -ldrv -lfe -last -ltao_idl_util -lnarrow -lbe -lACE -CLONE = -BUILD = $(VBIN) - -#---------------------------------------------------------------------------- -# Local targets -#---------------------------------------------------------------------------- - -ifdef VXWORKS -all clean realclean: - @echo The IDL compiler won\'t run or build for VxWorks. -else -all: - $(PRELINK) $(CXX) $(CFLAGS) -o $(BIN) $(TAOLIBS) $(LIBS) - -clean: - rm -f tao_idl - -realclean: - rm -f tao_idl TAGS -endif # VXWORKS - -tags: - rm -f TAGS - etags -C include/*.h be_include/*.h - etags -a ast/*.cpp util/*.cpp narrow/*.cpp \ - driver/*.cpp fe/*.cpp be/*.cpp diff --git a/TAO/TAO_IDL/README b/TAO/TAO_IDL/README deleted file mode 100644 index 6d73554acce..00000000000 --- a/TAO/TAO_IDL/README +++ /dev/null @@ -1,233 +0,0 @@ -INTERFACE DEFINITION LANGUAGE COMPILER FRONT END --==============================================- - -INTRODUCTION - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! This is Release 1.3 of the CFE. - -The Interface Definition Language (IDL) implementation is divided into -three parts: - -- A main program for driving the compilation process -- A parser and attendant utilities -- One or more back ends (BEs) for taking the processed input and producing - output in a target language and target format - -WARNINGS - -This is a preliminary version. This software is made available AS IS and -WITH NO GUARANTEES. Please read the copyright notice attached at the -bottom of this file. - -IMPORTANT NOTICE FOR USERS OF OMG IDL CFE VERSION 1.2. - -Please carefully read the file CHANGES to obtain IMPORTANT INFORMATION on -changes in that may affect the manner in which a BE is constructed. You -must follow instructions contained in the file CHANGES to obtain a -functional BE if you are migrating an existing BE from OMG IDL CFE v. 1.2. - -TARGET AUDIENCE - -Who should use this release? - -- You can use this source release to create a stand alone parser for OMG - Interface Definition Language. This may be useful to verify the legality - of IDL input. -- Developers of OMG Interface Definition Language compilers should use this - release as a basis for writing their back ends, to obtain a common - framework for their compiler and to provide portable and uniform - parsing of IDL input. - -HOW TO OBTAIN THIS SOFTWARE - -Please use anonymous FTP to omg.org and supply your e-mail address as the -password. Then change directories to pub/OMG_IDL_CFE_1.3, set binary transfer -and get the file OMG_IDL_CFE_1.3.TAR.Z. This file includes copies of all -individual documentation files in the directory. - -Precompiled binaries constructed from the sources in this release will be -made available shortly, in the directory pub/OMG_IDL_CFE_1.3/bin. These -binaries are useful for parsing IDL source and for learning about the -language. Precompiled binaries for Solaris 2.x and for SunOS 4.x will be -provided. - -You can also use the mail server program to retrieve this software. Send -email with the subject 'help' to omg_idl@omg.org, and the mail server will -respond with instructions on how to retrieve the software. - -Copies of this software may be made available from archives other than -omg.org. New versions made available by Sun will be placed on omg.org and a -message will be sent to this newsgroup announcing its availability. - -Finally, the SunSoft OMG IDL CFE is also available on magnetic tape for a -nominal media charge directly from SunSoft. Please refer to part number -DIDL-100-STP when ordering. - -CONTACT POINT - -Please let us know who you are if you decide to use this software, and how -you use it. Please send e-mail to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -WHAT IS PROVIDED IN THE RELEASE - -Provided in this release are: - -- A main program for driving an Interface Definition Language compiler -- A parser for the Interface Definition Language grammar which builds an - internal representation of the input parsed. This internal - representation, named an Abstract Syntax Tree (AST), is used as input to - a back end -- Some utility functions used by the parser -- A demonstration back end (BE) which exercises the front end but produces - no translated output -- Documentation of the public interfaces and of the contract between - the compiler front end and a back end - -OPERATION - -A complete compiler operates in two passes: - -- The first pass, provided in this release, parses the IDL input and - produces an internal representation, called an Abstract Syntax Tree (AST). - This pass also does a complete syntax and semantics check of the input - provided to ensure that exactly legal IDL input is accepted. If a syntax - or semantic error is discovered, the second pass is not invoked. -- The second pass, provided by compiler developers, takes the AST and - produces output in the language and format of choice. A demonstration - back end is provided in the release. - -HOW TO USE THIS SOFTWARE - -To create a complete compiler from OMG Interface Definition Language to a -target language, compiler developers will: - -- Write a back end (BE) to take the internal representation of the input - parsed and translate it to the target language and format. You will - probably want to replace the BE directory in this source tree with your - own BE directory -- Link the BE with the sources provided here to produce a complete - compiler. - -DOCUMENTATION - -The OMG Interface Definition Language is fully described in the CORBA -documentation, Chapter 4. This document may be obtained from OMG. - -This release also provides the following documents: - -- This README file, describing the release -- INSTALL, describing installation of the software -- WRITING_A_BE contains all the information needed to start writing a back - end for this distribution -- CHANGES_IN_AST describes changes that affect migration of BEs written - against version 1.2 to version 1.3. -- CLI, describing the command line interface to the CFE -- ROADMAP, describing the directory structure for the source code. This - file will assist a developer in understanding the structure of the code - and navigating it -- PROBLEMS, describing a list of issues that may be addressed in future - releases -- BUG_REPORT, containing a form for use in reporting bugs and problems - with the IDL CFE - -ENVIRONMENT - -The INSTALL file explains how to customize the software for specific -platforms. The source distribution expects the following environment: - -- Sparcstation 1, 2, or 10 hardware -- SunPro SparcWorks 3.x or 4.0 - -As preconfigured, it compiles on Solaris 2.x. It can be reconfigured to -compile on SunOS 4.x, HPUX or Apollo Domain OS. As far as is known, no use -is made of Sun Make-specific features, and the Makefiles should be usable -with other make programs. - -This release has been tested and is believed to operate correctly with: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -INSTALLATION - -This release is targetted for Sun workstations running Solaris 2.x. The -process of installing this software is described in detail in the file -INSTALL in this directory. The INSTALL file also describes how to customize -the release for your own environment if it is different. - -KNOWN PROBLEMS - -A list of known deficiencies is provided in the file PROBLEMS in this -directory. If you find a problem which is not mentioned in it, please -report it as described below. Please read this file now to be apprised of -the problems found so far with this release. - -COPYRIGHT - -This copyright notice appears on all files. Please read it! - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/TAO_IDL.mak b/TAO/TAO_IDL/TAO_IDL.mak deleted file mode 100644 index 407c7ba5672..00000000000 --- a/TAO/TAO_IDL/TAO_IDL.mak +++ /dev/null @@ -1,12269 +0,0 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-!IF "$(CFG)" == ""
-CFG=TAO_IDL - Win32 Release
-!MESSAGE No configuration specified. Defaulting to TAO_IDL - Win32 Release.
-!ENDIF
-
-!IF "$(CFG)" != "TAO_IDL - Win32 Release" && "$(CFG)" !=\
- "TAO_IDL - Win32 Debug"
-!MESSAGE Invalid configuration "$(CFG)" specified.
-!MESSAGE You can specify a configuration when running NMAKE on this makefile
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "TAO_IDL.mak" CFG="TAO_IDL - Win32 Release"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "TAO_IDL - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "TAO_IDL - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-!ERROR An invalid configuration is specified.
-!ENDIF
-
-!IF "$(OS)" == "Windows_NT"
-NULL=
-!ELSE
-NULL=nul
-!ENDIF
-################################################################################
-# Begin Project
-# PROP Target_Last_Scanned "TAO_IDL - Win32 Release"
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "TAO_IDL - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Target_Dir ""
-OUTDIR=.
-INTDIR=.\Release
-
-ALL : "$(OUTDIR)\TAO_IDL.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\ast_argument.obj"
- -@erase "$(INTDIR)\ast_array.obj"
- -@erase "$(INTDIR)\ast_attribute.obj"
- -@erase "$(INTDIR)\ast_check.obj"
- -@erase "$(INTDIR)\ast_concrete_type.obj"
- -@erase "$(INTDIR)\ast_constant.obj"
- -@erase "$(INTDIR)\ast_decl.obj"
- -@erase "$(INTDIR)\ast_enum.obj"
- -@erase "$(INTDIR)\ast_enum_val.obj"
- -@erase "$(INTDIR)\ast_exception.obj"
- -@erase "$(INTDIR)\ast_expression.obj"
- -@erase "$(INTDIR)\ast_field.obj"
- -@erase "$(INTDIR)\ast_generator.obj"
- -@erase "$(INTDIR)\ast_interface.obj"
- -@erase "$(INTDIR)\ast_interface_fwd.obj"
- -@erase "$(INTDIR)\ast_module.obj"
- -@erase "$(INTDIR)\ast_operation.obj"
- -@erase "$(INTDIR)\ast_predefined_type.obj"
- -@erase "$(INTDIR)\ast_recursive.obj"
- -@erase "$(INTDIR)\ast_redef.obj"
- -@erase "$(INTDIR)\ast_root.obj"
- -@erase "$(INTDIR)\ast_sequence.obj"
- -@erase "$(INTDIR)\ast_string.obj"
- -@erase "$(INTDIR)\ast_structure.obj"
- -@erase "$(INTDIR)\ast_type.obj"
- -@erase "$(INTDIR)\ast_typedef.obj"
- -@erase "$(INTDIR)\ast_union.obj"
- -@erase "$(INTDIR)\ast_union_branch.obj"
- -@erase "$(INTDIR)\ast_union_label.obj"
- -@erase "$(INTDIR)\be_args.obj"
- -@erase "$(INTDIR)\be_argument.obj"
- -@erase "$(INTDIR)\be_array.obj"
- -@erase "$(INTDIR)\be_attribute.obj"
- -@erase "$(INTDIR)\be_codegen.obj"
- -@erase "$(INTDIR)\be_constant.obj"
- -@erase "$(INTDIR)\be_decl.obj"
- -@erase "$(INTDIR)\be_enum.obj"
- -@erase "$(INTDIR)\be_enum_val.obj"
- -@erase "$(INTDIR)\be_exception.obj"
- -@erase "$(INTDIR)\be_expression.obj"
- -@erase "$(INTDIR)\be_factory.obj"
- -@erase "$(INTDIR)\be_field.obj"
- -@erase "$(INTDIR)\be_generator.obj"
- -@erase "$(INTDIR)\be_helper.obj"
- -@erase "$(INTDIR)\be_init.obj"
- -@erase "$(INTDIR)\be_interface.obj"
- -@erase "$(INTDIR)\be_interface_fwd.obj"
- -@erase "$(INTDIR)\be_module.obj"
- -@erase "$(INTDIR)\be_operation.obj"
- -@erase "$(INTDIR)\be_predefined_type.obj"
- -@erase "$(INTDIR)\be_produce.obj"
- -@erase "$(INTDIR)\be_root.obj"
- -@erase "$(INTDIR)\be_scope.obj"
- -@erase "$(INTDIR)\be_sequence.obj"
- -@erase "$(INTDIR)\be_state.obj"
- -@erase "$(INTDIR)\be_state_argument.obj"
- -@erase "$(INTDIR)\be_state_array.obj"
- -@erase "$(INTDIR)\be_state_attribute.obj"
- -@erase "$(INTDIR)\be_state_operation.obj"
- -@erase "$(INTDIR)\be_state_sequence.obj"
- -@erase "$(INTDIR)\be_state_structure.obj"
- -@erase "$(INTDIR)\be_state_typedef.obj"
- -@erase "$(INTDIR)\be_state_union.obj"
- -@erase "$(INTDIR)\be_string.obj"
- -@erase "$(INTDIR)\be_structure.obj"
- -@erase "$(INTDIR)\be_sunsoft.obj"
- -@erase "$(INTDIR)\be_type.obj"
- -@erase "$(INTDIR)\be_typedef.obj"
- -@erase "$(INTDIR)\be_union.obj"
- -@erase "$(INTDIR)\be_union_branch.obj"
- -@erase "$(INTDIR)\be_union_label.obj"
- -@erase "$(INTDIR)\drv_args.obj"
- -@erase "$(INTDIR)\drv_fork.obj"
- -@erase "$(INTDIR)\drv_init.obj"
- -@erase "$(INTDIR)\drv_link.obj"
- -@erase "$(INTDIR)\drv_main.obj"
- -@erase "$(INTDIR)\drv_preproc.obj"
- -@erase "$(INTDIR)\drv_private.obj"
- -@erase "$(INTDIR)\fe_declarator.obj"
- -@erase "$(INTDIR)\fe_extern.obj"
- -@erase "$(INTDIR)\fe_init.obj"
- -@erase "$(INTDIR)\fe_interface_header.obj"
- -@erase "$(INTDIR)\fe_private.obj"
- -@erase "$(INTDIR)\lex.yy.obj"
- -@erase "$(INTDIR)\narrow.obj"
- -@erase "$(INTDIR)\utl_decllist.obj"
- -@erase "$(INTDIR)\utl_error.obj"
- -@erase "$(INTDIR)\utl_exceptlist.obj"
- -@erase "$(INTDIR)\utl_exprlist.obj"
- -@erase "$(INTDIR)\utl_global.obj"
- -@erase "$(INTDIR)\utl_identifier.obj"
- -@erase "$(INTDIR)\utl_idlist.obj"
- -@erase "$(INTDIR)\utl_indenter.obj"
- -@erase "$(INTDIR)\utl_labellist.obj"
- -@erase "$(INTDIR)\utl_list.obj"
- -@erase "$(INTDIR)\utl_namelist.obj"
- -@erase "$(INTDIR)\utl_scope.obj"
- -@erase "$(INTDIR)\utl_stack.obj"
- -@erase "$(INTDIR)\utl_string.obj"
- -@erase "$(INTDIR)\utl_strlist.obj"
- -@erase "$(INTDIR)\y.tab.obj"
- -@erase "$(OUTDIR)\TAO_IDL.exe"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D "NDEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D CPP_LOCATION=\"cl\" /YX /c
-CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D\
- "NDEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D\
- CPP_LOCATION=\"cl\" /Fp"$(INTDIR)/TAO_IDL.pch" /YX /Fo"$(INTDIR)/" /c
-CPP_OBJS=.\Release/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/TAO_IDL.bsc"
-BSC32_SBRS= \
-
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-LINK32_FLAGS=ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib\
- comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib\
- odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no\
- /pdb:"$(OUTDIR)/TAO_IDL.pdb" /machine:I386 /out:"$(OUTDIR)/TAO_IDL.exe"
-LINK32_OBJS= \
- "$(INTDIR)\ast_argument.obj" \
- "$(INTDIR)\ast_array.obj" \
- "$(INTDIR)\ast_attribute.obj" \
- "$(INTDIR)\ast_check.obj" \
- "$(INTDIR)\ast_concrete_type.obj" \
- "$(INTDIR)\ast_constant.obj" \
- "$(INTDIR)\ast_decl.obj" \
- "$(INTDIR)\ast_enum.obj" \
- "$(INTDIR)\ast_enum_val.obj" \
- "$(INTDIR)\ast_exception.obj" \
- "$(INTDIR)\ast_expression.obj" \
- "$(INTDIR)\ast_field.obj" \
- "$(INTDIR)\ast_generator.obj" \
- "$(INTDIR)\ast_interface.obj" \
- "$(INTDIR)\ast_interface_fwd.obj" \
- "$(INTDIR)\ast_module.obj" \
- "$(INTDIR)\ast_operation.obj" \
- "$(INTDIR)\ast_predefined_type.obj" \
- "$(INTDIR)\ast_recursive.obj" \
- "$(INTDIR)\ast_redef.obj" \
- "$(INTDIR)\ast_root.obj" \
- "$(INTDIR)\ast_sequence.obj" \
- "$(INTDIR)\ast_string.obj" \
- "$(INTDIR)\ast_structure.obj" \
- "$(INTDIR)\ast_type.obj" \
- "$(INTDIR)\ast_typedef.obj" \
- "$(INTDIR)\ast_union.obj" \
- "$(INTDIR)\ast_union_branch.obj" \
- "$(INTDIR)\ast_union_label.obj" \
- "$(INTDIR)\be_args.obj" \
- "$(INTDIR)\be_argument.obj" \
- "$(INTDIR)\be_array.obj" \
- "$(INTDIR)\be_attribute.obj" \
- "$(INTDIR)\be_codegen.obj" \
- "$(INTDIR)\be_constant.obj" \
- "$(INTDIR)\be_decl.obj" \
- "$(INTDIR)\be_enum.obj" \
- "$(INTDIR)\be_enum_val.obj" \
- "$(INTDIR)\be_exception.obj" \
- "$(INTDIR)\be_expression.obj" \
- "$(INTDIR)\be_factory.obj" \
- "$(INTDIR)\be_field.obj" \
- "$(INTDIR)\be_generator.obj" \
- "$(INTDIR)\be_helper.obj" \
- "$(INTDIR)\be_init.obj" \
- "$(INTDIR)\be_interface.obj" \
- "$(INTDIR)\be_interface_fwd.obj" \
- "$(INTDIR)\be_module.obj" \
- "$(INTDIR)\be_operation.obj" \
- "$(INTDIR)\be_predefined_type.obj" \
- "$(INTDIR)\be_produce.obj" \
- "$(INTDIR)\be_root.obj" \
- "$(INTDIR)\be_scope.obj" \
- "$(INTDIR)\be_sequence.obj" \
- "$(INTDIR)\be_state.obj" \
- "$(INTDIR)\be_state_argument.obj" \
- "$(INTDIR)\be_state_array.obj" \
- "$(INTDIR)\be_state_attribute.obj" \
- "$(INTDIR)\be_state_operation.obj" \
- "$(INTDIR)\be_state_sequence.obj" \
- "$(INTDIR)\be_state_structure.obj" \
- "$(INTDIR)\be_state_typedef.obj" \
- "$(INTDIR)\be_state_union.obj" \
- "$(INTDIR)\be_string.obj" \
- "$(INTDIR)\be_structure.obj" \
- "$(INTDIR)\be_sunsoft.obj" \
- "$(INTDIR)\be_type.obj" \
- "$(INTDIR)\be_typedef.obj" \
- "$(INTDIR)\be_union.obj" \
- "$(INTDIR)\be_union_branch.obj" \
- "$(INTDIR)\be_union_label.obj" \
- "$(INTDIR)\drv_args.obj" \
- "$(INTDIR)\drv_fork.obj" \
- "$(INTDIR)\drv_init.obj" \
- "$(INTDIR)\drv_link.obj" \
- "$(INTDIR)\drv_main.obj" \
- "$(INTDIR)\drv_preproc.obj" \
- "$(INTDIR)\drv_private.obj" \
- "$(INTDIR)\fe_declarator.obj" \
- "$(INTDIR)\fe_extern.obj" \
- "$(INTDIR)\fe_init.obj" \
- "$(INTDIR)\fe_interface_header.obj" \
- "$(INTDIR)\fe_private.obj" \
- "$(INTDIR)\lex.yy.obj" \
- "$(INTDIR)\narrow.obj" \
- "$(INTDIR)\utl_decllist.obj" \
- "$(INTDIR)\utl_error.obj" \
- "$(INTDIR)\utl_exceptlist.obj" \
- "$(INTDIR)\utl_exprlist.obj" \
- "$(INTDIR)\utl_global.obj" \
- "$(INTDIR)\utl_identifier.obj" \
- "$(INTDIR)\utl_idlist.obj" \
- "$(INTDIR)\utl_indenter.obj" \
- "$(INTDIR)\utl_labellist.obj" \
- "$(INTDIR)\utl_list.obj" \
- "$(INTDIR)\utl_namelist.obj" \
- "$(INTDIR)\utl_scope.obj" \
- "$(INTDIR)\utl_stack.obj" \
- "$(INTDIR)\utl_string.obj" \
- "$(INTDIR)\utl_strlist.obj" \
- "$(INTDIR)\y.tab.obj"
-
-"$(OUTDIR)\TAO_IDL.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Target_Dir ""
-OUTDIR=.
-INTDIR=.\Debug
-
-ALL : "$(OUTDIR)\TAO_IDL.exe"
-
-CLEAN :
- -@erase "$(INTDIR)\ast_argument.obj"
- -@erase "$(INTDIR)\ast_array.obj"
- -@erase "$(INTDIR)\ast_attribute.obj"
- -@erase "$(INTDIR)\ast_check.obj"
- -@erase "$(INTDIR)\ast_concrete_type.obj"
- -@erase "$(INTDIR)\ast_constant.obj"
- -@erase "$(INTDIR)\ast_decl.obj"
- -@erase "$(INTDIR)\ast_enum.obj"
- -@erase "$(INTDIR)\ast_enum_val.obj"
- -@erase "$(INTDIR)\ast_exception.obj"
- -@erase "$(INTDIR)\ast_expression.obj"
- -@erase "$(INTDIR)\ast_field.obj"
- -@erase "$(INTDIR)\ast_generator.obj"
- -@erase "$(INTDIR)\ast_interface.obj"
- -@erase "$(INTDIR)\ast_interface_fwd.obj"
- -@erase "$(INTDIR)\ast_module.obj"
- -@erase "$(INTDIR)\ast_operation.obj"
- -@erase "$(INTDIR)\ast_predefined_type.obj"
- -@erase "$(INTDIR)\ast_recursive.obj"
- -@erase "$(INTDIR)\ast_redef.obj"
- -@erase "$(INTDIR)\ast_root.obj"
- -@erase "$(INTDIR)\ast_sequence.obj"
- -@erase "$(INTDIR)\ast_string.obj"
- -@erase "$(INTDIR)\ast_structure.obj"
- -@erase "$(INTDIR)\ast_type.obj"
- -@erase "$(INTDIR)\ast_typedef.obj"
- -@erase "$(INTDIR)\ast_union.obj"
- -@erase "$(INTDIR)\ast_union_branch.obj"
- -@erase "$(INTDIR)\ast_union_label.obj"
- -@erase "$(INTDIR)\be_args.obj"
- -@erase "$(INTDIR)\be_argument.obj"
- -@erase "$(INTDIR)\be_array.obj"
- -@erase "$(INTDIR)\be_attribute.obj"
- -@erase "$(INTDIR)\be_codegen.obj"
- -@erase "$(INTDIR)\be_constant.obj"
- -@erase "$(INTDIR)\be_decl.obj"
- -@erase "$(INTDIR)\be_enum.obj"
- -@erase "$(INTDIR)\be_enum_val.obj"
- -@erase "$(INTDIR)\be_exception.obj"
- -@erase "$(INTDIR)\be_expression.obj"
- -@erase "$(INTDIR)\be_factory.obj"
- -@erase "$(INTDIR)\be_field.obj"
- -@erase "$(INTDIR)\be_generator.obj"
- -@erase "$(INTDIR)\be_helper.obj"
- -@erase "$(INTDIR)\be_init.obj"
- -@erase "$(INTDIR)\be_interface.obj"
- -@erase "$(INTDIR)\be_interface_fwd.obj"
- -@erase "$(INTDIR)\be_module.obj"
- -@erase "$(INTDIR)\be_operation.obj"
- -@erase "$(INTDIR)\be_predefined_type.obj"
- -@erase "$(INTDIR)\be_produce.obj"
- -@erase "$(INTDIR)\be_root.obj"
- -@erase "$(INTDIR)\be_scope.obj"
- -@erase "$(INTDIR)\be_sequence.obj"
- -@erase "$(INTDIR)\be_state.obj"
- -@erase "$(INTDIR)\be_state_argument.obj"
- -@erase "$(INTDIR)\be_state_array.obj"
- -@erase "$(INTDIR)\be_state_attribute.obj"
- -@erase "$(INTDIR)\be_state_operation.obj"
- -@erase "$(INTDIR)\be_state_sequence.obj"
- -@erase "$(INTDIR)\be_state_structure.obj"
- -@erase "$(INTDIR)\be_state_typedef.obj"
- -@erase "$(INTDIR)\be_state_union.obj"
- -@erase "$(INTDIR)\be_string.obj"
- -@erase "$(INTDIR)\be_structure.obj"
- -@erase "$(INTDIR)\be_sunsoft.obj"
- -@erase "$(INTDIR)\be_type.obj"
- -@erase "$(INTDIR)\be_typedef.obj"
- -@erase "$(INTDIR)\be_union.obj"
- -@erase "$(INTDIR)\be_union_branch.obj"
- -@erase "$(INTDIR)\be_union_label.obj"
- -@erase "$(INTDIR)\drv_args.obj"
- -@erase "$(INTDIR)\drv_fork.obj"
- -@erase "$(INTDIR)\drv_init.obj"
- -@erase "$(INTDIR)\drv_link.obj"
- -@erase "$(INTDIR)\drv_main.obj"
- -@erase "$(INTDIR)\drv_preproc.obj"
- -@erase "$(INTDIR)\drv_private.obj"
- -@erase "$(INTDIR)\fe_declarator.obj"
- -@erase "$(INTDIR)\fe_extern.obj"
- -@erase "$(INTDIR)\fe_init.obj"
- -@erase "$(INTDIR)\fe_interface_header.obj"
- -@erase "$(INTDIR)\fe_private.obj"
- -@erase "$(INTDIR)\lex.yy.obj"
- -@erase "$(INTDIR)\narrow.obj"
- -@erase "$(INTDIR)\utl_decllist.obj"
- -@erase "$(INTDIR)\utl_error.obj"
- -@erase "$(INTDIR)\utl_exceptlist.obj"
- -@erase "$(INTDIR)\utl_exprlist.obj"
- -@erase "$(INTDIR)\utl_global.obj"
- -@erase "$(INTDIR)\utl_identifier.obj"
- -@erase "$(INTDIR)\utl_idlist.obj"
- -@erase "$(INTDIR)\utl_indenter.obj"
- -@erase "$(INTDIR)\utl_labellist.obj"
- -@erase "$(INTDIR)\utl_list.obj"
- -@erase "$(INTDIR)\utl_namelist.obj"
- -@erase "$(INTDIR)\utl_scope.obj"
- -@erase "$(INTDIR)\utl_stack.obj"
- -@erase "$(INTDIR)\utl_string.obj"
- -@erase "$(INTDIR)\utl_strlist.obj"
- -@erase "$(INTDIR)\vc40.idb"
- -@erase "$(INTDIR)\vc40.pdb"
- -@erase "$(INTDIR)\y.tab.obj"
- -@erase "$(OUTDIR)\TAO_IDL.exe"
- -@erase "$(OUTDIR)\TAO_IDL.ilk"
- -@erase "$(OUTDIR)\TAO_IDL.pdb"
-
-"$(INTDIR)" :
- if not exist "$(INTDIR)/$(NULL)" mkdir "$(INTDIR)"
-
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I "..\.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D CPP_LOCATION=\"cl\" /YX /c
-CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I\
- "..\.." /D "_DEBUG" /D "_CONSOLE" /D "WIN32" /D IDL_CFE_VERSION=\"1.3.0\" /D\
- CPP_LOCATION=\"cl\" /Fp"$(INTDIR)/TAO_IDL.pch" /YX /Fo"$(INTDIR)/"\
- /Fd"$(INTDIR)/" /c
-CPP_OBJS=.\Debug/
-CPP_SBRS=.\.
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-BSC32_FLAGS=/nologo /o"$(OUTDIR)/TAO_IDL.bsc"
-BSC32_SBRS= \
-
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-# ADD LINK32 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
-LINK32_FLAGS=aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib\
- comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib\
- odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes\
- /pdb:"$(OUTDIR)/TAO_IDL.pdb" /debug /machine:I386 /out:"$(OUTDIR)/TAO_IDL.exe"
-LINK32_OBJS= \
- "$(INTDIR)\ast_argument.obj" \
- "$(INTDIR)\ast_array.obj" \
- "$(INTDIR)\ast_attribute.obj" \
- "$(INTDIR)\ast_check.obj" \
- "$(INTDIR)\ast_concrete_type.obj" \
- "$(INTDIR)\ast_constant.obj" \
- "$(INTDIR)\ast_decl.obj" \
- "$(INTDIR)\ast_enum.obj" \
- "$(INTDIR)\ast_enum_val.obj" \
- "$(INTDIR)\ast_exception.obj" \
- "$(INTDIR)\ast_expression.obj" \
- "$(INTDIR)\ast_field.obj" \
- "$(INTDIR)\ast_generator.obj" \
- "$(INTDIR)\ast_interface.obj" \
- "$(INTDIR)\ast_interface_fwd.obj" \
- "$(INTDIR)\ast_module.obj" \
- "$(INTDIR)\ast_operation.obj" \
- "$(INTDIR)\ast_predefined_type.obj" \
- "$(INTDIR)\ast_recursive.obj" \
- "$(INTDIR)\ast_redef.obj" \
- "$(INTDIR)\ast_root.obj" \
- "$(INTDIR)\ast_sequence.obj" \
- "$(INTDIR)\ast_string.obj" \
- "$(INTDIR)\ast_structure.obj" \
- "$(INTDIR)\ast_type.obj" \
- "$(INTDIR)\ast_typedef.obj" \
- "$(INTDIR)\ast_union.obj" \
- "$(INTDIR)\ast_union_branch.obj" \
- "$(INTDIR)\ast_union_label.obj" \
- "$(INTDIR)\be_args.obj" \
- "$(INTDIR)\be_argument.obj" \
- "$(INTDIR)\be_array.obj" \
- "$(INTDIR)\be_attribute.obj" \
- "$(INTDIR)\be_codegen.obj" \
- "$(INTDIR)\be_constant.obj" \
- "$(INTDIR)\be_decl.obj" \
- "$(INTDIR)\be_enum.obj" \
- "$(INTDIR)\be_enum_val.obj" \
- "$(INTDIR)\be_exception.obj" \
- "$(INTDIR)\be_expression.obj" \
- "$(INTDIR)\be_factory.obj" \
- "$(INTDIR)\be_field.obj" \
- "$(INTDIR)\be_generator.obj" \
- "$(INTDIR)\be_helper.obj" \
- "$(INTDIR)\be_init.obj" \
- "$(INTDIR)\be_interface.obj" \
- "$(INTDIR)\be_interface_fwd.obj" \
- "$(INTDIR)\be_module.obj" \
- "$(INTDIR)\be_operation.obj" \
- "$(INTDIR)\be_predefined_type.obj" \
- "$(INTDIR)\be_produce.obj" \
- "$(INTDIR)\be_root.obj" \
- "$(INTDIR)\be_scope.obj" \
- "$(INTDIR)\be_sequence.obj" \
- "$(INTDIR)\be_state.obj" \
- "$(INTDIR)\be_state_argument.obj" \
- "$(INTDIR)\be_state_array.obj" \
- "$(INTDIR)\be_state_attribute.obj" \
- "$(INTDIR)\be_state_operation.obj" \
- "$(INTDIR)\be_state_sequence.obj" \
- "$(INTDIR)\be_state_structure.obj" \
- "$(INTDIR)\be_state_typedef.obj" \
- "$(INTDIR)\be_state_union.obj" \
- "$(INTDIR)\be_string.obj" \
- "$(INTDIR)\be_structure.obj" \
- "$(INTDIR)\be_sunsoft.obj" \
- "$(INTDIR)\be_type.obj" \
- "$(INTDIR)\be_typedef.obj" \
- "$(INTDIR)\be_union.obj" \
- "$(INTDIR)\be_union_branch.obj" \
- "$(INTDIR)\be_union_label.obj" \
- "$(INTDIR)\drv_args.obj" \
- "$(INTDIR)\drv_fork.obj" \
- "$(INTDIR)\drv_init.obj" \
- "$(INTDIR)\drv_link.obj" \
- "$(INTDIR)\drv_main.obj" \
- "$(INTDIR)\drv_preproc.obj" \
- "$(INTDIR)\drv_private.obj" \
- "$(INTDIR)\fe_declarator.obj" \
- "$(INTDIR)\fe_extern.obj" \
- "$(INTDIR)\fe_init.obj" \
- "$(INTDIR)\fe_interface_header.obj" \
- "$(INTDIR)\fe_private.obj" \
- "$(INTDIR)\lex.yy.obj" \
- "$(INTDIR)\narrow.obj" \
- "$(INTDIR)\utl_decllist.obj" \
- "$(INTDIR)\utl_error.obj" \
- "$(INTDIR)\utl_exceptlist.obj" \
- "$(INTDIR)\utl_exprlist.obj" \
- "$(INTDIR)\utl_global.obj" \
- "$(INTDIR)\utl_identifier.obj" \
- "$(INTDIR)\utl_idlist.obj" \
- "$(INTDIR)\utl_indenter.obj" \
- "$(INTDIR)\utl_labellist.obj" \
- "$(INTDIR)\utl_list.obj" \
- "$(INTDIR)\utl_namelist.obj" \
- "$(INTDIR)\utl_scope.obj" \
- "$(INTDIR)\utl_stack.obj" \
- "$(INTDIR)\utl_string.obj" \
- "$(INTDIR)\utl_strlist.obj" \
- "$(INTDIR)\y.tab.obj"
-
-"$(OUTDIR)\TAO_IDL.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
- $(LINK32) @<<
- $(LINK32_FLAGS) $(LINK32_OBJS)
-<<
-
-!ENDIF
-
-.c{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_OBJS)}.obj:
- $(CPP) $(CPP_PROJ) $<
-
-.c{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cpp{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-.cxx{$(CPP_SBRS)}.sbr:
- $(CPP) $(CPP_PROJ) $<
-
-################################################################################
-# Begin Target
-
-# Name "TAO_IDL - Win32 Release"
-# Name "TAO_IDL - Win32 Debug"
-
-!IF "$(CFG)" == "TAO_IDL - Win32 Release"
-
-!ELSEIF "$(CFG)" == "TAO_IDL - Win32 Debug"
-
-!ENDIF
-
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_decllist.cpp
-DEP_CPP_UTL_D=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_decllist.obj" : $(SOURCE) $(DEP_CPP_UTL_D) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_error.cpp
-DEP_CPP_UTL_E=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_error.obj" : $(SOURCE) $(DEP_CPP_UTL_E) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_exceptlist.cpp
-DEP_CPP_UTL_EX=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_exceptlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EX) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_exprlist.cpp
-DEP_CPP_UTL_EXP=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_exprlist.obj" : $(SOURCE) $(DEP_CPP_UTL_EXP) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_global.cpp
-DEP_CPP_UTL_G=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_global.obj" : $(SOURCE) $(DEP_CPP_UTL_G) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_identifier.cpp
-DEP_CPP_UTL_I=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_identifier.obj" : $(SOURCE) $(DEP_CPP_UTL_I) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_idlist.cpp
-DEP_CPP_UTL_ID=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_idlist.obj" : $(SOURCE) $(DEP_CPP_UTL_ID) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_indenter.cpp
-DEP_CPP_UTL_IN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_indenter.obj" : $(SOURCE) $(DEP_CPP_UTL_IN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_labellist.cpp
-DEP_CPP_UTL_L=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_labellist.obj" : $(SOURCE) $(DEP_CPP_UTL_L) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_list.cpp
-DEP_CPP_UTL_LI=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_list.obj" : $(SOURCE) $(DEP_CPP_UTL_LI) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_namelist.cpp
-DEP_CPP_UTL_N=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_namelist.obj" : $(SOURCE) $(DEP_CPP_UTL_N) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_scope.cpp
-DEP_CPP_UTL_S=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_scope.obj" : $(SOURCE) $(DEP_CPP_UTL_S) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_stack.cpp
-DEP_CPP_UTL_ST=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_stack.obj" : $(SOURCE) $(DEP_CPP_UTL_ST) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_string.cpp
-DEP_CPP_UTL_STR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_string.obj" : $(SOURCE) $(DEP_CPP_UTL_STR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\util\utl_strlist.cpp
-DEP_CPP_UTL_STRL=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\utl_strlist.obj" : $(SOURCE) $(DEP_CPP_UTL_STRL) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\narrow\narrow.cpp
-DEP_CPP_NARRO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\narrow.obj" : $(SOURCE) $(DEP_CPP_NARRO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\fe_declarator.cpp
-DEP_CPP_FE_DE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\fe_declarator.obj" : $(SOURCE) $(DEP_CPP_FE_DE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\fe_extern.cpp
-DEP_CPP_FE_EX=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\fe_extern.obj" : $(SOURCE) $(DEP_CPP_FE_EX) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\fe_init.cpp
-DEP_CPP_FE_IN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\fe_init.obj" : $(SOURCE) $(DEP_CPP_FE_IN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\fe_interface_header.cpp
-DEP_CPP_FE_INT=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\fe_interface_header.obj" : $(SOURCE) $(DEP_CPP_FE_INT) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\fe_private.cpp
-DEP_CPP_FE_PR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\fe_private.obj" : $(SOURCE) $(DEP_CPP_FE_PR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\lex.yy.cpp
-DEP_CPP_LEX_Y=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\fe\y.tab.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\lex.yy.obj" : $(SOURCE) $(DEP_CPP_LEX_Y) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\fe\y.tab.cpp
-DEP_CPP_Y_TAB=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\fe_declarator.h"\
- ".\include\fe_interface_header.h"\
- ".\include\fe_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\y.tab.obj" : $(SOURCE) $(DEP_CPP_Y_TAB) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_args.cpp
-DEP_CPP_DRV_A=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_link.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_args.obj" : $(SOURCE) $(DEP_CPP_DRV_A) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_fork.cpp
-DEP_CPP_DRV_F=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Process.h"\
- "..\..\ace/Process.i"\
- "..\..\ace/Process_Manager.h"\
- "..\..\ace/Process_Manager.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_fork.obj" : $(SOURCE) $(DEP_CPP_DRV_F) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_init.cpp
-DEP_CPP_DRV_I=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_link.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_init.obj" : $(SOURCE) $(DEP_CPP_DRV_I) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_link.cpp
-DEP_CPP_DRV_L=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_link.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_link.obj" : $(SOURCE) $(DEP_CPP_DRV_L) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_main.cpp
-DEP_CPP_DRV_M=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_link.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_main.obj" : $(SOURCE) $(DEP_CPP_DRV_M) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_preproc.cpp
-DEP_CPP_DRV_P=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Process.h"\
- "..\..\ace/Process.i"\
- "..\..\ace/Process_Manager.h"\
- "..\..\ace/Process_Manager.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_link.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_preproc.obj" : $(SOURCE) $(DEP_CPP_DRV_P) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\driver\drv_private.cpp
-DEP_CPP_DRV_PR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\drv_private.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\drv_private.obj" : $(SOURCE) $(DEP_CPP_DRV_PR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_args.cpp
-DEP_CPP_BE_AR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_args.obj" : $(SOURCE) $(DEP_CPP_BE_AR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_argument.cpp
-DEP_CPP_BE_ARG=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_argument.obj" : $(SOURCE) $(DEP_CPP_BE_ARG) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_array.cpp
-DEP_CPP_BE_ARR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_array.obj" : $(SOURCE) $(DEP_CPP_BE_ARR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_attribute.cpp
-DEP_CPP_BE_AT=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_AT) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_codegen.cpp
-DEP_CPP_BE_CO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_codegen.obj" : $(SOURCE) $(DEP_CPP_BE_CO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_constant.cpp
-DEP_CPP_BE_CON=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_constant.obj" : $(SOURCE) $(DEP_CPP_BE_CON) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_decl.cpp
-DEP_CPP_BE_DE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_decl.obj" : $(SOURCE) $(DEP_CPP_BE_DE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_enum.cpp
-DEP_CPP_BE_EN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_enum.obj" : $(SOURCE) $(DEP_CPP_BE_EN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_enum_val.cpp
-DEP_CPP_BE_ENU=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_enum_val.obj" : $(SOURCE) $(DEP_CPP_BE_ENU) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_exception.cpp
-DEP_CPP_BE_EX=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_exception.obj" : $(SOURCE) $(DEP_CPP_BE_EX) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_expression.cpp
-DEP_CPP_BE_EXP=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_expression.obj" : $(SOURCE) $(DEP_CPP_BE_EXP) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_factory.cpp
-DEP_CPP_BE_FA=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\be_include\be_sunsoft.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_factory.obj" : $(SOURCE) $(DEP_CPP_BE_FA) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_field.cpp
-DEP_CPP_BE_FI=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_field.obj" : $(SOURCE) $(DEP_CPP_BE_FI) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_generator.cpp
-DEP_CPP_BE_GE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_generator.obj" : $(SOURCE) $(DEP_CPP_BE_GE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_helper.cpp
-DEP_CPP_BE_HE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_helper.obj" : $(SOURCE) $(DEP_CPP_BE_HE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_init.cpp
-DEP_CPP_BE_IN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_init.obj" : $(SOURCE) $(DEP_CPP_BE_IN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_interface.cpp
-DEP_CPP_BE_INT=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_interface.obj" : $(SOURCE) $(DEP_CPP_BE_INT) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_interface_fwd.cpp
-DEP_CPP_BE_INTE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_BE_INTE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_module.cpp
-DEP_CPP_BE_MO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_module.obj" : $(SOURCE) $(DEP_CPP_BE_MO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_operation.cpp
-DEP_CPP_BE_OP=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_operation.obj" : $(SOURCE) $(DEP_CPP_BE_OP) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_predefined_type.cpp
-DEP_CPP_BE_PR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_predefined_type.obj" : $(SOURCE) $(DEP_CPP_BE_PR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_produce.cpp
-DEP_CPP_BE_PRO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_produce.obj" : $(SOURCE) $(DEP_CPP_BE_PRO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_root.cpp
-DEP_CPP_BE_RO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_root.obj" : $(SOURCE) $(DEP_CPP_BE_RO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_scope.cpp
-DEP_CPP_BE_SC=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_scope.obj" : $(SOURCE) $(DEP_CPP_BE_SC) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_sequence.cpp
-DEP_CPP_BE_SE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_SE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state.cpp
-DEP_CPP_BE_ST=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state.obj" : $(SOURCE) $(DEP_CPP_BE_ST) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_string.cpp
-DEP_CPP_BE_STR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_string.obj" : $(SOURCE) $(DEP_CPP_BE_STR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_structure.cpp
-DEP_CPP_BE_STRU=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STRU) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_sunsoft.cpp
-DEP_CPP_BE_SU=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\be_include\be_sunsoft.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_sunsoft.obj" : $(SOURCE) $(DEP_CPP_BE_SU) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_type.cpp
-DEP_CPP_BE_TY=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_type.obj" : $(SOURCE) $(DEP_CPP_BE_TY) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_typedef.cpp
-DEP_CPP_BE_TYP=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_TYP) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_union.cpp
-DEP_CPP_BE_UN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_union.obj" : $(SOURCE) $(DEP_CPP_BE_UN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_union_branch.cpp
-DEP_CPP_BE_UNI=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_union_branch.obj" : $(SOURCE) $(DEP_CPP_BE_UNI) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_union_label.cpp
-DEP_CPP_BE_UNIO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_union_label.obj" : $(SOURCE) $(DEP_CPP_BE_UNIO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_argument.cpp
-DEP_CPP_AST_A=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_argument.obj" : $(SOURCE) $(DEP_CPP_AST_A) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_array.cpp
-DEP_CPP_AST_AR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_array.obj" : $(SOURCE) $(DEP_CPP_AST_AR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_attribute.cpp
-DEP_CPP_AST_AT=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_attribute.obj" : $(SOURCE) $(DEP_CPP_AST_AT) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_check.cpp
-DEP_CPP_AST_C=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_check.obj" : $(SOURCE) $(DEP_CPP_AST_C) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_concrete_type.cpp
-DEP_CPP_AST_CO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_concrete_type.obj" : $(SOURCE) $(DEP_CPP_AST_CO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_constant.cpp
-DEP_CPP_AST_CON=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_constant.obj" : $(SOURCE) $(DEP_CPP_AST_CON) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_decl.cpp
-DEP_CPP_AST_D=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_decl.obj" : $(SOURCE) $(DEP_CPP_AST_D) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_enum.cpp
-DEP_CPP_AST_E=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_enum.obj" : $(SOURCE) $(DEP_CPP_AST_E) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_enum_val.cpp
-DEP_CPP_AST_EN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_enum_val.obj" : $(SOURCE) $(DEP_CPP_AST_EN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_exception.cpp
-DEP_CPP_AST_EX=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_exception.obj" : $(SOURCE) $(DEP_CPP_AST_EX) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_expression.cpp
-DEP_CPP_AST_EXP=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_expression.obj" : $(SOURCE) $(DEP_CPP_AST_EXP) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_field.cpp
-DEP_CPP_AST_F=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_field.obj" : $(SOURCE) $(DEP_CPP_AST_F) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_generator.cpp
-DEP_CPP_AST_G=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_generator.obj" : $(SOURCE) $(DEP_CPP_AST_G) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_interface.cpp
-DEP_CPP_AST_I=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_interface.obj" : $(SOURCE) $(DEP_CPP_AST_I) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_interface_fwd.cpp
-DEP_CPP_AST_IN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_interface_fwd.obj" : $(SOURCE) $(DEP_CPP_AST_IN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_module.cpp
-DEP_CPP_AST_M=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_module.obj" : $(SOURCE) $(DEP_CPP_AST_M) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_operation.cpp
-DEP_CPP_AST_O=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_operation.obj" : $(SOURCE) $(DEP_CPP_AST_O) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_predefined_type.cpp
-DEP_CPP_AST_P=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_predefined_type.obj" : $(SOURCE) $(DEP_CPP_AST_P) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_recursive.cpp
-DEP_CPP_AST_R=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_recursive.obj" : $(SOURCE) $(DEP_CPP_AST_R) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_redef.cpp
-DEP_CPP_AST_RE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_redef.obj" : $(SOURCE) $(DEP_CPP_AST_RE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_root.cpp
-DEP_CPP_AST_RO=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_root.obj" : $(SOURCE) $(DEP_CPP_AST_RO) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_sequence.cpp
-DEP_CPP_AST_S=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_sequence.obj" : $(SOURCE) $(DEP_CPP_AST_S) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_string.cpp
-DEP_CPP_AST_ST=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_string.obj" : $(SOURCE) $(DEP_CPP_AST_ST) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_structure.cpp
-DEP_CPP_AST_STR=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_structure.obj" : $(SOURCE) $(DEP_CPP_AST_STR) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_type.cpp
-DEP_CPP_AST_T=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_type.obj" : $(SOURCE) $(DEP_CPP_AST_T) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_typedef.cpp
-DEP_CPP_AST_TY=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_typedef.obj" : $(SOURCE) $(DEP_CPP_AST_TY) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_union.cpp
-DEP_CPP_AST_U=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_union.obj" : $(SOURCE) $(DEP_CPP_AST_U) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_union_branch.cpp
-DEP_CPP_AST_UN=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_union_branch.obj" : $(SOURCE) $(DEP_CPP_AST_UN) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\ast\ast_union_label.cpp
-DEP_CPP_AST_UNI=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\ast_union_label.obj" : $(SOURCE) $(DEP_CPP_AST_UNI) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_union.cpp
-DEP_CPP_BE_STA=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_union.obj" : $(SOURCE) $(DEP_CPP_BE_STA) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_array.cpp
-DEP_CPP_BE_STAT=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_array.obj" : $(SOURCE) $(DEP_CPP_BE_STAT) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_attribute.cpp
-DEP_CPP_BE_STATE=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_attribute.obj" : $(SOURCE) $(DEP_CPP_BE_STATE) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_operation.cpp
-DEP_CPP_BE_STATE_=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_operation.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_sequence.cpp
-DEP_CPP_BE_STATE_S=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_sequence.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_S) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_structure.cpp
-DEP_CPP_BE_STATE_ST=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_structure.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_ST)\
- "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_typedef.cpp
-DEP_CPP_BE_STATE_T=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_typedef.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_T) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-################################################################################
-# Begin Source File
-
-SOURCE=.\be\be_state_argument.cpp
-DEP_CPP_BE_STATE_A=\
- "..\..\ace/ACE.h"\
- "..\..\ace/ACE.i"\
- "..\..\ace/Atomic_Op.i"\
- "..\..\ace/Auto_Ptr.cpp"\
- "..\..\ace/Auto_Ptr.h"\
- "..\..\ace/Auto_Ptr.i"\
- "..\..\ace/config-win32-common.h"\
- "..\..\ace/config-win32.h"\
- "..\..\ace/config.h"\
- "..\..\ace/Event_Handler.h"\
- "..\..\ace/Event_Handler.i"\
- "..\..\ace/Log_Msg.h"\
- "..\..\ace/Log_Priority.h"\
- "..\..\ace/Log_Record.h"\
- "..\..\ace/Log_Record.i"\
- "..\..\ace/Managed_Object.cpp"\
- "..\..\ace/Managed_Object.h"\
- "..\..\ace/Managed_Object.i"\
- "..\..\ace/Object_Manager.h"\
- "..\..\ace/Object_Manager.i"\
- "..\..\ace/OS.h"\
- "..\..\ace/OS.i"\
- "..\..\ace/Singleton.cpp"\
- "..\..\ace/Singleton.h"\
- "..\..\ace/Singleton.i"\
- "..\..\ace/SString.h"\
- "..\..\ace/SString.i"\
- "..\..\ace/stdcpp.h"\
- "..\..\ace/SV_Semaphore_Complex.h"\
- "..\..\ace/SV_Semaphore_Complex.i"\
- "..\..\ace/SV_Semaphore_Simple.h"\
- "..\..\ace/SV_Semaphore_Simple.i"\
- "..\..\ace/Synch.h"\
- "..\..\ace/Synch.i"\
- "..\..\ace/Synch_T.cpp"\
- "..\..\ace/Synch_T.h"\
- "..\..\ace/Synch_T.i"\
- "..\..\ace/Thread.h"\
- "..\..\ace/Thread.i"\
- "..\..\ace/Trace.h"\
- "..\..\ace/Version.h"\
- "..\..\ace/ws2tcpip.h"\
- ".\be_include\be.h"\
- ".\include\idl.h"\
- ".\include\idl_extern.h"\
- {$(INCLUDE)}"\.\be_include\be_argument.h"\
- {$(INCLUDE)}"\.\be_include\be_array.h"\
- {$(INCLUDE)}"\.\be_include\be_attribute.h"\
- {$(INCLUDE)}"\.\be_include\be_codegen.h"\
- {$(INCLUDE)}"\.\be_include\be_constant.h"\
- {$(INCLUDE)}"\.\be_include\be_decl.h"\
- {$(INCLUDE)}"\.\be_include\be_enum.h"\
- {$(INCLUDE)}"\.\be_include\be_enum_val.h"\
- {$(INCLUDE)}"\.\be_include\be_exception.h"\
- {$(INCLUDE)}"\.\be_include\be_expression.h"\
- {$(INCLUDE)}"\.\be_include\be_factory.h"\
- {$(INCLUDE)}"\.\be_include\be_field.h"\
- {$(INCLUDE)}"\.\be_include\be_generator.h"\
- {$(INCLUDE)}"\.\be_include\be_helper.h"\
- {$(INCLUDE)}"\.\be_include\be_interface.h"\
- {$(INCLUDE)}"\.\be_include\be_interface_fwd.h"\
- {$(INCLUDE)}"\.\be_include\be_module.h"\
- {$(INCLUDE)}"\.\be_include\be_operation.h"\
- {$(INCLUDE)}"\.\be_include\be_predefined_type.h"\
- {$(INCLUDE)}"\.\be_include\be_root.h"\
- {$(INCLUDE)}"\.\be_include\be_scope.h"\
- {$(INCLUDE)}"\.\be_include\be_sequence.h"\
- {$(INCLUDE)}"\.\be_include\be_state.h"\
- {$(INCLUDE)}"\.\be_include\be_string.h"\
- {$(INCLUDE)}"\.\be_include\be_structure.h"\
- {$(INCLUDE)}"\.\be_include\be_type.h"\
- {$(INCLUDE)}"\.\be_include\be_typedef.h"\
- {$(INCLUDE)}"\.\be_include\be_union.h"\
- {$(INCLUDE)}"\.\be_include\be_union_branch.h"\
- {$(INCLUDE)}"\.\be_include\be_union_label.h"\
- {$(INCLUDE)}"\.\include\ast.h"\
- {$(INCLUDE)}"\.\include\ast_argument.h"\
- {$(INCLUDE)}"\.\include\ast_array.h"\
- {$(INCLUDE)}"\.\include\ast_attribute.h"\
- {$(INCLUDE)}"\.\include\ast_concrete_type.h"\
- {$(INCLUDE)}"\.\include\ast_constant.h"\
- {$(INCLUDE)}"\.\include\ast_decl.h"\
- {$(INCLUDE)}"\.\include\ast_enum.h"\
- {$(INCLUDE)}"\.\include\ast_enum_val.h"\
- {$(INCLUDE)}"\.\include\ast_exception.h"\
- {$(INCLUDE)}"\.\include\ast_expression.h"\
- {$(INCLUDE)}"\.\include\ast_extern.h"\
- {$(INCLUDE)}"\.\include\ast_field.h"\
- {$(INCLUDE)}"\.\include\ast_generator.h"\
- {$(INCLUDE)}"\.\include\ast_interface.h"\
- {$(INCLUDE)}"\.\include\ast_interface_fwd.h"\
- {$(INCLUDE)}"\.\include\ast_module.h"\
- {$(INCLUDE)}"\.\include\ast_operation.h"\
- {$(INCLUDE)}"\.\include\ast_predefined_type.h"\
- {$(INCLUDE)}"\.\include\ast_root.h"\
- {$(INCLUDE)}"\.\include\ast_sequence.h"\
- {$(INCLUDE)}"\.\include\ast_string.h"\
- {$(INCLUDE)}"\.\include\ast_structure.h"\
- {$(INCLUDE)}"\.\include\ast_type.h"\
- {$(INCLUDE)}"\.\include\ast_typedef.h"\
- {$(INCLUDE)}"\.\include\ast_union.h"\
- {$(INCLUDE)}"\.\include\ast_union_branch.h"\
- {$(INCLUDE)}"\.\include\ast_union_label.h"\
- {$(INCLUDE)}"\.\include\be_extern.h"\
- {$(INCLUDE)}"\.\include\drv_extern.h"\
- {$(INCLUDE)}"\.\include\fe_extern.h"\
- {$(INCLUDE)}"\.\include\global_extern.h"\
- {$(INCLUDE)}"\.\include\idl_bool.h"\
- {$(INCLUDE)}"\.\include\idl_defines.h"\
- {$(INCLUDE)}"\.\include\idl_fwd.h"\
- {$(INCLUDE)}"\.\include\idl_global.h"\
- {$(INCLUDE)}"\.\include\idl_narrow.h"\
- {$(INCLUDE)}"\.\include\intlmacros.h"\
- {$(INCLUDE)}"\.\include\nr_extern.h"\
- {$(INCLUDE)}"\.\include\util.h"\
- {$(INCLUDE)}"\.\include\utl_decllist.h"\
- {$(INCLUDE)}"\.\include\utl_error.h"\
- {$(INCLUDE)}"\.\include\utl_exceptlist.h"\
- {$(INCLUDE)}"\.\include\utl_exprlist.h"\
- {$(INCLUDE)}"\.\include\utl_identifier.h"\
- {$(INCLUDE)}"\.\include\utl_idlist.h"\
- {$(INCLUDE)}"\.\include\utl_indenter.h"\
- {$(INCLUDE)}"\.\include\utl_labellist.h"\
- {$(INCLUDE)}"\.\include\utl_list.h"\
- {$(INCLUDE)}"\.\include\utl_namelist.h"\
- {$(INCLUDE)}"\.\include\utl_scope.h"\
- {$(INCLUDE)}"\.\include\utl_scoped_name.h"\
- {$(INCLUDE)}"\.\include\utl_stack.h"\
- {$(INCLUDE)}"\.\include\utl_string.h"\
- {$(INCLUDE)}"\.\include\utl_strlist.h"\
- {$(INCLUDE)}"\sys\types.h"\
-
-
-"$(INTDIR)\be_state_argument.obj" : $(SOURCE) $(DEP_CPP_BE_STATE_A) "$(INTDIR)"
- $(CPP) $(CPP_PROJ) $(SOURCE)
-
-
-# End Source File
-# End Target
-# End Project
-################################################################################
diff --git a/TAO/TAO_IDL/TAO_IDL.mdp b/TAO/TAO_IDL/TAO_IDL.mdp Binary files differdeleted file mode 100644 index c8ec987c1b1..00000000000 --- a/TAO/TAO_IDL/TAO_IDL.mdp +++ /dev/null diff --git a/TAO/TAO_IDL/ast/Makefile b/TAO/TAO_IDL/ast/Makefile deleted file mode 100644 index 161e5368ac1..00000000000 --- a/TAO/TAO_IDL/ast/Makefile +++ /dev/null @@ -1,868 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libast -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libast -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -AST_FILES = \ - ast_array \ - ast_argument \ - ast_attribute \ - ast_check \ - ast_concrete_type \ - ast_constant \ - ast_decl \ - ast_enum \ - ast_enum_val \ - ast_exception \ - ast_expression \ - ast_field \ - ast_interface \ - ast_interface_fwd \ - ast_module \ - ast_operation \ - ast_predefined_type \ - ast_root \ - ast_sequence \ - ast_string \ - ast_structure \ - ast_type \ - ast_typedef \ - ast_union \ - ast_union_branch \ - ast_union_label \ - ast_generator \ - ast_redef \ - ast_recursive - -FILES = $(AST_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/ast_array.o .shobj/ast_array.so: ast_array.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_argument.o .shobj/ast_argument.so: ast_argument.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_attribute.o .shobj/ast_attribute.so: ast_attribute.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_check.o .shobj/ast_check.so: ast_check.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_concrete_type.o .shobj/ast_concrete_type.so: ast_concrete_type.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_constant.o .shobj/ast_constant.so: ast_constant.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_decl.o .shobj/ast_decl.so: ast_decl.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_enum.o .shobj/ast_enum.so: ast_enum.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_enum_val.o .shobj/ast_enum_val.so: ast_enum_val.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_exception.o .shobj/ast_exception.so: ast_exception.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_expression.o .shobj/ast_expression.so: ast_expression.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_field.o .shobj/ast_field.so: ast_field.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_interface.o .shobj/ast_interface.so: ast_interface.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_interface_fwd.o .shobj/ast_interface_fwd.so: ast_interface_fwd.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_module.o .shobj/ast_module.so: ast_module.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_operation.o .shobj/ast_operation.so: ast_operation.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_predefined_type.o .shobj/ast_predefined_type.so: ast_predefined_type.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_root.o .shobj/ast_root.so: ast_root.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_sequence.o .shobj/ast_sequence.so: ast_sequence.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_string.o .shobj/ast_string.so: ast_string.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_structure.o .shobj/ast_structure.so: ast_structure.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_type.o .shobj/ast_type.so: ast_type.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_typedef.o .shobj/ast_typedef.so: ast_typedef.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_union.o .shobj/ast_union.so: ast_union.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_union_branch.o .shobj/ast_union_branch.so: ast_union_branch.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_union_label.o .shobj/ast_union_label.so: ast_union_label.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_generator.o .shobj/ast_generator.so: ast_generator.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_redef.o .shobj/ast_redef.so: ast_redef.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/ast_recursive.o .shobj/ast_recursive.so: ast_recursive.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/ast/ast_argument.cpp b/TAO/TAO_IDL/ast/ast_argument.cpp deleted file mode 100644 index 3e1b2e34cd0..00000000000 --- a/TAO/TAO_IDL/ast/ast_argument.cpp +++ /dev/null @@ -1,152 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_argument.cc - Implementation of class AST_Argument.cc - * - * AST_Argument nodes denote arguments to an operation. They - * are AST_Fields with directions. Thus, they have a name - * (an UTL_ScopedName) and a type (a subclass of AST_Type). - * Additionally they have a direction field which takes values - * from the enum AST_Argument::Direction. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Static functions - */ - -/* - * Convert an enum Direction value to a char * - */ -static char * -direction_to_string(AST_Argument::Direction d) -{ - switch (d) { - case AST_Argument::dir_IN: - return "in"; - case AST_Argument::dir_OUT: - return "out"; - case AST_Argument::dir_INOUT: - return "inout"; - } - return NULL; -} - -/* - * Constructor(s) and destructor - */ - -AST_Argument::AST_Argument() - : pd_direction(dir_IN) -{ -} - -AST_Argument::AST_Argument(Direction d, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(AST_Decl::NT_argument, ft, n, p), - AST_Decl(AST_Decl::NT_argument, n, p), - pd_direction(d) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Argument node to the ostream o - */ -void -AST_Argument::dump(ostream &o) -{ - o << direction_to_string(pd_direction) << " "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -AST_Argument::Direction -AST_Argument::direction() -{ - return pd_direction; -} - -/* - * Narrowing operations - */ -IMPL_NARROW_METHODS1(AST_Argument, AST_Field) -IMPL_NARROW_FROM_DECL(AST_Argument) diff --git a/TAO/TAO_IDL/ast/ast_array.cpp b/TAO/TAO_IDL/ast/ast_array.cpp deleted file mode 100644 index 9464f1f4a2d..00000000000 --- a/TAO/TAO_IDL/ast/ast_array.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_array.cc - Implementation of class AST_Array - * - * AST_Array nodes denote array type and field modifiers. - * AST_Array nodes have a list of dimensions (a UTL_ExprList) - * a count of the number of dimensions and a base type (a - * subtype of AST_ConcreteType. This means that we cannot have - * arrays of AST_Interfaces??? - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Array::AST_Array() - : pd_n_dims(0), - pd_dims(NULL), - pd_base_type(NULL) -{ -} - -AST_Array::AST_Array(UTL_ScopedName *n, unsigned long nd, UTL_ExprList *ds) - : pd_n_dims(nd), pd_base_type(NULL), - AST_Decl(AST_Decl::NT_array, n, NULL) -{ - pd_dims = compute_dims(ds, nd); -} - -/* - * Private operations - */ - -/* - * Compute how many dimensions there are and collect their expressions - * into an array - */ -AST_Expression ** -AST_Array::compute_dims(UTL_ExprList *ds, unsigned long nds) -{ - AST_Expression **result; - UTL_ExprlistActiveIterator *l; - unsigned long i; - - if (ds == NULL) - return NULL; - - result = new AST_Expression *[nds]; - l = new UTL_ExprlistActiveIterator(ds); - - for (i = 0; !(l->is_done()) && i < nds; l->next(), i++) - result[i] = l->item(); - delete l; - return result; -} - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Array node to the ostream o - */ -void -AST_Array::dump(ostream &o) -{ - unsigned long i; - - pd_base_type->dump(o); - o << " "; - local_name()->dump(o); - for (i = 0; i < pd_n_dims; i++) { - o << "["; - pd_dims[i]->dump(o); - o << "]"; - } -} - -/* - * Data accessors - */ -unsigned long -AST_Array::n_dims() -{ - return pd_n_dims; -} - -AST_Expression ** -AST_Array::dims() -{ - return pd_dims; -} - -AST_Type * -AST_Array::base_type() -{ - return pd_base_type; -} - -void -AST_Array::set_base_type(AST_Type *nbt) -{ - pd_base_type = nbt; -} - -void -AST_Array::set_dims(AST_Expression **ds, unsigned long nds) -{ - pd_dims = ds; - pd_n_dims = nds; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Array, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_Array) diff --git a/TAO/TAO_IDL/ast/ast_attribute.cpp b/TAO/TAO_IDL/ast/ast_attribute.cpp deleted file mode 100644 index 57019823810..00000000000 --- a/TAO/TAO_IDL/ast/ast_attribute.cpp +++ /dev/null @@ -1,132 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_attribute.cc - Implementation of class AST_Attribute.cc - * - * AST_Attribute nodes denote IDL attribute declarations. - * AST_Attribute nodes are AST_Fields with a readonly indication. - * Hence they have a name (an UTL_ScopedName), a type (a subtype - * of AST_Type) and a boolean indicating whether the attribute is - * readonly. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Attribute::AST_Attribute() - : pd_readonly(I_TRUE) -{ -} - -AST_Attribute::AST_Attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(AST_Decl::NT_attr, ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p), - pd_readonly(ro) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Attribute to the ostream o - */ -void -AST_Attribute::dump(ostream &o) -{ - o << (pd_readonly == I_TRUE ? "readonly" : "") << " attribute "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -idl_bool -AST_Attribute::readonly() -{ - return pd_readonly; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Attribute, AST_Field) -IMPL_NARROW_FROM_DECL(AST_Attribute) diff --git a/TAO/TAO_IDL/ast/ast_check.cpp b/TAO/TAO_IDL/ast/ast_check.cpp deleted file mode 100644 index a8e3677cceb..00000000000 --- a/TAO/TAO_IDL/ast/ast_check.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_check.cc - Check AST nodes representing fwd declared interfaces - * after parse of AST is completed. - * - * The check ensures that for every forward declared interface we also - * saw a full definition of that interface. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Static storage for remembering nodes - */ -static AST_InterfaceFwd **ast_fwds = NULL; -static long ast_n_fwds_used = 0; -static long ast_n_fwds_alloc = 0; - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Store a node representing a forward declared interface - */ -void -AST_record_fwd_interface(AST_InterfaceFwd *n) -{ - AST_InterfaceFwd **o_ast_fwds; - long o_ast_n_fwds_alloc; - long i; - - /* - * Make sure there's space to store one more - */ - if (ast_n_fwds_used == ast_n_fwds_alloc) { - if (ast_n_fwds_alloc == 0) { - ast_n_fwds_alloc = INCREMENT; - ast_fwds = new AST_InterfaceFwd *[ast_n_fwds_alloc]; - } else { - o_ast_fwds = ast_fwds; - o_ast_n_fwds_alloc = ast_n_fwds_alloc; - - ast_n_fwds_alloc += INCREMENT; - ast_fwds = new AST_InterfaceFwd *[ast_n_fwds_alloc]; - - for (i = 0; i < o_ast_n_fwds_alloc; i++) - ast_fwds[i] = o_ast_fwds[i]; - - delete o_ast_fwds; - } - } - /* - * Insert new node - */ - ast_fwds[ast_n_fwds_used++] = n; -} - -/* - * Check that all forward declared interfaces were also defined - */ -void -AST_check_fwd_interface() -{ - long i; - AST_InterfaceFwd *d; - AST_Interface *itf; - - for (i = 0; i < ast_n_fwds_used; i++) { - d = ast_fwds[i]; - itf = d->full_definition(); - if (!(itf->is_defined())) - idl_global->err()->fwd_decl_not_defined(itf); - } -} diff --git a/TAO/TAO_IDL/ast/ast_concrete_type.cpp b/TAO/TAO_IDL/ast/ast_concrete_type.cpp deleted file mode 100644 index 44f010e19df..00000000000 --- a/TAO/TAO_IDL/ast/ast_concrete_type.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_concrete_type.cc - Implementation of class AST_ConcreteType - * - * AST_ConcreteType nodes denote all non-interface types of IDL. - * They are AST_Type nodes. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_ConcreteType::AST_ConcreteType() -{ -} - -AST_ConcreteType::AST_ConcreteType(AST_Decl::NodeType nt, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_ConcreteType, AST_Type) -IMPL_NARROW_FROM_DECL(AST_ConcreteType) diff --git a/TAO/TAO_IDL/ast/ast_constant.cpp b/TAO/TAO_IDL/ast/ast_constant.cpp deleted file mode 100644 index d17bd242159..00000000000 --- a/TAO/TAO_IDL/ast/ast_constant.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_constant.cc - Implementation of class AST_Constant - * - * AST_Constant nodes denote IDL constant declarations. - * AST_Constants have a value (an AST_Expression) and a value type - * (a value from the enum AST_Expression::ExprType). - * AST_Constant has two constructors, one for use in creating constants - * and the other for use in creating enumerators (see the class - * AST_EnumVal) - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Static functions - */ - -/* - * Convert a value from the enum AST_Expression::ExprType to a char * - */ -static char * -exprtype_to_string(AST_Expression::ExprType et) -{ - switch (et) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_wstring: - case AST_Expression::EV_wchar: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longlong: - return NULL; - } - return NULL; -} - -/* - * Constructor(s) and destructor - */ - -/* - * Default constructor - */ -AST_Constant::AST_Constant() - : pd_constant_value(NULL), pd_et(AST_Expression::EV_none) -{ -} - -/* - * Used in constructing AST_EnumVal nodes - */ -AST_Constant::AST_Constant(AST_Expression::ExprType t, - AST_Decl::NodeType nt, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p), - pd_constant_value(idl_global->gen()->create_expr(v, t)), - pd_et(t) -{ -} - -/* - * Used when constructing AST_Constant nodes - */ -AST_Constant::AST_Constant(AST_Expression::ExprType t, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_const, n, p), - pd_constant_value(idl_global->gen()->create_expr(v, t)), - pd_et(t) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Constant node to the ostream o - */ -void -AST_Constant::dump(ostream &o) -{ - o << "const " << exprtype_to_string(pd_et) << " "; - local_name()->dump(o); - o << " = "; - pd_constant_value->dump(o); -} - -/* - * Data accessors - */ - -AST_Expression * -AST_Constant::constant_value() -{ - return pd_constant_value; -} - -AST_Expression::ExprType -AST_Constant::et() -{ - return pd_et; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Constant, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Constant) diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp deleted file mode 100644 index b7d376a3576..00000000000 --- a/TAO/TAO_IDL/ast/ast_decl.cpp +++ /dev/null @@ -1,312 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_decl.cc - Implementation of class AST_Decl - * - * AST_Decl is the base class for all AST nodes except AST_Expression. - * AST_Decls have a node type (a value from the enum AST_Decl::NodeType) - * a name (a UTL_ScopedName) and a list of pragmas (a UTL_StrList). - * Additionally AST_Decl nodes record the scope of definition, the - * file name in which they were defined, the line on which they were - * defined in that file, and a boolean denoting whether this is the - * main file or an #include'd file. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ - -AST_Decl::AST_Decl() - : pd_imported(I_FALSE), - pd_in_main_file(I_FALSE), - pd_defined_in(NULL), - pd_node_type(NT_module), - pd_line(-1), - pd_file_name(NULL), - pd_name(NULL), - pd_local_name(NULL), - pd_pragmas(NULL), - pd_added(I_FALSE) -{ -} - -AST_Decl::AST_Decl(NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : pd_imported(idl_global->imported()), - pd_in_main_file(idl_global->in_main_file()), - pd_defined_in(idl_global->scopes()->depth() > 0 - ? idl_global->scopes()->top() - : 0), - pd_node_type(nt), - pd_line(idl_global->lineno()), - pd_file_name(idl_global->filename()), - pd_local_name(n == NULL ? 0 : n->last_component()), - pd_pragmas(p), - pd_added(I_FALSE) -{ - compute_full_name (n); -} - -/* - * Private operations - */ - -/* - * Compute the full scoped name of an AST node - */ -void -AST_Decl::compute_full_name(UTL_ScopedName *n) -{ - UTL_ScopedName *cn = NULL; - AST_Decl *d = NULL; - - /* - * Initialize this name to NULL - */ - pd_name = NULL; - /* - * Global scope? - */ - if (defined_in() == NULL) { - pd_name = n; - return; - } - /* - * OK, not global. So copy name of containing scope, then - * smash last cdr of copy with new component - */ - d = ScopeAsDecl(defined_in()); - if (d != NULL) - cn = d->name(); - if (cn != NULL) - pd_name = (UTL_ScopedName *) cn->copy(); - if (pd_name == NULL) - pd_name = new UTL_ScopedName(local_name(), NULL); - else - pd_name->nconc(new UTL_ScopedName(local_name(), NULL)); -} - -/* - * Public operations - */ - -/* - * Return TRUE if one of my ancestor scopes is "s" - * and FALSE otherwise - */ -idl_bool -AST_Decl::has_ancestor(AST_Decl *s) -{ - if (this == s) - return I_TRUE; - if (pd_defined_in == NULL) - return I_FALSE; - return ScopeAsDecl(pd_defined_in)->has_ancestor(s); -} - -/* - * Dump this AST_Decl to the ostream o - */ -void -AST_Decl::dump(ostream &o) -{ - pd_local_name->dump(o); -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -idl_bool -AST_Decl::imported() -{ - return pd_imported; -} - -void -AST_Decl::set_imported(idl_bool is_it) -{ - pd_imported = is_it; -} - -idl_bool -AST_Decl::in_main_file() -{ - return pd_in_main_file; -} - -void -AST_Decl::set_in_main_file(idl_bool is_it) -{ - pd_in_main_file = is_it; -} - -idl_bool -AST_Decl::added() -{ - return pd_added; -} - -void -AST_Decl::set_added(idl_bool is_it) -{ - pd_added = is_it; -} - -UTL_Scope * -AST_Decl::defined_in() -{ - return pd_defined_in; -} - -void -AST_Decl::set_defined_in(UTL_Scope *s) -{ - pd_defined_in = s; -} - -AST_Decl::NodeType -AST_Decl::node_type() -{ - return pd_node_type; -} - -long -AST_Decl::line() -{ - return pd_line; -} - -void -AST_Decl::set_line(long l) -{ - pd_line = l; -} - -String * -AST_Decl::file_name() -{ - return pd_file_name; -} - -void -AST_Decl::set_file_name(String *s) -{ - pd_file_name = s; -} - -UTL_ScopedName * -AST_Decl::name() -{ - return pd_name; -} - -void -AST_Decl::set_name(UTL_ScopedName *n) -{ - pd_name = n; - if (n != NULL) - pd_local_name = n->last_component(); -} - -Identifier * -AST_Decl::local_name() -{ - return pd_local_name; -} - -void -AST_Decl::add_pragmas(UTL_StrList *p) -{ - if (p != NULL) { - if (pd_pragmas != NULL) - pd_pragmas->nconc(p); - else - pd_pragmas = p; - } -} - -UTL_StrList * -AST_Decl::pragmas() -{ - return pd_pragmas; -} - -/* - * Narrowing methods for AST_Decl - */ -IMPL_NARROW_METHODS0(AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Decl) - -/* -** Narrowing methods for COMMON_Base -*/ -IMPL_NARROW_METHODS0(COMMON_Base) diff --git a/TAO/TAO_IDL/ast/ast_enum.cpp b/TAO/TAO_IDL/ast/ast_enum.cpp deleted file mode 100644 index e77fdece3cd..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum.cpp +++ /dev/null @@ -1,253 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_enum.cc - Implementation of class AST_Enum - * - * AST_Enum nodes denote IDL enum declarations. - * AST_Enums are a subclass of AST_ConcreteType and UTL_Scope. - * They have a counter denoting the next value to be assigned to - * an enumerator, and a name (a UTL_ScopedName). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Enum::AST_Enum() - : pd_enum_counter(0) -{ -} - -AST_Enum::AST_Enum(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_enum, n, p), - UTL_Scope(AST_Decl::NT_enum), - pd_enum_counter(0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Look up an enumerator by the value of the supplied expression - */ -AST_EnumVal * -AST_Enum::lookup_by_value(const AST_Expression *v) -{ - UTL_ScopeActiveIterator *iter; - AST_EnumVal *item; - AST_Decl *i; - - iter = new UTL_ScopeActiveIterator(this, IK_decls); - - while (!iter->is_done()) { - i = iter->item(); - item = AST_EnumVal::narrow_from_decl(i); - if (item->constant_value() == v) { - delete iter; - return item; - } - iter->next(); - } - delete iter; - return NULL; -} - -/* - * Compute the value to be assigned to the next enumerator. Bump the - * counter - */ -unsigned long -AST_Enum::next_enum_val() -{ - unsigned long i = pd_enum_counter++; - - return i; -} - -/* - * Static helper functions - */ - -/* - * Modify scoped name of an enumval so that it is scoped inside the scope - * in which the enum is defined and not inside the enum itself - */ -static UTL_ScopedName * -munge_name_for_enumval(UTL_ScopedName *n, Identifier *last_component) -{ - long l = n->length(); - UTL_ScopedName *hold = n; - - /* - * last three components are: - * - scope in which enum is defined - * - scope for enum - * - name of enumval - * - * We want to stop cdr'ing down the list when the head of the - * list is at the name for the scope in which the enum is defined - */ - while (l > 3) { - l--; - n = (UTL_ScopedName *) n->tail(); - } - - n->set_tail(new UTL_IdList(last_component, NULL)); - - return hold; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add an AST_EnumVal node to this scope - */ -AST_EnumVal *AST_Enum::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - AST_EnumVal *t1 = NULL; - - if (t != NULL) { - t1 = idl_global->gen()->create_enum_val - (t->constant_value()->coerce(AST_Expression::EV_ulong)->u.ulval, - t->name(), t->pragmas()); - t->set_name(munge_name_for_enumval(t->name(), t->local_name())); - t1->set_name(munge_name_for_enumval(t1->name(), t1->local_name())); - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - /* - * Add it to enclosing scope - */ - idl_global->scopes()->next_to_top()->fe_add_enum_val(t1); - - return t; -} - -/* - * Dump this AST_Enum to the ostream o - */ -void -AST_Enum::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_decls); - AST_Decl *d; - - o << "enum "; - local_name()->dump(o); - o << " {\n"; - - while (!(i->is_done())) { - d = i->item(); - d->local_name()->dump(o); - i->next(); - if (!(i->is_done())) - o << ", "; - } - delete i; - - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Enum, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Enum) -IMPL_NARROW_FROM_SCOPE(AST_Enum) diff --git a/TAO/TAO_IDL/ast/ast_enum_val.cpp b/TAO/TAO_IDL/ast/ast_enum_val.cpp deleted file mode 100644 index e8b263d1b2b..00000000000 --- a/TAO/TAO_IDL/ast/ast_enum_val.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_enum_val.cc - Implementation of class AST_EnumVal - * - * AST_EnumVals denote IDL enumerator declarations - * AST_EnumVals are a subclass of AST_Constant - * AST_EnumVals have no additional fields - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_EnumVal::AST_EnumVal() -{ -} - -AST_EnumVal::AST_EnumVal(unsigned long v, UTL_ScopedName *n, UTL_StrList *p) - : AST_Constant(AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), n, p), - AST_Decl(AST_Decl::NT_enum_val, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_EnumVal to the ostream o - */ -void -AST_EnumVal::dump(ostream &o) -{ - AST_Constant::dump(o); -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_EnumVal, AST_Constant) -IMPL_NARROW_FROM_DECL(AST_EnumVal) diff --git a/TAO/TAO_IDL/ast/ast_exception.cpp b/TAO/TAO_IDL/ast/ast_exception.cpp deleted file mode 100644 index a465674521d..00000000000 --- a/TAO/TAO_IDL/ast/ast_exception.cpp +++ /dev/null @@ -1,304 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_exception.cc - Implementation of class AST_Exception - * - * AST_Exceptions denote IDL exception declarations - * AST_Exceptions are a subclass of AST_Decl (they are not types!) - * and of UTL_Scope - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Exception::AST_Exception() -{ -} - -AST_Exception::AST_Exception(UTL_ScopedName *n, UTL_StrList *p) - : AST_Structure(AST_Decl::NT_except, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_Field node to the current scope - */ -AST_Field *AST_Exception::fe_add_field(AST_Field *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union (manifest type declaration) to the current scope - */ -AST_Union *AST_Exception::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure (manifest type declaration) to the current - * scope - */ -AST_Structure *AST_Exception::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error2(UTL_Error::EIDL_REDEF, t, this); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum (manifest type declaration) to the current scope - */ -AST_Enum *AST_Exception::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal (enumerator declaration) to the current scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Exception::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Exception node to the ostream o - */ -void -AST_Exception::dump(ostream &o) -{ - o << "exception "; - local_name()->dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Exception, AST_Structure) -IMPL_NARROW_FROM_DECL(AST_Exception) -IMPL_NARROW_FROM_SCOPE(AST_Exception) diff --git a/TAO/TAO_IDL/ast/ast_expression.cpp b/TAO/TAO_IDL/ast/ast_expression.cpp deleted file mode 100644 index fd9d03fabbd..00000000000 --- a/TAO/TAO_IDL/ast/ast_expression.cpp +++ /dev/null @@ -1,1597 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* * ast_expression.cc - Implementation of class AST_Expression - * - * AST_Expression nodes denote IDL expressions used in the IDL input. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include <limits.h> -#include <float.h> - -#undef MAXCHAR -#define MAXCHAR 128 - -// Helper function to fill out the details of where this expression -// is defined -void -AST_Expression::fill_definition_details() -{ - pd_defined_in = idl_global->scopes()->depth() > 0 - ? idl_global->scopes()->top() - : 0 ; - pd_line = idl_global->lineno(); - pd_file_name = idl_global->filename(); -} - -/* - * Constructor(s) and destructor - */ - -/* - * An AST_Expression denoting a symbolic name - */ -AST_Expression::AST_Expression(UTL_ScopedName *nm) - : pd_ec(EC_symbol), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(nm) -{ - fill_definition_details(); -} - -/* - * An AST_Expression denoting a type coercion from another AST_Expression - */ -AST_Expression::AST_Expression(AST_Expression *v, ExprType t) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = v->coerce(t); - if (pd_ev == NULL) - idl_global->err()->coercion_error(v, t); -} - -/* - * An AST_Expression denoting a binary expression combination from - * two other AST_Expressions - */ -AST_Expression::AST_Expression(ExprComb c, AST_Expression *ev1, - AST_Expression *ev2) - : pd_ec(c), - pd_ev(NULL), - pd_v1(ev1), - pd_v2(ev2), - pd_n(NULL) -{ - fill_definition_details(); -} - -/* - * An AST_Expression denoting a short integer - */ -AST_Expression::AST_Expression(short sv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_short; - pd_ev->u.sval = sv; -} - -/* - * An AST_Expression denoting an unsigned short integer - */ -AST_Expression::AST_Expression(unsigned short usv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_ushort; - pd_ev->u.usval = usv; -} - -/* - * An AST_Expression denoting a long integer - */ -AST_Expression::AST_Expression(long lv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_long; - pd_ev->u.lval = lv; -} - -/* - * An AST_Expression denoting a long integer being used as a boolean - */ -AST_Expression::AST_Expression(long lv, ExprType t) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = t; - pd_ev->u.lval = lv; -} - -/* - * An AST_Expression denoting an unsigned long integer - */ -AST_Expression::AST_Expression(unsigned long ulv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_ulong; - pd_ev->u.ulval = ulv; -} - -/* - * An AST_Expression denoting a 32-bit floating point number - */ -AST_Expression::AST_Expression(float fv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_float; - pd_ev->u.fval = fv; -} - -/* - * An AST_Expression denoting a 64-bit floating point number - */ -AST_Expression::AST_Expression(double dv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_double; - pd_ev->u.dval = dv; -} - -/* - * An AST_Expression denoting a character - */ -AST_Expression::AST_Expression(char cv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_char; - pd_ev->u.cval = cv; -} - -/* - * An AST_Expression denoting an octet (unsigned char) - */ -AST_Expression::AST_Expression(unsigned char ov) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_octet; - pd_ev->u.oval = ov; -} - -/* - * An AST_Expression denotign a string (char * encapsulated as a String) - */ -AST_Expression::AST_Expression(String *sv) - : pd_ec(EC_none), - pd_ev(NULL), - pd_v1(NULL), - pd_v2(NULL), - pd_n(NULL) -{ - fill_definition_details(); - - pd_ev = new AST_ExprValue; - pd_ev->et = EV_string; - pd_ev->u.strval = sv; -} - -/* - * Static operations - */ - -/* - * Perform the coercion from the given AST_ExprValue to the requested - * ExprType. Return an AST_ExprValue if successful, NULL if failed. - */ -static AST_Expression::AST_ExprValue * -coerce_value(AST_Expression::AST_ExprValue *ev, AST_Expression::ExprType t) -{ - if (ev == NULL) - return NULL; - - switch (t) { - case AST_Expression::EV_short: - switch (ev->et) { - case AST_Expression::EV_short: - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) SHRT_MAX) - return NULL; - ev->u.sval = (short) ev->u.usval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) SHRT_MAX || ev->u.lval < (long) -(SHRT_MAX)) - return NULL; - ev->u.sval = (short) ev->u.lval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) SHRT_MAX) - return NULL; - ev->u.sval = (short) ev->u.ulval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_bool: - ev->u.sval = (short) ev->u.bval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) SHRT_MAX || ev->u.fval < (float) -(SHRT_MAX)) - return NULL; - ev->u.sval = (short) ev->u.fval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) SHRT_MAX || ev->u.dval < (double) -(SHRT_MAX)) - return NULL; - ev->u.sval = (short) ev->u.dval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_char: - ev->u.sval = (short) ev->u.cval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_octet: - ev->u.sval = (short) ev->u.oval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_string: - case AST_Expression::EV_wstring: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_ushort: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.sval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_ushort: - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) (SHRT_MAX << 1) || ev->u.lval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.lval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.ulval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_bool: - ev->u.usval = (unsigned short) ev->u.bval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 || ev->u.fval > (float) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.fval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 || ev->u.dval > (double) (SHRT_MAX << 1)) - return NULL; - ev->u.usval = (unsigned short) ev->u.dval; - ev->et = AST_Expression::EV_short; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.usval = (unsigned short) ev->u.cval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_octet: - ev->u.usval = (unsigned short) ev->u.oval; - ev->et = AST_Expression::EV_ushort; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_long: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.lval = (long) ev->u.sval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_ushort: - ev->u.lval = (long) ev->u.usval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_long: - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) LONG_MAX) - return NULL; - ev->u.lval = (long) ev->u.ulval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_bool: - ev->u.lval = (long) ev->u.bval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) LONG_MAX || ev->u.fval < (float) -(LONG_MAX)) - return NULL; - ev->u.lval = (long) ev->u.fval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) LONG_MAX || ev->u.dval < (double) -(LONG_MAX)) - return NULL; - ev->u.lval = (long) ev->u.dval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_char: - ev->u.lval = (long) ev->u.cval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_octet: - ev->u.lval = (long) ev->u.oval; - ev->et = AST_Expression::EV_long; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_ulong: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.sval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_ushort: - ev->u.ulval = (unsigned long) ev->u.usval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.lval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_ulong: - return ev; - case AST_Expression::EV_bool: - ev->u.ulval = (unsigned long) ev->u.bval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 || ev->u.fval > (float) LONG_MAX) - return NULL; - ev->u.ulval = (unsigned long) ev->u.fval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 || ev->u.dval > (double) LONG_MAX) - return NULL; - ev->u.ulval = (unsigned long) ev->u.dval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.ulval = (unsigned long) ev->u.cval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_octet: - ev->u.ulval = (unsigned long) ev->u.oval; - ev->et = AST_Expression::EV_ulong; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_bool: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.bval = (ev->u.sval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_ushort: - ev->u.bval = (ev->u.usval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_long: - ev->u.bval = (ev->u.lval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_ulong: - ev->u.bval = (ev->u.ulval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_bool: - return ev; - case AST_Expression::EV_float: - ev->u.bval = (ev->u.fval == 0.0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_double: - ev->u.bval = (ev->u.dval == 0.0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_char: - ev->u.bval = (ev->u.cval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_octet: - ev->u.bval = (ev->u.oval == 0) ? I_FALSE : I_TRUE; - ev->et = AST_Expression::EV_bool; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_float: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.fval = (float) ev->u.sval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_ushort: - ev->u.fval = (float) ev->u.usval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_long: - ev->u.fval = (float) ev->u.lval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_ulong: - ev->u.fval = (float) ev->u.ulval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_bool: - ev->u.fval = (float) ((ev->u.bval == I_TRUE) ? 1.0 : 0.0); - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_float: - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > FLT_MAX || ev->u.dval < -FLT_MAX) - return NULL; - ev->u.fval = (float) ev->u.dval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_char: - ev->u.fval = (float) ev->u.cval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_octet: - ev->u.fval = (float) ev->u.oval; - ev->et = AST_Expression::EV_float; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_double: - switch (ev->et) { - case AST_Expression::EV_short: - ev->u.dval = (double) ev->u.sval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_ushort: - ev->u.dval = (double) ev->u.usval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_long: - ev->u.dval = (double) ev->u.lval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_ulong: - ev->u.dval = (double) ev->u.ulval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_bool: - ev->u.dval = (ev->u.bval == I_TRUE) ? 1.0 : 0.0; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_float: - ev->u.dval = (double) ev->u.fval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_double: - return ev; - case AST_Expression::EV_char: - ev->u.dval = (double) ev->u.cval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_octet: - ev->u.dval = (double) ev->u.oval; - ev->et = AST_Expression::EV_double; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_char: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval > (short) MAXCHAR || ev->u.sval < (short) -(MAXCHAR)) - return NULL; - ev->u.cval = (char) ev->u.sval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) MAXCHAR) - return NULL; - ev->u.cval = (char) ev->u.usval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval > (long) MAXCHAR || ev->u.lval < (long) -(MAXCHAR)) - return NULL; - ev->u.cval = (char) ev->u.lval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) MAXCHAR) - return NULL; - ev->u.cval = (char) ev->u.ulval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_bool: - ev->u.cval = (char) ev->u.bval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval > (float) MAXCHAR || ev->u.fval < (float) -(MAXCHAR)) - return NULL; - ev->u.cval = (char) ev->u.fval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval > (double) MAXCHAR || ev->u.dval < (double) -(MAXCHAR)) - return NULL; - ev->u.cval = (char) ev->u.dval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_char: - return ev; - case AST_Expression::EV_octet: - if (ev->u.oval > (unsigned char) MAXCHAR) - return NULL; - ev->u.cval = (char) ev->u.oval; - ev->et = AST_Expression::EV_char; - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_octet: - switch (ev->et) { - case AST_Expression::EV_short: - if (ev->u.sval < 0 || ev->u.sval > (short) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.sval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_ushort: - if (ev->u.usval > (unsigned short) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.usval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_long: - if (ev->u.lval < 0 || ev->u.lval > (long) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.lval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_ulong: - if (ev->u.ulval > (unsigned long) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.ulval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_bool: - ev->u.oval = (ev->u.bval == I_FALSE) ? 1 : 0; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_float: - if (ev->u.fval < 0.0 || ev->u.fval > (float) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.fval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_double: - if (ev->u.dval < 0.0 || ev->u.dval > (double) (MAXCHAR << 1)) - return NULL; - ev->u.oval = (unsigned char) ev->u.dval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_char: - if ((signed char) ev->u.cval < 0) - return NULL; - ev->u.oval = (unsigned char) ev->u.cval; - ev->et = AST_Expression::EV_octet; - return ev; - case AST_Expression::EV_octet: - return ev; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_string: - case AST_Expression::EV_any: - case AST_Expression::EV_void: - case AST_Expression::EV_none: - return NULL; - } - case AST_Expression::EV_any: - switch (ev->et) { - case AST_Expression::EV_any: - return ev; - default: - return NULL; - } - case AST_Expression::EV_void: - switch (ev->et) { - case AST_Expression::EV_void: - return ev; - default: - return NULL; - } - case AST_Expression::EV_none: - return NULL; - case AST_Expression::EV_string: - switch (ev->et) { - case AST_Expression::EV_string: - return ev; - default: - return NULL; - } - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Evaluate the expression wrt the evaluation kind requested. Supported - * evaluation kinds are - * - EK_const: The expression must evaluate to a constant - * - EK_positive_int: The expression must further evaluate to a - * positive integer - */ -static AST_Expression::AST_ExprValue * -eval_kind(AST_Expression::AST_ExprValue *ev, AST_Expression::EvalKind ek) -{ - if (ek == AST_Expression::EK_const) - return ev; - if (ek == AST_Expression::EK_positive_int) - return coerce_value(ev, AST_Expression::EV_ulong); - - return NULL; -} - -/* - * Private operations - */ - -/* - * Apply binary operators to an AST_Expression after evaluating - * its sub-expressions. - * Operations supported: - * - * '+', '-', '*', '/' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_bin_op(AST_Expression::EvalKind ek) -{ - AST_ExprValue *retval = NULL; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL || pd_v2 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->eval_internal(ek)); - if (pd_v2->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->coerce(EV_double)); - if (pd_v2->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_double; - - switch (pd_ec) { - case EC_mod: - if (pd_v2->ev()->u.lval == 0) - return NULL; - retval->u.lval = pd_v1->ev()->u.lval % pd_v2->ev()->u.lval; - break; - case EC_add: - retval->u.dval = pd_v1->ev()->u.dval + pd_v2->ev()->u.dval; - break; - case EC_minus: - retval->u.dval = pd_v1->ev()->u.dval - pd_v2->ev()->u.dval; - break; - case EC_mul: - retval->u.dval = pd_v1->ev()->u.dval * pd_v2->ev()->u.dval; - break; - case EC_div: - if (pd_v2->ev()->u.dval == 0.0) - return NULL; - retval->u.dval = pd_v1->ev()->u.dval / pd_v2->ev()->u.dval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Apply bitwise operations to an AST_Expression after evaluating - * its sub-expressions. - * Operations supported: - * - * '%', '|', '&', '^', '<<', '>>' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_bit_op(AST_Expression::EvalKind ek) -{ - AST_Expression::AST_ExprValue *retval=NULL; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL || pd_v2 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v1->set_ev(pd_v1->coerce(EV_long)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->eval_internal(ek)); - if (pd_v2->ev() == NULL) - return NULL; - pd_v2->set_ev(pd_v2->coerce(EV_long)); - if (pd_v2->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_long; - - switch (pd_ec) { - case EC_or: - retval->u.lval = pd_v1->ev()->u.lval | pd_v2->ev()->u.lval; - break; - case EC_xor: - retval->u.lval = pd_v1->ev()->u.lval ^ pd_v2->ev()->u.lval; - break; - case EC_and: - retval->u.lval = pd_v1->ev()->u.lval & pd_v2->ev()->u.lval; - break; - case EC_left: - retval->u.lval = pd_v1->ev()->u.lval << pd_v2->ev()->u.lval; - break; - case EC_right: - retval->u.lval = pd_v1->ev()->u.lval >> pd_v2->ev()->u.lval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Apply unary operators to an AST_Expression after evaluating its - * sub-expression. - * Operations supported: - * - * '-', '+', '~' - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_un_op(AST_Expression::EvalKind ek) -{ - AST_ExprValue *retval = NULL; - - if (pd_ev != NULL) - return pd_ev; - - if (ek != EK_const && ek != EK_positive_int) - return NULL; - if (pd_v1 == NULL) - return NULL; - pd_v1->set_ev(pd_v1->eval_internal(ek)); - if (pd_v1->ev() == NULL) - return NULL; - pd_v1->set_ev(pd_v1->coerce(EV_double)); - if (pd_v1->ev() == NULL) - return NULL; - - retval = new AST_ExprValue; - retval->et = EV_double; - - switch (pd_ec) { - case EC_u_plus: - retval->u.lval = pd_v1->ev()->u.lval; - break; - case EC_u_minus: - retval->u.lval = -(pd_v1->ev()->u.lval); - break; - case EC_bit_neg: - pd_v1->set_ev(pd_v1->coerce(EV_long)); - if (pd_v1->ev() == NULL) - return NULL; - retval->u.lval = ~pd_v1->ev()->u.lval; - break; - default: - return NULL; - } - return retval; -} - -/* - * Evaluate a symbolic AST_Expression by looking up the named - * symbol. - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_symbol(AST_Expression::EvalKind ek) -{ - UTL_Scope *s = 0; - AST_Decl *d = 0; - AST_Constant *c = 0; - - /* - * Is there a symbol stored? - */ - if (pd_n == NULL) { - idl_global->err()->eval_error(this); - return NULL; - } - /* - * Get current scope for lookup - */ - if (idl_global->scopes()->depth() > 0) - s = idl_global->scopes()->top_non_null(); - if (s == NULL) { - idl_global->err()->lookup_error(pd_n); - return NULL; - } - /* - * Do lookup - */ - d = s->lookup_by_name(pd_n, I_TRUE); - if (d == NULL) { - idl_global->err()->lookup_error(pd_n); - return NULL; - } - /* - * Is it a constant? - */ - if (d->node_type() != AST_Decl::NT_const && - d->node_type() != AST_Decl::NT_enum_val) { - idl_global->err()->constant_expected(pd_n, d); - return NULL; - } - /* - * OK, now evaluate the constant we just got, to produce its value - */ - c = AST_Constant::narrow_from_decl(d); - if (c == NULL) return NULL; - return c->constant_value()->eval_internal(ek); -} - -/* - * Coerce "this" to the ExprType required. Returns a copy of the - * original ExprValue with the coercion applied, if successful, or - * NULL if failed. - */ -AST_Expression::AST_ExprValue * -AST_Expression::coerce(AST_Expression::ExprType t) -{ - AST_ExprValue *copy; - - /* - * Is it already of the right type? - */ - if (pd_ev != NULL && pd_ev->et == t) - return pd_ev; - /* - * OK, must coerce - * - * First, evaluate it, then try to coerce result type - * If already evaluated, return the result - */ - pd_ev = eval_internal(EK_const); - if (pd_ev == NULL) - return NULL; - - /* - * Create a copy to contain coercion result - */ - copy = new AST_ExprValue; - - copy->et = pd_ev->et; - switch (pd_ev->et) { - case EV_longlong: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - case EV_wstring: - case EV_void: - case EV_none: - case EV_any: - return NULL; - case EV_short: - copy->u.sval = pd_ev->u.sval; - break; - case EV_ushort: - copy->u.usval = pd_ev->u.usval; - break; - case EV_long: - copy->u.lval = pd_ev->u.lval; - break; - case EV_ulong: - copy->u.ulval = pd_ev->u.ulval; - break; - case EV_bool: - copy->u.bval = pd_ev->u.bval; - break; - case EV_float: - copy->u.fval = pd_ev->u.fval; - break; - case EV_double: - copy->u.dval = pd_ev->u.dval; - break; - case EV_char: - copy->u.cval = pd_ev->u.cval; - break; - case EV_octet: - copy->u.oval = pd_ev->u.oval; - break; - case EV_string: - copy->u.strval = pd_ev->u.strval; - break; - } - - return coerce_value(copy, t); -} - -/* - * Eval used internally - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval_internal(AST_Expression::EvalKind ek) -{ - /* - * Already evaluated? - */ - if (pd_ev != NULL) - return eval_kind(pd_ev, ek); - /* - * OK, must evaluate operator - */ - switch (pd_ec) { - case EC_add: - case EC_minus: - case EC_mul: - case EC_div: - case EC_mod: - pd_ev = eval_bin_op(ek); - return eval_kind(pd_ev, ek); - case EC_or: - case EC_xor: - case EC_and: - case EC_left: - case EC_right: - pd_ev = eval_bit_op(ek); - return eval_kind(pd_ev, ek); - case EC_u_plus: - case EC_u_minus: - case EC_bit_neg: - pd_ev = eval_un_op(ek); - return eval_kind(pd_ev, ek); - case EC_symbol: - pd_ev = eval_symbol(ek); - return eval_kind(pd_ev, ek); - case EC_none: - return NULL; - } - return NULL; -} - -/* - * Public operations - */ - -/* - * Evaluate an AST_Expression, producing an AST_ExprValue or NULL - */ -AST_Expression::AST_ExprValue * -AST_Expression::eval(AST_Expression::EvalKind ek) -{ - AST_Expression::AST_ExprValue *v = NULL; - - /* - * Call internal evaluator which does not coerce value to - * EvalKind-expected format - */ - v = eval_internal(ek); - /* - * Then coerce according to EvalKind-expected format - */ - return eval_kind(v, ek); -} - -/* - * Evaluate "this", assigning the value to the pd_ev field. - */ -void -AST_Expression::evaluate(EvalKind ek) -{ - pd_ev = eval_internal(ek); - pd_ev = eval_kind(pd_ev, ek); -} - -/* - * Expression equality comparison operator - */ -long -AST_Expression::operator==(AST_Expression *vc) -{ - if (pd_ec != vc->ec()) - return I_FALSE; - evaluate(EK_const); - vc->evaluate(EK_const); - if (pd_ev == NULL || vc->ev() == NULL) - return I_FALSE; - if (pd_ev->et != vc->ev()->et) - return I_FALSE; - switch (pd_ev->et) { - case EV_short: - return (pd_ev->u.sval == vc->ev()->u.sval) ? I_TRUE : I_FALSE; - case EV_ushort: - return (pd_ev->u.usval == vc->ev()->u.usval) ? I_TRUE : I_FALSE; - case EV_long: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_ulong: - return (pd_ev->u.ulval == vc->ev()->u.ulval) ? I_TRUE : I_FALSE; - case EV_float: - return (pd_ev->u.fval == vc->ev()->u.fval) ? I_TRUE : I_FALSE; - case EV_double: - return (pd_ev->u.dval == vc->ev()->u.dval) ? I_TRUE : I_FALSE; - case EV_char: - return (pd_ev->u.cval == vc->ev()->u.cval) ? I_TRUE : I_FALSE; - case EV_octet: - return (pd_ev->u.oval == vc->ev()->u.oval) ? I_TRUE : I_FALSE; - case EV_bool: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_string: - if (pd_ev->u.strval == NULL) { - if (vc->ev()->u.strval == NULL) - return I_TRUE; - else - return I_FALSE; - } else if (vc->ev()->u.strval == NULL) - return I_FALSE; - else - return (pd_ev->u.strval == vc->ev()->u.strval) ? I_TRUE : I_FALSE; - case EV_longlong: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - case EV_wstring: - case EV_any: - case EV_void: - case EV_none: - return I_FALSE; - } - return I_FALSE; -} - -long -AST_Expression::compare(AST_Expression *vc) -{ - if (pd_ec != vc->ec()) - return I_FALSE; - evaluate(EK_const); - vc->evaluate(EK_const); - if (pd_ev == NULL || vc->ev() == NULL) - return I_FALSE; - if (pd_ev->et != vc->ev()->et) - return I_FALSE; - switch (pd_ev->et) { - case EV_short: - return (pd_ev->u.sval == vc->ev()->u.sval) ? I_TRUE : I_FALSE; - case EV_ushort: - return (pd_ev->u.usval == vc->ev()->u.usval) ? I_TRUE : I_FALSE; - case EV_long: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_ulong: - return (pd_ev->u.ulval == vc->ev()->u.ulval) ? I_TRUE : I_FALSE; - case EV_float: - return (pd_ev->u.fval == vc->ev()->u.fval) ? I_TRUE : I_FALSE; - case EV_double: - return (pd_ev->u.dval == vc->ev()->u.dval) ? I_TRUE : I_FALSE; - case EV_char: - return (pd_ev->u.cval == vc->ev()->u.cval) ? I_TRUE : I_FALSE; - case EV_octet: - return (pd_ev->u.oval == vc->ev()->u.oval) ? I_TRUE : I_FALSE; - case EV_bool: - return (pd_ev->u.lval == vc->ev()->u.lval) ? I_TRUE : I_FALSE; - case EV_string: - if (pd_ev->u.strval == NULL) { - if (vc->ev()->u.strval == NULL) - return I_TRUE; - else - return I_FALSE; - } else if (vc->ev()->u.strval == NULL) - return I_FALSE; - else - return (pd_ev->u.strval == vc->ev()->u.strval) ? I_TRUE : I_FALSE; - case EV_longlong: - case EV_ulonglong: - case EV_longdouble: - case EV_wchar: - case EV_wstring: - case EV_any: - case EV_void: - case EV_none: - return I_FALSE; - } - return I_FALSE; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Helper functions for expression dumpers - */ - -/* - * Dump this binary AST_Expression node to the ostream o - */ -static void -dump_binary_expr(ostream &o, char *s, AST_Expression *n1, AST_Expression *n2) -{ - if (n1 != NULL) n1->dump(o); - o << " " << s << " "; - if (n2 != NULL) n2->dump(o); -} - -/* - * Dump this unary AST_Expression node to the ostream o - */ -static void -dump_unary_expr(ostream &o, char *s, AST_Expression *e) -{ - o << s; - e->dump(o); -} - -/* - * Dump the supplied AST_ExprValue to the ostream o - */ -static void -dump_expr_val(ostream &o, AST_Expression::AST_ExprValue *ev) -{ - switch (ev->et) { - case AST_Expression::EV_short: - o << ev->u.sval; - break; - case AST_Expression::EV_ushort: - o << ev->u.usval; - break; - case AST_Expression::EV_long: - o << ev->u.lval; - break; - case AST_Expression::EV_ulong: - o << ev->u.ulval; - break; - case AST_Expression::EV_float: - o << ev->u.fval; - break; - case AST_Expression::EV_double: - o << ev->u.dval; - break; - case AST_Expression::EV_char: - o << ev->u.cval; - break; - case AST_Expression::EV_octet: - o << ev->u.oval; - break; - case AST_Expression::EV_bool: - o << (ev->u.bval == I_TRUE) ? "TRUE" : "FALSE"; - break; - case AST_Expression::EV_string: - if (ev->u.strval != NULL) - ev->u.strval->dump(o); - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - case AST_Expression::EV_any: - case AST_Expression::EV_none: - case AST_Expression::EV_void: - break; - } -} - -/* - * Dump an AST_Expression node to the ostream o - */ -void -AST_Expression::dump(ostream &o) -{ - /* - * See if it was a constant or was evaluated already - */ - if (pd_ev != NULL) { - dump_expr_val(o, pd_ev); - return; - } - /* - * OK, must print out an expression - */ - switch (pd_ec) { - /* - * Binary expressions: - */ - case EC_add: - dump_binary_expr(o, "+", pd_v1, pd_v2); - break; - case EC_minus: - dump_binary_expr(o, "-", pd_v1, pd_v2); - break; - case EC_mul: - dump_binary_expr(o, "*", pd_v1, pd_v2); - break; - case EC_div: - dump_binary_expr(o, "/", pd_v1, pd_v2); - break; - case EC_mod: - dump_binary_expr(o, "%", pd_v1, pd_v2); - break; - case EC_or: - dump_binary_expr(o, "|", pd_v1, pd_v2); - break; - case EC_xor: - dump_binary_expr(o, "^", pd_v1, pd_v2); - break; - case EC_and: - dump_binary_expr(o, "&", pd_v1, pd_v2); - break; - case EC_left: - dump_binary_expr(o, "<<", pd_v1, pd_v2); - break; - case EC_right: - dump_binary_expr(o, ">>", pd_v1, pd_v2); - break; - /* - * Unary expressions: - */ - case EC_u_plus: - dump_unary_expr(o, "+", pd_v1); - break; - case EC_u_minus: - dump_unary_expr(o, "-", pd_v1); - break; - case EC_bit_neg: - dump_unary_expr(o, "~", pd_v1); - break; - /* - * Unevaluated symbol - */ - case EC_symbol: - pd_n->dump(o); - break; - case EC_none: - break; - default: - o << GTDEVEL("unsupported dump mode for expression with ec == ") - << (int) pd_ec ; - break; - } -} - -/* - * Data accessors - */ - -UTL_Scope * -AST_Expression::defined_in() -{ - return pd_defined_in; -} - -void -AST_Expression::set_defined_in(UTL_Scope *d) -{ - pd_defined_in = d; -} - -long -AST_Expression::line() -{ - return pd_line; -} - -void -AST_Expression::set_line(long l) -{ - pd_line = l; -} - -String * -AST_Expression::file_name() -{ - return pd_file_name; -} - -void -AST_Expression::set_file_name(String *f) -{ - pd_file_name = f; -} - -AST_Expression::ExprComb -AST_Expression::ec() -{ - return pd_ec; -} - -void -AST_Expression::set_ec(AST_Expression::ExprComb new_ec) -{ - pd_ec = new_ec; -} - -AST_Expression::AST_ExprValue * -AST_Expression::ev() -{ - return pd_ev; -} - -void -AST_Expression::set_ev(AST_Expression::AST_ExprValue *new_ev) -{ - pd_ev = new_ev; -} - -AST_Expression * -AST_Expression::v1() -{ - return pd_v1; -} - -void -AST_Expression::set_v1(AST_Expression *e) -{ - - pd_v1 = e; -} - -AST_Expression * -AST_Expression::v2() -{ - return pd_v2; -} - -void -AST_Expression::set_v2(AST_Expression *e) -{ - pd_v2 = e; -} - -UTL_ScopedName * -AST_Expression::n() -{ - return pd_n; -} - -void -AST_Expression::set_n(UTL_ScopedName *new_n) -{ - pd_n = new_n; -} diff --git a/TAO/TAO_IDL/ast/ast_field.cpp b/TAO/TAO_IDL/ast/ast_field.cpp deleted file mode 100644 index 44912c1d03b..00000000000 --- a/TAO/TAO_IDL/ast/ast_field.cpp +++ /dev/null @@ -1,151 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_field.cc - Implementation of class AST_Field - * - * AST_Fields denote fields in IDL structure, union and exception - * declarations. AST_Field is also used as a superclass of AST_Argument - * and AST_UnionBranch. - * AST_Fields have a field type (a subclass of AST_Type) and a name - * (a UTL_ScopedName) - * - * AST_Field supplies two constructors, one to be used in constructing - * AST_Field nodes, the other to be used in constructing AST_Argument - * nodes and AST_UnionBranch nodes. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ - -/* - * Default constructor - */ -AST_Field::AST_Field() - : pd_field_type(NULL) -{ -} - -/* - * To be used when constructing an AST_Field node - */ -AST_Field::AST_Field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_field, n, p), - pd_field_type(ft) -{ -} - -/* - * To be used when constructing a node of a subclass of AST_Field - */ -AST_Field::AST_Field(AST_Decl::NodeType nt, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(nt, n, p), - pd_field_type(ft) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Field node to the ostream o - */ -void -AST_Field::dump(ostream &o) -{ - pd_field_type->local_name()->dump(o); - o << " "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Type * -AST_Field::field_type() -{ - return pd_field_type; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Field, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Field) diff --git a/TAO/TAO_IDL/ast/ast_generator.cpp b/TAO/TAO_IDL/ast/ast_generator.cpp deleted file mode 100644 index 56b8bc152fc..00000000000 --- a/TAO/TAO_IDL/ast/ast_generator.cpp +++ /dev/null @@ -1,401 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_generator.cc - Implements the base AST node generator - * - * The generator protocol is explained in detail in the IDL CFE - * design document. - * The AST_Generator class provides operations to instantiate any - * of the AST nodes. It contains an operation for every constructor - * of every AST class. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Construct an AST_PredefinedType node (a predefined type) - */ -AST_PredefinedType * -AST_Generator::create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_PredefinedType(t, n, p); -} - -/* - * Construct an AST_Module node (a module) - */ -AST_Module * -AST_Generator::create_module(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Module(n, p); -} - -/* - * Construct an AST_Root node (a node representing the root of an AST) - */ -AST_Root * -AST_Generator::create_root(UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Root(n, p); -} - -/* - * Construct an AST_Interface node (an interface) - */ -AST_Interface * -AST_Generator::create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) -{ - return new AST_Interface(n, ih, nih, p); -} - -/* - * Construct an AST_InterfaceFwd node (a node representing the forward - * declaration of an interface) - */ -AST_InterfaceFwd * -AST_Generator::create_interface_fwd(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_InterfaceFwd(n, p); -} - -/* - * Construct an AST_Exception node (an exception) - */ -AST_Exception * -AST_Generator::create_exception(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Exception(n, p); -} - -/* - * Construct an AST_Structure node (a struct) - */ -AST_Structure * -AST_Generator::create_structure(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Structure(n, p); -} - -/* - * Construct an AST_Enum node (an enum) - */ -AST_Enum * -AST_Generator::create_enum(UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Enum(n, p); -} - -/* - * Construct an AST_Operation node (an operation on an interface) - */ -AST_Operation * -AST_Generator::create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Operation(rt, fl, n, p); -} - -/* - * Construct an AST_Field node (a field in a struct, union or exception) - */ -AST_Field * -AST_Generator::create_field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Field(ft, n, p); -} - -/* - * Construct an AST_Argument node (an argument to an operation) - */ -AST_Argument * -AST_Generator::create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Argument(d, ft, n, p); -} - -/* - * Construct an AST_Attribute node (an attribute) - */ -AST_Attribute * -AST_Generator::create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Attribute(ro, ft, n, p); -} - -/* - * Construct an AST_Union node (a union) - */ -AST_Union * -AST_Generator::create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Union(dt, n, p); -} - -/* - * Construct an AST_UnionBranch node (a branch in a union) - */ -AST_UnionBranch * -AST_Generator::create_union_branch(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_UnionBranch(lab, ft, n, p); -} - -/* - * Construct an AST_UnionLabel node (a label in a union) - */ -AST_UnionLabel * -AST_Generator::create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *v) -{ - return new AST_UnionLabel(ul, v); -} - -/* - * Construct an AST_Constant node (a constant) - */ -AST_Constant * -AST_Generator::create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_Constant(et, ev, n, p); -} - -/* - * Construct an AST_Expression node denoting a symbolic name - */ -AST_Expression * -AST_Generator::create_expr(UTL_ScopedName *n) -{ - return new AST_Expression(n); -} - -/* - * Construct an AST_Expression denoting a coercion - */ -AST_Expression * -AST_Generator::create_expr(AST_Expression *v, AST_Expression::ExprType t) -{ - return new AST_Expression(v, t); -} - -/* - * Construct an AST_Expression node denoting a binary combinator - * of two other AST_Expression nodes - */ -AST_Expression * -AST_Generator::create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) -{ - return new AST_Expression(c, v1, v2); -} - -/* - * Construct an AST_Expression node denoting a long integer - */ -AST_Expression * -AST_Generator::create_expr(long v) -{ - return new AST_Expression(v); -} - -/* - * Construct an AST_Expression node denoting a long integer being used - * as a boolean - */ -AST_Expression * -AST_Generator::create_expr(long v, AST_Expression::ExprType t) -{ - return new AST_Expression(v, t); -} - -/* - * Construct an AST_Expression node denoting an unsigned long integer - */ -AST_Expression * -AST_Generator::create_expr(unsigned long v) -{ - return new AST_Expression(v); -} - -/* - * Construct an AST_Expression node denoting a string (a char * - * encapsulated as String) - */ -AST_Expression * -AST_Generator::create_expr(String *s) -{ - return new AST_Expression(s); -} - -/* - * Construct an AST_Expression node denoting a character - */ -AST_Expression * -AST_Generator::create_expr(char c) -{ - return new AST_Expression(c); -} - -/* - * Construct an AST_Expression node denoting a 64-bit floating point number - */ -AST_Expression * -AST_Generator::create_expr(double d) -{ - return new AST_Expression(d); -} - -/* - * Construct an AST_EnumVal node (an enumerator) - */ -AST_EnumVal * -AST_Generator::create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return new AST_EnumVal(v, n, p); -} - -/* - * Construct an AST_Array node (an array type or field modifier) - */ -AST_Array * -AST_Generator::create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims) -{ - return new AST_Array(n, ndims, dims); -} - -/* - * Construct an AST_Sequence node (a sequence type definition) - */ -AST_Sequence * -AST_Generator::create_sequence(AST_Expression *ms, AST_Type *bt) -{ - return new AST_Sequence(ms, bt); -} - -/* - * Construct an AST_String node (a string type definition) - */ -AST_String * -AST_Generator::create_string(AST_Expression *ms) -{ - return new AST_String(ms); -} - -/* - * Construct an AST_String node denoting a wide string type definition - */ -AST_String * -AST_Generator::create_wstring(AST_Expression *ms) -{ - return new AST_String(ms, sizeof(wchar_t)); -} - -/* - * Construct an AST_Typedef node (a typedef) - */ -AST_Typedef * -AST_Generator::create_typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) -{ - return new AST_Typedef(bt, n, p); -} diff --git a/TAO/TAO_IDL/ast/ast_interface.cpp b/TAO/TAO_IDL/ast/ast_interface.cpp deleted file mode 100644 index 569173d7069..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface.cpp +++ /dev/null @@ -1,560 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_interface.cc - Implementation of class AST_Interface - * - * AST_Interfaces denote IDL interface definitions - * AST_Interfaces are subclasses of AST_Type and UTL_Scope - * AST_Interfaces have an array of inherited interfaces and - * a count of the number of inherited interfaces. This count - * represents the total number of unique (recursively) inherited - * interfaces. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Interface::AST_Interface() - : pd_inherits(NULL), - pd_n_inherits(0) -{ -} - -AST_Interface::AST_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_interface, n, p), - UTL_Scope(AST_Decl::NT_interface), - pd_inherits(ih), - pd_n_inherits(nih) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add an AST_Constant node (a constant declaration) to this scope - */ -AST_Constant *AST_Interface::fe_add_constant(AST_Constant *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Exception node (an exception declaration) to this scope - */ -AST_Exception *AST_Interface::fe_add_exception(AST_Exception *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Attribute node (an attribute declaration) to this scope - */ -AST_Attribute *AST_Interface::fe_add_attribute(AST_Attribute *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Operation node (an operation declaration) to this scope - */ -AST_Operation *AST_Interface::fe_add_operation(AST_Operation *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Structure (a struct declaration) to this scope - */ -AST_Structure *AST_Interface::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Enum node (an enum declaration) to this scope - */ -AST_Enum *AST_Interface::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Union (a union declaration) to this scope - */ -AST_Union *AST_Interface::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_EnumVal node (an enumerator) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Interface::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Typedef (a typedef) to the current scope - */ -AST_Typedef *AST_Interface::fe_add_typedef(AST_Typedef *t) -{ - AST_Decl *d; - - /* - * Can't add to interface which was not yet defined - */ - if (!is_defined()) { - idl_global->err()->error2(UTL_Error::EIDL_DECL_NOT_DEFINED, this, t); - return NULL; - } - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Interface node to the ostream o - */ -void -AST_Interface::dump(ostream &o) -{ - long i; - - o << "interface "; - local_name()->dump(o); - o << " "; - if (pd_n_inherits > 0) { - o << ": "; - for (i = 0; i < pd_n_inherits; i++) { - pd_inherits[i]->local_name()->dump(o); - if (i < pd_n_inherits - 1) - o << ", "; - } - } - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Data accessors - */ - -AST_Interface ** -AST_Interface::inherits() -{ - return pd_inherits; -} - -void -AST_Interface::set_inherits(AST_Interface **i) -{ - pd_inherits = i; -} - -long -AST_Interface::n_inherits() -{ - return pd_n_inherits; -} - -void -AST_Interface::set_n_inherits(long i) -{ - pd_n_inherits = i; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Interface, AST_Type, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Interface) -IMPL_NARROW_FROM_SCOPE(AST_Interface) diff --git a/TAO/TAO_IDL/ast/ast_interface_fwd.cpp b/TAO/TAO_IDL/ast/ast_interface_fwd.cpp deleted file mode 100644 index 1382fb91468..00000000000 --- a/TAO/TAO_IDL/ast/ast_interface_fwd.cpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_interface_fwd.cc - Implementation of class AST_InterfaceFwd - * - * AST_InterfaceFwd nodes denote forward declarations of IDL interfaces - * AST_InterfaceFwd nodes have a field containing the full declaration - * of the interface, which is initialized when that declaration is - * encountered. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_InterfaceFwd::AST_InterfaceFwd() - : pd_full_definition(NULL) -{ -} - -AST_InterfaceFwd::AST_InterfaceFwd(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_interface_fwd, n, p) -{ - /* - * Create a dummy placeholder for the forward declared interface. This - * interface node is not yet defined (n_inherits < 0), so some operations - * will fail - */ - pd_full_definition = idl_global->gen()->create_interface(n, NULL, -1, p); - /* - * Record the node in a list to be checked after the entire AST has been - * parsed. All nodes in the list must have n_inherits >= 0, else this - * indicates that a full definition was not seen for this forward - * delcared interface - */ - AST_record_fwd_interface(this); -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_InterfaceFwd node to the ostream o - */ -void -AST_InterfaceFwd::dump(ostream &o) -{ - o << "interface "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Interface * -AST_InterfaceFwd::full_definition() -{ - return pd_full_definition; -} - -void -AST_InterfaceFwd::set_full_definition(AST_Interface *nfd) -{ - pd_full_definition = nfd; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1 (AST_InterfaceFwd, AST_Type) -IMPL_NARROW_FROM_DECL (AST_InterfaceFwd) diff --git a/TAO/TAO_IDL/ast/ast_module.cpp b/TAO/TAO_IDL/ast/ast_module.cpp deleted file mode 100644 index 582fa267668..00000000000 --- a/TAO/TAO_IDL/ast/ast_module.cpp +++ /dev/null @@ -1,554 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_module.cc - Implementation of class AST_Module - * - * AST_Modules denote IDL module declarations - * AST_Modules are subclasses of AST_Decl (they are not a type!) and - * of UTL_Scope. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Module::AST_Module() -{ -} - -AST_Module::AST_Module(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_PredefinedType node (a predefined type declaration) to - * this scope - */ -AST_PredefinedType *AST_Module::fe_add_predefined_type(AST_PredefinedType *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Module node (a module declaration) to this scope - */ -AST_Module *AST_Module::fe_add_module(AST_Module *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Interface node (an interface declaration) to this scope - */ -AST_Interface *AST_Module::fe_add_interface(AST_Interface *t) -{ - AST_Decl *predef; - AST_Interface *fwd; - - /* - * Already defined? - */ - if ((predef = lookup_for_add(t, I_FALSE)) != NULL) { - /* - * Treat fwd declared interfaces specially - */ - if (predef->node_type() == AST_Decl::NT_interface) { - fwd = AST_Interface::narrow_from_decl(predef); - - if (fwd == NULL) - return NULL; - - if (!fwd->is_defined()) { /* Forward declared and not defined yet */ - if (fwd->defined_in() != this) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, fwd, t, this); - return NULL; - } - } - /* - * OK, not illegal redef of forward declaration. Now check whether - * it has been referenced already - */ - else if (referenced(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, predef); - return NULL; - } - } else if (!can_be_redefined(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, predef); - return NULL; - } else if (referenced(predef)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, predef); - return NULL; - } else if (t->has_ancestor(predef)) { - idl_global->err()->redefinition_in_scope(t, predef); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_InterfaceFwd node (a forward declaration of an IDL - * interface) to this scope - */ -AST_InterfaceFwd *AST_Module::fe_add_interface_fwd(AST_InterfaceFwd *i) -{ - AST_Decl *d; - AST_Interface *itf; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(i, I_FALSE)) != NULL) { - if (d->node_type() == AST_Decl::NT_interface && - d->defined_in() == this) { - itf = AST_Interface::narrow_from_decl(d); - if (itf == NULL) - return NULL; - - i->set_full_definition(itf); - return i; - } - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, i, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, i, this, d); - return NULL; - } - if (i->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(i, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(i); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(i, I_FALSE); - - return i; -} - -/* - * Add this AST_Constant node (a constant declaration) to this scope - */ -AST_Constant *AST_Module::fe_add_constant(AST_Constant *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Exception node (an exception declaration) to this scope - */ -AST_Exception *AST_Module::fe_add_exception(AST_Exception *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union node (a union declaration) to this scope - */ -AST_Union *AST_Module::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure node (a struct declaration) to this scope - */ -AST_Structure *AST_Module::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (an enum declaration) to this scope - */ -AST_Enum *AST_Module::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (an enumerator declaration) to this scope - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Module::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Typedef node (a typedef) to this scope - */ -AST_Typedef *AST_Module::fe_add_typedef(AST_Typedef *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Module node to the ostream o - */ -void -AST_Module::dump(ostream &o) -{ - o << "module "; - local_name()->dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Module) -IMPL_NARROW_FROM_SCOPE(AST_Module) diff --git a/TAO/TAO_IDL/ast/ast_operation.cpp b/TAO/TAO_IDL/ast/ast_operation.cpp deleted file mode 100644 index 288c268d49e..00000000000 --- a/TAO/TAO_IDL/ast/ast_operation.cpp +++ /dev/null @@ -1,326 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_operation.cc - Implementation of class AST_Operation - * - * AST_Operation nodes denote IDL operation declarations - * AST_Operations are a subclass of AST_Decl (they are not a type!) - * and of UTL_Scope (the arguments are managed in a scope). - * AST_Operations have a return type (a subclass of AST_Type), - * a bitfield for denoting various properties of the operation (the - * values are ORed together from constants defined in the enum - * AST_Operation::FLags), a name (a UTL_ScopedName), a context - * (implemented as a list of Strings, a UTL_StrList), and a raises - * clause (implemented as an array of AST_Exceptions). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Operation::AST_Operation() - : pd_return_type(NULL), - pd_flags(OP_noflags), - pd_context(NULL), - pd_exceptions(NULL) -{ -} - -AST_Operation::AST_Operation(AST_Type *rt, Flags fl, UTL_ScopedName *n, - UTL_StrList *p) - : pd_return_type(rt), - pd_flags(fl), - pd_context(NULL), - pd_exceptions(NULL), - AST_Decl(AST_Decl::NT_op, n, p), - UTL_Scope(AST_Decl::NT_op) -{ - AST_PredefinedType *pdt; - - /* - * Check that if the operation is oneway, the return type must be void - */ - if (rt != NULL && pd_flags == OP_oneway) { - if (rt->node_type() != AST_Decl::NT_pre_defined) - idl_global->err()->error1(UTL_Error::EIDL_NONVOID_ONEWAY, this); - else { - pdt = AST_PredefinedType::narrow_from_decl(rt); - if (pdt == NULL || pdt->pt() != AST_PredefinedType::PT_void) - idl_global->err()->error1(UTL_Error::EIDL_NONVOID_ONEWAY, this); - } - } -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this context (a UTL_StrList) to this scope - */ -UTL_StrList * -AST_Operation::fe_add_context(UTL_StrList *t) -{ - pd_context = t; - - return t; -} - -/* - * Add these exceptions (identified by name) to this scope. - * This looks up each name to resolve it to the name of a known - * exception, and then adds the referenced exception to the list - * of exceptions that this operation can raise. - * - * NOTE: No attempt is made to ensure that exceptions are mentioned - * only once.. - */ -UTL_NameList * -AST_Operation::fe_add_exceptions(UTL_NameList *t) -{ - UTL_NamelistActiveIterator *nl_i; - UTL_ScopedName *nl_n; - UTL_Scope *fs = idl_global->scopes()->top(); - AST_Exception *fe; - AST_Decl *d; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (fs); - - pd_exceptions = NULL; - nl_i = new UTL_NamelistActiveIterator(t); - while (!(nl_i->is_done())) { - nl_n = nl_i->item(); - d = lookup_by_name(nl_n, I_TRUE); - if (d == NULL || d->node_type() != AST_Decl::NT_except) { - idl_global->err()->lookup_error(nl_n); - delete nl_i; - return NULL; - } - fe = AST_Exception::narrow_from_decl(d); - if (fe == NULL) { - idl_global->err()->error1(UTL_Error::EIDL_ILLEGAL_RAISES, this); - return NULL; - } - if (pd_exceptions == NULL) - pd_exceptions = new UTL_ExceptList(fe, NULL); - else - pd_exceptions->nconc(new UTL_ExceptList(fe, NULL)); - nl_i->next(); - } - delete nl_i; - - return t; -} - -/* - * Add this AST_Argument node (an operation argument declaration) - * to this scope - */ -AST_Argument *AST_Operation::fe_add_argument(AST_Argument *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_by_name_local(t->local_name(), I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Cannot add OUT or INOUT argument to oneway operation - */ - if ((t->direction() == AST_Argument::dir_OUT || - t->direction() == AST_Argument::dir_INOUT) && - pd_flags == OP_oneway) { - idl_global->err()->error2(UTL_Error::EIDL_ONEWAY_CONFLICT, t, this); - return NULL; - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Operation node (an operation) to the ostream o - */ -void -AST_Operation::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i; - UTL_StrlistActiveIterator *si; - UTL_ExceptlistActiveIterator *ei; - AST_Decl *d; - AST_Exception *e; - String *s; - - if (pd_flags == OP_oneway) - o << "oneway "; - else if (pd_flags == OP_idempotent) - o << "idempotent "; - - i = new UTL_ScopeActiveIterator(this, IK_decls); - pd_return_type->name()->dump(o); - o << " "; - local_name()->dump(o); - o << "("; - while (!(i->is_done())) { - d = i->item(); - d->dump(o); - i->next(); - if (!(i->is_done())) - o << ", "; - } - delete i; - o << ")"; - - if (pd_exceptions != NULL) { - o << " raises("; - ei = new UTL_ExceptlistActiveIterator(pd_exceptions); - while (!(ei->is_done())) { - e = ei->item(); - ei->next(); - e->local_name()->dump(o); - if (!(ei->is_done())) - o << ", "; - } - delete ei; - o << ")"; - } - if (pd_context != NULL) { - o << " context("; - si = new UTL_StrlistActiveIterator(pd_context); - while (!(si->is_done())) { - s = si->item(); - si->next(); - o << s->get_string(); - if (!(si->is_done())) - o << ", "; - } - delete si; - o << ")"; - } -} - -/* - * Data accessors - */ - -AST_Type * -AST_Operation::return_type() -{ - return pd_return_type; -} - -AST_Operation::Flags -AST_Operation::flags() -{ - return pd_flags; -} - -UTL_StrList * -AST_Operation::context() -{ - return pd_context; -} - -UTL_ExceptList * -AST_Operation::exceptions() -{ - return pd_exceptions; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Operation, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Operation) -IMPL_NARROW_FROM_SCOPE(AST_Operation) diff --git a/TAO/TAO_IDL/ast/ast_predefined_type.cpp b/TAO/TAO_IDL/ast/ast_predefined_type.cpp deleted file mode 100644 index 3e0d868bdce..00000000000 --- a/TAO/TAO_IDL/ast/ast_predefined_type.cpp +++ /dev/null @@ -1,128 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_predefined_type.cc - Implementation of class AST_PredefinedType - * - * AST_PredefinedType nodes denote the various predefined types such - * as long, short, etc. that are available in IDL. Each AST_PredefinedType - * node has a field (the value of this field is from the enum - * AST_PredefinedType::PredefinedType) which denotes the specific predefined - * type that this node represents. There is only one node in the entire - * AST which represents each predefined type, such as long etc. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ -AST_PredefinedType::AST_PredefinedType() - : pd_pt(PT_long) -{ -} - -AST_PredefinedType::AST_PredefinedType(PredefinedType t, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_pre_defined, n, p), - pd_pt(t) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_PredefinedType node to the ostream o - */ -void -AST_PredefinedType::dump(ostream &o) -{ - AST_Decl::dump(o); -} - -/* - * Data accessors - */ - -AST_PredefinedType::PredefinedType -AST_PredefinedType::pt() -{ - return pd_pt; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_PredefinedType, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_PredefinedType) diff --git a/TAO/TAO_IDL/ast/ast_recursive.cpp b/TAO/TAO_IDL/ast/ast_recursive.cpp deleted file mode 100644 index 6a904999b63..00000000000 --- a/TAO/TAO_IDL/ast/ast_recursive.cpp +++ /dev/null @@ -1,165 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_recursive.cc - Check whether a type is used recursively in a situation - * where this use would be illegal. - * - * EXPLANATION: The CORBAS says that the only legal use of recursive types is - * in a manifest sequence declared inside a struct or union whose base type is - * the struct or union - * - * ALGORITH FOR CHECK: - * Sequences push a NULL on the scope stack to mark where in the scope nesting - * they appear. - * - * - If the type is not a struct or union, return FALSE (legal use of type) - * - Otherwise check up the scope stack, looking for this base type. If we - * find a NULL return FALSE (legal use of type, since it is inside some - * sequence). If we find the type on the stack, return TRUE (illegal use - * since it was not bracketed by a sequence). If we don't find the base - * type nor a sequence, return FALSE (legal use, since we're not nested). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * FE_illegal_recursive_type() - Implement the algorithm described above - */ -idl_bool -AST_illegal_recursive_type(AST_Decl *t) -{ - UTL_ScopeStackActiveIterator *i = 0; - UTL_Scope *s = 0; - AST_Structure *st1 = 0, *st2 = 0; - AST_Union *un1 = 0, *un2 = 0; - idl_bool check_for_struct = I_FALSE, - check_for_union = I_FALSE; - - if (t == NULL) return I_FALSE; - - /* - * We only care about structs and unions - */ - if (t->node_type() != AST_Decl::NT_struct && - t->node_type() != AST_Decl::NT_union) - return I_FALSE; // NOT ILLEGAL - /* - * Narrow the type appropriately so comparison will work - */ - if (t->node_type() == AST_Decl::NT_struct) { - check_for_struct = I_TRUE; - st1 = AST_Structure::narrow_from_decl(t); - if (st1 == NULL) - return I_FALSE; // NOT ILLEGAL - } else if (t->node_type() == AST_Decl::NT_union) { - check_for_union = I_TRUE; - un1 = AST_Union::narrow_from_decl(t); - if (un1 == NULL) - return I_FALSE; // NOT ILLEGAL - } - /* - * OK, iterate up the stack - */ - i = new UTL_ScopeStackActiveIterator(idl_global->scopes()); - while (!(i->is_done())) { - s = i->item(); - /* - * If we hit a NULL we're done since it means that we're nested inside - * a sequence, where recursive types may be used - */ - if (s == NULL) { - delete i; - return I_FALSE; // NOT ILLEGAL - } - /* - * OK, must check this scope - */ - if (s->scope_node_type() == AST_Decl::NT_struct && check_for_struct) { - st2 = AST_Structure::narrow_from_scope(s); - if (st2 != NULL && st2 == st1) { - delete i; - return I_TRUE; // ILLEGAL RECURSIVE TYPE USE - } - } else if (s->scope_node_type() == AST_Decl::NT_union && - check_for_union) { - un2 = AST_Union::narrow_from_scope(s); - if (un2 != NULL && un2 == un1) { - delete i; - return I_TRUE; // ILLEGAL RECURSIVE TYPE USE - } - } - /* - * This one is fine, get next item - */ - i->next(); - } - /* - * No more scopes to check. This type was used legally - */ - delete i; - return I_FALSE; // NOT ILLEGAL -} - diff --git a/TAO/TAO_IDL/ast/ast_redef.cpp b/TAO/TAO_IDL/ast/ast_redef.cpp deleted file mode 100644 index 6567e90ebbf..00000000000 --- a/TAO/TAO_IDL/ast/ast_redef.cpp +++ /dev/null @@ -1,106 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_redef.cc - Implement utility function to decide when redefinition - * is allowed - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Return TRUE if the node d represents an IDL construct whose name - * can be redefined. - */ -idl_bool -can_be_redefined(AST_Decl *d) -{ - switch (d->node_type()) { - case AST_Decl::NT_module: - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_const: - case AST_Decl::NT_except: - case AST_Decl::NT_argument: - case AST_Decl::NT_enum_val: - case AST_Decl::NT_string: - case AST_Decl::NT_array: - case AST_Decl::NT_sequence: - case AST_Decl::NT_union: - case AST_Decl::NT_struct: - case AST_Decl::NT_enum: - case AST_Decl::NT_typedef: - return I_TRUE; - - case AST_Decl::NT_union_branch: - case AST_Decl::NT_field: - case AST_Decl::NT_attr: - case AST_Decl::NT_op: - case AST_Decl::NT_pre_defined: - default: - return I_FALSE; - } -} - diff --git a/TAO/TAO_IDL/ast/ast_root.cpp b/TAO/TAO_IDL/ast/ast_root.cpp deleted file mode 100644 index 2af71a474b5..00000000000 --- a/TAO/TAO_IDL/ast/ast_root.cpp +++ /dev/null @@ -1,164 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_root.cc - Implementation of class AST_Root - * - * AST_Root nodes represent the roots of ASTs. - * AST_Root is a subclass of AST_Module, and is defined to allow BEs - * to subclass it to associate their own information with an entire - * AST. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Root::AST_Root() -{ -} - -AST_Root::AST_Root(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Add protocol - */ - -/* - * Add this AST_Sequence to the locally defined types in this scope - */ -AST_Sequence * -AST_Root::fe_add_sequence(AST_Sequence *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type", 1, 0, I_FALSE), - NULL)); - add_to_local_types(t); - return t; -} - -/* - * Add this AST_String to the locally defined types in this scope - */ -AST_String * -AST_Root::fe_add_string(AST_String *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type", 1, 0, I_FALSE), - NULL)); - add_to_local_types(t); - - return t; -} - -/* - * Add this AST_Array to the locally defined types in this scope - */ -AST_Array * -AST_Root::fe_add_array(AST_Array *t) -{ - if (t == NULL) - return NULL; - t->set_name(new UTL_ScopedName(new Identifier("local type",1,0,I_FALSE), - NULL)); - add_to_local_types(t); - - return t; -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Root node to the ostream o - */ -void -AST_Root::dump(ostream &o) -{ - UTL_Scope::dump(o); -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS1(AST_Root, AST_Module) -IMPL_NARROW_FROM_DECL(AST_Root) -IMPL_NARROW_FROM_SCOPE(AST_Root) diff --git a/TAO/TAO_IDL/ast/ast_sequence.cpp b/TAO/TAO_IDL/ast/ast_sequence.cpp deleted file mode 100644 index fb170005dfd..00000000000 --- a/TAO/TAO_IDL/ast/ast_sequence.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_sequence.cc - Implementation of class AST_Sequence - * - * AST_Sequence nodes represent IDL sequence declarations. - * AST_Sequence is a subclass of AST_ConcreteType. - * AST_Sequence nodes have a maximum size (an AST_Expression which - * must evaluate to a positive integer) and a base type (a subclass - * of AST_Type). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Sequence::AST_Sequence() - : pd_max_size(0), - pd_base_type(NULL) -{ -} - -AST_Sequence::AST_Sequence(AST_Expression *ms, AST_Type *bt) - : pd_max_size(ms), - pd_base_type(bt), - AST_Decl(AST_Decl::NT_sequence, - new UTL_ScopedName( - new Identifier("sequence",1,0,I_FALSE), - NULL), - NULL) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Sequence node to the ostream o - */ -void -AST_Sequence::dump(ostream &o) -{ - o << "sequence <"; - pd_base_type->dump(o); - o << ", "; - pd_max_size->dump(o); - o << ">"; -} - -/* - * Data accessors - */ - -AST_Expression * -AST_Sequence::max_size() -{ - return pd_max_size; -} - -AST_Type * -AST_Sequence::base_type() -{ - return pd_base_type; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_Sequence, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_Sequence) diff --git a/TAO/TAO_IDL/ast/ast_string.cpp b/TAO/TAO_IDL/ast/ast_string.cpp deleted file mode 100644 index 092955866a3..00000000000 --- a/TAO/TAO_IDL/ast/ast_string.cpp +++ /dev/null @@ -1,149 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_string.cc - Implementation of class AST_String - * - * AST_String nodes represent IDL string declarations. - * AST_String is a subclass of AST_ConcreteType. - * AST_String nodes have a maximum size (an AST_Expression which must - * evaluate to a positive integer). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_String::AST_String() - : pd_max_size(0), pd_width(1) -{ -} - -AST_String::AST_String(AST_Expression *ms) - : pd_max_size(ms), pd_width(sizeof(char)), - AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(new Identifier("string",1,0,I_FALSE), - NULL), - NULL) -{ -} - -AST_String::AST_String(AST_Expression *ms, long wide) - : pd_max_size(ms), pd_width(wide), - AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(wide == sizeof(char) - ? new Identifier("string",1,0,I_FALSE) - : new Identifier("wstring_t", - 1, - 0, - I_FALSE), - NULL), - NULL) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_String node to the ostream o - */ -void -AST_String::dump(ostream &o) -{ - o << "string <"; - pd_max_size->dump(o); - o << ">"; -} - -/* - * Data accessors - */ - -AST_Expression * -AST_String::max_size() -{ - return pd_max_size; -} - -long -AST_String::width() -{ - return pd_width; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_String, AST_ConcreteType) -IMPL_NARROW_FROM_DECL(AST_String) diff --git a/TAO/TAO_IDL/ast/ast_structure.cpp b/TAO/TAO_IDL/ast/ast_structure.cpp deleted file mode 100644 index e821569c05d..00000000000 --- a/TAO/TAO_IDL/ast/ast_structure.cpp +++ /dev/null @@ -1,309 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_structure.cc - Implementation of class AST_Structure - * - * AST_Structure nodes denote IDL struct declarations. - * AST_Structure is a subclass of AST_ConcreteType and of UTL_Scope (the - * structure's fields are managed in a scope). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Structure::AST_Structure() -{ -} - -AST_Structure::AST_Structure(UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_struct, n, p), - UTL_Scope(AST_Decl::NT_struct) -{ -} - -AST_Structure::AST_Structure(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p), - UTL_Scope(nt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_Field node (a field declaration) to this scope - */ -AST_Field *AST_Structure::fe_add_field(AST_Field *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Structure node (a manifest struct type) to this scope - */ -AST_Structure *AST_Structure::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add an AST_Union node (a manifest union type) to this scope - */ -AST_Union *AST_Structure::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (a manifest enum declaration) to this scope - */ -AST_Enum *AST_Structure::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (an enumerator declaration) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Structure::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Structure node to the ostream o - */ -void -AST_Structure::dump(ostream &o) -{ - o << "struct "; - AST_Decl::dump(o); - o << " {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Structure, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Structure) -IMPL_NARROW_FROM_SCOPE(AST_Structure) diff --git a/TAO/TAO_IDL/ast/ast_type.cpp b/TAO/TAO_IDL/ast/ast_type.cpp deleted file mode 100644 index fb9b83ae219..00000000000 --- a/TAO/TAO_IDL/ast/ast_type.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_type.cc - Implementation of class AST_Type - * - * AST_Type is the base class for all AST classes which represent - * IDL type constructs. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Type::AST_Type() -{ -} - -AST_Type::AST_Type(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(nt, n, p) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - - -// Narrowing -IMPL_NARROW_METHODS1(AST_Type, AST_Decl) -IMPL_NARROW_FROM_DECL(AST_Type) diff --git a/TAO/TAO_IDL/ast/ast_typedef.cpp b/TAO/TAO_IDL/ast/ast_typedef.cpp deleted file mode 100644 index ecd4f28de46..00000000000 --- a/TAO/TAO_IDL/ast/ast_typedef.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_typedef.cc - Implementation of class AST_Typedef - * - * AST_Typedef nodes represent an IDL typedef statement. - * AST_Typedef is a subclass of AST_Decl (it is not a type, - * but instead is a type renaming). - * AST_Typedef nodes have a base type (a subclass of AST_Type) - * and a name (an UTL_ScopedName). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Typedef::AST_Typedef() - : pd_base_type(NULL) -{ -} - -AST_Typedef::AST_Typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_typedef, n, p), - pd_base_type(bt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_Typedef node to the ostream o - */ -void -AST_Typedef::dump(ostream &o) -{ - o << "typedef "; - pd_base_type->dump(o); - o << " "; - local_name()->dump(o); -} - -/* - * Data accessors - */ - -AST_Type * -AST_Typedef::base_type() -{ - return pd_base_type; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_Typedef, AST_Type) -IMPL_NARROW_FROM_DECL(AST_Typedef) diff --git a/TAO/TAO_IDL/ast/ast_union.cpp b/TAO/TAO_IDL/ast/ast_union.cpp deleted file mode 100644 index b5bb4c14f2d..00000000000 --- a/TAO/TAO_IDL/ast/ast_union.cpp +++ /dev/null @@ -1,553 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union.cc - Implementation of class AST_Union - * - * AST_Union nodes represent IDL union declarations. - * AST_Union is a subclass of AST_ConcreteType and of UTL_Scope (the - * union branches are managed in a scope). - * AST_Union nodes have a discriminator type (a subclass of AST_ConcreteType), - * a name (an UTL_ScopedName) and a field denoting the discriminator type if - * it is a primitive type (the value of this field is from the union - * AST_Expression::ExprType and serves as a cache). This field is used - * to compute coercions for labels based on the expected discriminator type. - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_Union::AST_Union() -{ -} - -AST_Union::AST_Union(AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) -{ - AST_PredefinedType *pdt; - - if (dt == NULL) { - pd_disc_type = NULL; - pd_udisc_type = AST_Expression::EV_none; - return; - } - /* - * If the discriminator type is a predefined type - * then install the equivalent coercion target type in - * the pd_udisc_type field. - */ - if (dt->node_type() == AST_Decl::NT_pre_defined) { - pdt = AST_PredefinedType::narrow_from_decl(dt); - if (pdt == NULL) { - pd_disc_type = NULL; - pd_udisc_type = AST_Expression::EV_none; - return; - } - pd_disc_type = dt; - switch (pdt->pt()) { - case AST_PredefinedType::PT_long: - pd_udisc_type = AST_Expression::EV_long; - break; - case AST_PredefinedType::PT_ulong: - pd_udisc_type = AST_Expression::EV_ulong; - break; - case AST_PredefinedType::PT_short: - pd_udisc_type = AST_Expression::EV_short; - break; - case AST_PredefinedType::PT_ushort: - pd_udisc_type = AST_Expression::EV_ushort; - break; - case AST_PredefinedType::PT_char: - pd_udisc_type = AST_Expression::EV_char; - break; - case AST_PredefinedType::PT_octet: - pd_udisc_type = AST_Expression::EV_octet; - break; - case AST_PredefinedType::PT_boolean: - pd_udisc_type = AST_Expression::EV_bool; - break; - default: - pd_udisc_type = AST_Expression::EV_none; - pd_disc_type = NULL; - break; - } - } else if (dt->node_type() == AST_Decl::NT_enum) { - pd_udisc_type = AST_Expression::EV_any; - pd_disc_type = dt; - } else { - pd_udisc_type = AST_Expression::EV_none; - pd_disc_type = NULL; - } - - if (pd_disc_type == NULL) - idl_global->err()->error2(UTL_Error::EIDL_DISC_TYPE, this, dt); -} - -/* - * Private operations - */ - -/* - * Look up the default branch in union - */ -AST_UnionBranch * -AST_Union::lookup_default() -{ - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_both); - AST_UnionBranch *b; - AST_Decl *d; - - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - b = AST_UnionBranch::narrow_from_decl(d); - if (b == NULL) { - i->next(); - continue; - } - if (b->label() != NULL && - b->label()->label_kind() == AST_UnionLabel::UL_default) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch by label - */ -AST_UnionBranch * -AST_Union::lookup_label(AST_UnionBranch *b) -{ - AST_UnionLabel *l = b->label(); - UTL_ScopeActiveIterator *i; - AST_Decl *d; - AST_UnionBranch *fb; - - if (l->label_val() == NULL) - return b; - l->label_val()->set_ev(l->label_val()->coerce(pd_udisc_type)); - if (l->label_val()->ev() == NULL) { - idl_global->err()->eval_error(l->label_val()); - return b; - } - - i = new UTL_ScopeActiveIterator(this, IK_decls); - - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - fb = AST_UnionBranch::narrow_from_decl(d); - if (fb == NULL) { - i->next(); - continue; - } - if (fb->label() != NULL && - fb->label()->label_kind() == AST_UnionLabel::UL_label && - fb->label()->label_val()->compare(l->label_val())) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch in an enum which is the discriminator type for this - * union, based on the label value which must be an enumerator in that - * enum. - */ -AST_UnionBranch * -AST_Union::lookup_enum(AST_UnionBranch *b) -{ - AST_UnionLabel *l = b->label(); - AST_Expression *v; - AST_Enum *e = AST_Enum::narrow_from_decl(pd_disc_type); - UTL_ScopeActiveIterator *i; - AST_Decl *d; - AST_UnionBranch *fb; - - if (e == NULL) return NULL; - if (l->label_val() == NULL) - return b; - v = l->label_val(); - /* - * Expecting a symbol label - */ - if (v->ec() != AST_Expression::EC_symbol) { - idl_global->err()->enum_val_expected(this, l); - return b; - } - /* - * See if the symbol defines a constant in the discriminator enum - */ - d = e->lookup_by_name(v->n(), I_TRUE); - if (d == NULL || d->defined_in() != e) { - idl_global->err()->enum_val_lookup_failure(this, e, v->n()); - return b; - } - /* - * OK, now see if this symbol is already used as the label of - * some other branch - */ - i = new UTL_ScopeActiveIterator(this, IK_decls); - while (!(i->is_done())) { - d = i->item(); - if (d->node_type() == AST_Decl::NT_union_branch) { - fb = AST_UnionBranch::narrow_from_decl(d); - if (fb == NULL) { - i->next(); - continue; - } - if (fb->label() != NULL && - fb->label()->label_kind() == AST_UnionLabel::UL_label && - fb->label()->label_val()->compare (l->label_val())) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, b); - delete i; - return b; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look up a branch by value. This is the top level branch label resolution - * entry point. It dispatches to the right lookup function depending on the - * union discriminator type. - */ -AST_UnionBranch * -AST_Union::lookup_branch(AST_UnionBranch *branch) -{ - AST_UnionLabel *l = NULL; - - if (branch != NULL) - l = branch->label(); - - if (l != NULL) { - if (l->label_kind() == AST_UnionLabel::UL_default) - return lookup_default(); - if (pd_udisc_type == AST_Expression::EV_any) - /* CONVENTION: indicates enum discr */ - return lookup_enum(branch); - return lookup_label(branch); - } - return NULL; -} - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Add this AST_UnionBranch node (a node representing one branch in a - * union declaration) to this scope - */ -AST_UnionBranch *AST_Union::fe_add_union_branch(AST_UnionBranch *t) -{ - AST_Decl *d; - - /* - * If this is a malformed branch, don't do anything with it - */ - if (t == NULL || t->label() == NULL) - return NULL; - /* - * If branch with that label already exists, complain - */ - if (lookup_branch(t) != NULL) { - idl_global->err()->error2(UTL_Error::EIDL_MULTIPLE_BRANCH, this, t); - return NULL; - } - /* - * If branch with same field name exists, complain - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Union (manifest union type) to this scope - */ -AST_Union *AST_Union::fe_add_union(AST_Union *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Structure node (manifest struct type) to this scope - */ -AST_Structure *AST_Union::fe_add_structure(AST_Structure *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_Enum node (manifest enum type) to this scope - */ -AST_Enum *AST_Union::fe_add_enum(AST_Enum *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to local types - */ - add_to_local_types(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Add this AST_EnumVal node (enumerator declaration) to this scope. - * This is done to conform to the C++ scoping rules which declare - * enumerators in the enclosing scope (in addition to declaring them - * in the enum itself) - */ -AST_EnumVal *AST_Union::fe_add_enum_val(AST_EnumVal *t) -{ - AST_Decl *d; - - /* - * Already defined and cannot be redefined? Or already used? - */ - if ((d = lookup_for_add(t, I_FALSE)) != NULL) { - if (!can_be_redefined(d)) { - idl_global->err()->error3(UTL_Error::EIDL_REDEF, t, this, d); - return NULL; - } - if (referenced(d)) { - idl_global->err()->error3(UTL_Error::EIDL_DEF_USE, t, this, d); - return NULL; - } - if (t->has_ancestor(d)) { - idl_global->err()->redefinition_in_scope(t, d); - return NULL; - } - } - /* - * Add it to scope - */ - add_to_scope(t); - /* - * Add it to set of locally referenced symbols - */ - add_to_referenced(t, I_FALSE); - - return t; -} - -/* - * Dump this AST_Union node to the ostream o - */ -void -AST_Union::dump(ostream &o) -{ - o << "union "; - local_name()->dump(o); - o << " switch ("; - pd_disc_type->local_name()->dump(o); - o << ") {\n"; - UTL_Scope::dump(o); - idl_global->indent()->skip_to(o); - o << "}"; -} - -/* - * Data accessors - */ - -AST_ConcreteType * -AST_Union::disc_type() -{ - return pd_disc_type; -} - -AST_Expression::ExprType -AST_Union::udisc_type() -{ - return pd_udisc_type; -} - -// Narrowing -IMPL_NARROW_METHODS2(AST_Union, AST_ConcreteType, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Union) -IMPL_NARROW_FROM_SCOPE(AST_Union) diff --git a/TAO/TAO_IDL/ast/ast_union_branch.cpp b/TAO/TAO_IDL/ast/ast_union_branch.cpp deleted file mode 100644 index 55220d7c29f..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_branch.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union_branch.cc - Implementation of class AST_UnionBranch - * - * AST_UnionBranch nodes represent a single branch of an IDL union - * declaration. - * AST_UnionBranch is a subclass of AST_Field, adding a label (which - * is a subclass of AST_UnionLabel). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) and destructor - */ -AST_UnionBranch::AST_UnionBranch() - : pd_label(NULL) -{ -} - -AST_UnionBranch::AST_UnionBranch(AST_UnionLabel *fl, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Field(AST_Decl::NT_union_branch, ft, n, p), - AST_Decl(AST_Decl::NT_union_branch, n, p), - pd_label(fl) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Dump this AST_UnionBranch node to the ostream o - */ -void -AST_UnionBranch::dump(ostream &o) -{ - o << "case "; - pd_label->dump(o); - o << ": "; - AST_Field::dump(o); -} - -/* - * Data accessors - */ - -AST_UnionLabel * -AST_UnionBranch::label() -{ - return pd_label; -} - -// Narrowing -IMPL_NARROW_METHODS1(AST_UnionBranch, AST_Field) -IMPL_NARROW_FROM_DECL(AST_UnionBranch) diff --git a/TAO/TAO_IDL/ast/ast_union_label.cpp b/TAO/TAO_IDL/ast/ast_union_label.cpp deleted file mode 100644 index 18b080d323c..00000000000 --- a/TAO/TAO_IDL/ast/ast_union_label.cpp +++ /dev/null @@ -1,133 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * ast_union_label.cc - Implementation of class AST_UnionLabel - * - * AST_UnionLabel denotes the label of a branch in an IDL union - * declaration. - * AST_UnionLabel nodes have a label kind (the values come from the - * enum AST_UnionLabel::LabelKind) and a label value (which is a - * subclass of AST_Expression). - */ - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ -AST_UnionLabel::AST_UnionLabel() - : pd_label_kind(UL_default), - pd_label_val(NULL) -{ -} - -AST_UnionLabel::AST_UnionLabel(UnionLabel lk, AST_Expression *lv) - : pd_label_kind(lk), - pd_label_val(lv) -{ - if (lv != NULL) - lv->evaluate(AST_Expression::EK_const); -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -AST_UnionLabel::UnionLabel -AST_UnionLabel::label_kind() -{ - return pd_label_kind; -} - -AST_Expression * -AST_UnionLabel::label_val() -{ - return pd_label_val; -} - -/* - * Dump this AST_UnionLabel node to the ostream o - */ -void -AST_UnionLabel::dump(ostream &o) -{ - if (pd_label_kind == UL_default) - o << "default"; - else - pd_label_val->dump(o); -} diff --git a/TAO/TAO_IDL/be/Makefile b/TAO/TAO_IDL/be/Makefile deleted file mode 100644 index 5c5c70d8a89..00000000000 --- a/TAO/TAO_IDL/be/Makefile +++ /dev/null @@ -1,3001 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libbe -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libbe -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -BE_FILES = \ - be_array \ - be_argument \ - be_attribute \ - be_constant \ - be_enum \ - be_enum_val \ - be_exception \ - be_expression \ - be_field \ - be_interface \ - be_interface_fwd \ - be_module \ - be_operation \ - be_predefined_type \ - be_root \ - be_sequence \ - be_string \ - be_structure \ - be_type \ - be_typedef \ - be_union \ - be_union_branch \ - be_union_label \ - be_generator \ - be_init \ - be_produce \ - be_args \ - be_helper \ - be_state \ - be_state_array \ - be_state_argument \ - be_state_attribute \ - be_state_operation \ - be_state_sequence \ - be_state_structure \ - be_state_typedef \ - be_state_union \ - be_codegen \ - be_factory \ - be_sunsoft \ - be_decl \ - be_scope - -FILES = $(BE_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -ifeq ($(CXX),g++) -CCFLAGS += -Wno-switch -endif - -CPPFLAGS += -I../include -I../be_include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/be_array.o .shobj/be_array.so: be_array.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_argument.o .shobj/be_argument.so: be_argument.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_attribute.o .shobj/be_attribute.so: be_attribute.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_constant.o .shobj/be_constant.so: be_constant.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_enum.o .shobj/be_enum.so: be_enum.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_enum_val.o .shobj/be_enum_val.so: be_enum_val.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_exception.o .shobj/be_exception.so: be_exception.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_expression.o .shobj/be_expression.so: be_expression.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_field.o .shobj/be_field.so: be_field.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_interface.o .shobj/be_interface.so: be_interface.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_interface_fwd.o .shobj/be_interface_fwd.so: be_interface_fwd.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_module.o .shobj/be_module.so: be_module.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_operation.o .shobj/be_operation.so: be_operation.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_predefined_type.o .shobj/be_predefined_type.so: be_predefined_type.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_root.o .shobj/be_root.so: be_root.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_sequence.o .shobj/be_sequence.so: be_sequence.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_string.o .shobj/be_string.so: be_string.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_structure.o .shobj/be_structure.so: be_structure.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_type.o .shobj/be_type.so: be_type.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_typedef.o .shobj/be_typedef.so: be_typedef.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_union.o .shobj/be_union.so: be_union.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_union_branch.o .shobj/be_union_branch.so: be_union_branch.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_union_label.o .shobj/be_union_label.so: be_union_label.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_generator.o .shobj/be_generator.so: be_generator.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_init.o .shobj/be_init.so: be_init.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_produce.o .shobj/be_produce.so: be_produce.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_args.o .shobj/be_args.so: be_args.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_helper.o .shobj/be_helper.so: be_helper.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state.o .shobj/be_state.so: be_state.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_array.o .shobj/be_state_array.so: be_state_array.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_argument.o .shobj/be_state_argument.so: be_state_argument.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_attribute.o .shobj/be_state_attribute.so: be_state_attribute.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_operation.o .shobj/be_state_operation.so: be_state_operation.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_sequence.o .shobj/be_state_sequence.so: be_state_sequence.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_structure.o .shobj/be_state_structure.so: be_state_structure.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_typedef.o .shobj/be_state_typedef.so: be_state_typedef.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_state_union.o .shobj/be_state_union.so: be_state_union.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_codegen.o .shobj/be_codegen.so: be_codegen.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_factory.o .shobj/be_factory.so: be_factory.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h \ - ../be_include/be_sunsoft.h -.obj/be_sunsoft.o .shobj/be_sunsoft.so: be_sunsoft.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h \ - ../be_include/be_sunsoft.h -.obj/be_decl.o .shobj/be_decl.so: be_decl.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h -.obj/be_scope.o .shobj/be_scope.so: be_scope.cpp ../include/idl.h \ - $(ACE_ROOT)/ace/ACE.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/config.h \ - $(ACE_ROOT)/ace/stdcpp.h \ - $(ACE_ROOT)/ace/OS.i \ - $(ACE_ROOT)/ace/Trace.h \ - $(ACE_ROOT)/ace/Log_Msg.h \ - $(ACE_ROOT)/ace/Log_Record.h \ - $(ACE_ROOT)/ace/Log_Priority.h \ - $(ACE_ROOT)/ace/Log_Record.i \ - $(ACE_ROOT)/ace/Version.h \ - $(ACE_ROOT)/ace/ACE.i \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h ../be_include/be.h \ - $(ACE_ROOT)/ace/Singleton.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.h \ - $(ACE_ROOT)/ace/SV_Semaphore_Simple.i \ - $(ACE_ROOT)/ace/SV_Semaphore_Complex.i \ - $(ACE_ROOT)/ace/Synch.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Event_Handler.h \ - $(ACE_ROOT)/ace/Event_Handler.i \ - $(ACE_ROOT)/ace/Synch_T.i \ - $(ACE_ROOT)/ace/Thread.h \ - $(ACE_ROOT)/ace/Thread.i \ - $(ACE_ROOT)/ace/Atomic_Op.i \ - $(ACE_ROOT)/ace/Singleton.i \ - ../be_include/be_decl.h ../be_include/be_scope.h \ - ../be_include/be_generator.h ../be_include/be_type.h \ - ../be_include/be_predefined_type.h ../be_include/be_module.h \ - ../be_include/be_interface.h ../be_include/be_interface_fwd.h \ - ../be_include/be_structure.h ../be_include/be_exception.h \ - ../be_include/be_expression.h ../be_include/be_enum.h \ - ../be_include/be_operation.h ../be_include/be_field.h \ - ../be_include/be_argument.h ../be_include/be_attribute.h \ - ../be_include/be_union.h ../be_include/be_union_branch.h \ - ../be_include/be_union_label.h ../be_include/be_constant.h \ - ../be_include/be_enum_val.h ../be_include/be_array.h \ - ../be_include/be_sequence.h ../be_include/be_string.h \ - ../be_include/be_typedef.h ../be_include/be_root.h \ - ../be_include/be_helper.h ../be_include/be_state.h \ - ../be_include/be_codegen.h ../be_include/be_factory.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/be/be_args.cpp b/TAO/TAO_IDL/be/be_args.cpp deleted file mode 100644 index f4ee9159feb..00000000000 --- a/TAO/TAO_IDL/be/be_args.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// be_args.cc - Collect command line arguments for the BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * Prepare an argument for a BE - * - * Since this is the dummy BE, it doesn't do anything with the passed string - */ -void -BE_prep_arg(char *, idl_bool) -{ -} diff --git a/TAO/TAO_IDL/be/be_argument.cpp b/TAO/TAO_IDL/be/be_argument.cpp deleted file mode 100644 index 5fbd90661be..00000000000 --- a/TAO/TAO_IDL/be/be_argument.cpp +++ /dev/null @@ -1,152 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_argument.cpp -// -// = DESCRIPTION -// Extension of class AST_Argument that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Argument - */ - -be_argument::be_argument (void) -{ -} - -be_argument::be_argument (AST_Argument::Direction d, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Argument (d, ft, n, p), - AST_Field (AST_Decl::NT_argument, ft, n, p), - AST_Decl (AST_Decl::NT_argument, n, p) -{ -} - - -// All the methods here are very similar. The state is set by the be_operation -// method which then invokes its scope which inturn calls one of these methods -// with the state that was set. - - -int -be_argument::gen_client_header (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_client_header - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_client_stubs (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_client_stubs - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_server_header (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_server_header - " - "error generating type\n"), - -1); - } - return 0; -} - -int -be_argument::gen_server_skeletons (void) -{ - be_type *bt; // the field type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_argument::gen_server_skeletons - " - "error generating type\n"), - -1); - } - return 0; -} - -// Generates the client-side inline information -int -be_argument::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_argument::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_argument, AST_Argument, be_decl) -IMPL_NARROW_FROM_DECL (be_argument) diff --git a/TAO/TAO_IDL/be/be_array.cpp b/TAO/TAO_IDL/be/be_array.cpp deleted file mode 100644 index 6a8a7639efe..00000000000 --- a/TAO/TAO_IDL/be/be_array.cpp +++ /dev/null @@ -1,1262 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_array.cpp -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Array - */ -be_array::be_array (void) -{ -} - -be_array::be_array (UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims) - : AST_Array (n, ndims, dims), - AST_Decl (AST_Decl::NT_array, n, NULL) -{ - be_type *bt; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (bt); - - // if we are inside of a union, we change our local name to have an - // underscore before us - AST_Decl *d = ScopeAsDecl (this->defined_in ()); - if (d && (d->node_type () == AST_Decl::NT_union)) - { - static char namebuf [200]; - UTL_ScopedName *myname; - - ACE_OS::memset (namebuf, '\0', 200); - - // make a copy of our parent's name - myname = (UTL_ScopedName *)d->name ()->copy (); - ACE_OS::sprintf (namebuf, "_%s", this->local_name ()->get_string ()); - myname->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, 0, - I_FALSE), NULL)); - this->set_name (myname); - } -} - -// Code generation - -int -be_array::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - unsigned long i; // loop index - TAO_NL nl; // end line - be_type *bt; // our base type - be_decl *d; // enclosing scope - be_state *s; // state based code gen object - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (d); - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ARRAY_DEFN_CH); // set current code gen state - - ch = cg->client_header (); // retrieve client hdr stream - cg->outstream (ch); // set client hdr as the current stream - cg->node (this); // pass ourselves for type gen - - s = cg->make_state (); // get the state-based code generation object - - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate our base type - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_array: type generation failed\n")); - return -1; - } - - // print our name - *ch << " " << this->local_name (); - // print our dimensions - for (i = 0; i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimensions\n\n")); - return -1; - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - *ch << "[" << ((int)expr->ev ()->u.ulval) << "]"; - } - else - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimension value\n")); - return -1; - } - } - *ch << ";" << nl; - - // if our base type is VARIABLE length, then we are variable length too - this->size_type (bt->size_type ()); - - cg->pop (); - - cg->push (TAO_CodeGen::TAO_ARRAY_OTHER_CH); // rest of the array defn - s = cg->make_state (); - - *ch << "typedef "; - - // now generate the slice definition - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_array: type generation failed\n")); - return -1; - } - - *ch << " " << this->local_name () << "_slice"; - // print dimensions except first one - for (i = 1; i < this->n_dims (); i++) - { - // no error checking. Assumption is that everything is valid since we - // already checked it before. - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - // dimension value - *ch << "[" << ((int)expr->ev ()->u.ulval) << "]"; - } - *ch << ";" << nl; - - // memory management functions - // first find if we are inside a scope - if (this->is_nested ()) // we were defined inside a scope. Hence the - // memory management - // functions become static members of the enclosing class - *ch << "static "; - *ch << this->local_name () << "_slice *" << this->local_name () << - "_alloc (void);" << nl; - if (this->is_nested ()) - *ch << "static "; - *ch << this->local_name () << "_slice *" << this->local_name () << - "_dup (const " << this->local_name () << "_slice *);" << nl; - if (this->is_nested ()) - *ch << "static "; - *ch << "void " << this->local_name () << "_free (" << this->local_name () - << "_slice *);\n\n"; - - // generate the _var, _out, and _forany definition - this->gen_var_defn (); - this->gen_out_defn (); - this->gen_forany_defn (); - - // Generate the typecode decl - // All names in the root scope have length 2 (for the root and - // ourself). The children have length greater than 2. Thus, if our name - // length is 2 or less, we are outermost and our typecode decl must be - // extern, else we are defined static inside the enclosing scope. - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - this->cli_hdr_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -int -be_array::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CS); // set current code gen state - - cs = cg->client_stubs (); - // pass info - cg->outstream (cs); - cg->node (this); - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_sequence, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - cg->pop (); - this->cli_stub_gen_ = I_TRUE; - - } - return 0; -} - -int -be_array::gen_server_header (void) -{ - return 0; -} - -int -be_array::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the client-side inline information -int -be_array::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - TAO_OutStream *ci; // output stream - unsigned long i; // loop index - TAO_NL nl; // end line - be_type *bt; // our base type - be_decl *d; // enclosing scope - be_state *s; // state based code gen obj - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (d); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - cg->node (this); - cg->push (TAO_CodeGen::TAO_ARRAY_DEFN_CI); - s = cg->make_state (); - - // retrieve our base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // first define the _alloc, _dup and _free methods - // If we are defined inside some scope, these methods become static - // members of the enclosing scope - - ci->indent (); // start from current indentation - - // alloc method - *ci << "ACE_INLINE " << this->name () << "_slice *" << nl; - *ci << this->name () << "_alloc (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "new "; - if (s->gen_code (bt, this) == -1) - return -1; - - ci->decr_indent (); - *ci << "}\n\n"; - - // dup method - *ci << "ACE_INLINE " << this->name () << "_slice *" << nl; - *ci << this->name () << "_dup (" << this->name () << "_slice * s)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << "_slice *temp;" << nl; - *ci << "temp = " << this->name () << "_alloc ();" << nl; - *ci << "// copy each individual elements" << nl; - for (i = 0; i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimensions\n\n")); - return -1; - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - // generate a loop for each dimension - *ci << "for (CORBA::ULong i" << i << " = 0; i" << i << " < " << - expr->ev ()->u.ulval << "; i" << i << "++)\n"; - ci->incr_indent (); - } - else - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimension value\n")); - return -1; - } - } - - // the code below looks terribly complex. However, all it is trying to do - // is to generate code of the form - // temp [i0][i1].... = - *ci << "temp "; - for (i = 0; i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimensions\n\n")); - return -1; - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - *ci << "[" << ((int)expr->ev ()->u.ulval) << "]"; - } - else - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimension value\n")); - return -1; - } - } - *ci << " = s"; - for (i = 0; i < this->n_dims (); i++) - { - AST_Expression *expr = this->dims ()[i]; // retrieve the ith - // dimension value - if ((expr == NULL) || ((expr != NULL) && (expr->ev () == NULL))) - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimensions\n\n")); - return -1; - } - if (expr->ev ()->et == AST_Expression::EV_ulong) - { - *ci << "[" << ((int)expr->ev ()->u.ulval) << "]"; - } - else - { - ACE_ERROR ((LM_ERROR, "be_array: bad dimension value\n")); - return -1; - } - } - *ci << ";\n"; - for (i = 0; i < this->n_dims (); i++) - { - // decrement indentation as many times as the number of dimensions - ci->decr_indent (); - } - - ci->decr_indent (); - *ci << "}\n\n"; - - // free method - *ci << this->name () << "_free (" << this->name () << "_slice *s)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete [] s;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // emit implementations of methods of the _var, _out, and _forany classes - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _var impl code gen failed\n")); - return -1; - } - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _out impl code gen failed\n")); - return -1; - } - if (this->gen_forany_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: _forany impl code gen failed\n")); - return -1; - } - - // generate client inline for base type - if (bt->gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_array: base type inline code gen failed\n")); - return -1; - } - - cg->pop (); - this->cli_inline_gen_ = I_TRUE; - } - - return 0; -} - -// Generates the server-side inline -int -be_array::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the var defn -int -be_array::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << "_slice *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "_slice *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - // nothing here - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - // overloaded [] operator - *ch << namebuf << "_slice &operator[] (CORBA::ULong index);" << nl; - *ch << "const " << namebuf << - "_slice &operator[] (CORBA::ULong index) const;" << nl; - - // cast operators - *ch << "operator const " << local_name () << "_slice *&() const;" << nl; - *ch << "operator " << local_name () << "_slice *&();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " in (void) const;" << nl; - *ch << local_name () << " inout (void);" << nl; - *ch << local_name () << " out (void);" << nl; - *ch << local_name () << "_slice *_retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " in (void) const;" << nl; - *ch << local_name () << " inout (void);" << nl; - *ch << local_name () << "_slice *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - - // generate an additional member function that returns the underlying pointer - - *ch << local_name () << "_slice *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_slice *ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_array::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - be_array *b; - - b = be_array::narrow_from_decl (this); - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ ((" << name () << "_slice *)0)" << nl; - *ci << "{}\n\n"; - - // constr from a _slice * - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_slice *p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor (deep copy) - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "_dup (p.ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << "_free (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// is what we own the same that is being assigned to us?" << - nl; - *ci << "if (this->ptr_ != p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// delete our stuff and assume ownership of p" << nl; - *ci << this->name () << "_free (this->ptr_);" << nl; - *ci << "this->ptr_ = p;\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// not assigning to ourselves" << nl; - *ci << this->name () << "_free (this->ptr_); // free old stuff" << nl; - *ci << "this->ptr_ = " << this->name () << - "_dup (p.ptr_);// deep copy\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operators () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_slice *&() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_slice *&() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two operator []s instead of -> - ci->indent (); - *ci << "ACE_INLINE const" << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_array::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "_slice *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment from slice * - *ch << namebuf << " &operator= (" << local_name () << "_slice *);" << nl; - // cast - *ch << "operator " << local_name () << "_slice *&();" << nl; - // ptr fn - *ch << local_name () << "_slice *&ptr (void);" << nl; - // operator [] instead of -> - *ch << namebuf << "_slice &operator[] (CORBA::ULong index);" << nl; - *ch << "const " << namebuf << - "_slice &operator[] (CORBA::ULong index) const;" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_slice *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_array::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the out implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - be_array *b; - - b = be_array::narrow_from_decl (this); - // constr from a pointer to slice - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_slice *&p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << "_free (this->ptr_);" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_slice *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_slice *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator [] instead of -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _var definition for ourself -int -be_array::gen_forany_defn (void) -{ - TAO_OutStream *ch; // output stream - long i; // loop index - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_forany", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << "_slice *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << - "_slice *, CORBA::Boolean nocopy=0);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // overloaded [] operator - *ch << namebuf << "_slice &operator[] (CORBA::ULong index);" << nl; - *ch << "const " << namebuf << - "_slice &operator[] (CORBA::ULong index) const;" << nl; - - // cast operators - *ch << "operator const " << local_name () << "_slice *&() (void) const;" << nl; - *ch << "operator " << local_name () << "_slice *&() (void);" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " in (void) const;" << nl; - *ch << local_name () << " inout (void);" << nl; - *ch << local_name () << " out (void);" << nl; - *ch << local_name () << "_slice *_retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " in (void) const;" << nl; - *ch << local_name () << " inout (void);" << nl; - *ch << local_name () << "_slice *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_slice *ptr_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -int -be_array::gen_forany_impl (void) -{ - TAO_OutStream *ci; // output stream - long i; // loop index - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_forany", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_forany", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the forany implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ ((" << name () << "_slice *)0)" << nl; - *ci << "{}\n\n"; - - // constr from a _slice * - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_slice *p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor (deep copy) - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "_dup (p->ptr);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << "_free (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_slice p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// is what we own the same that is being assigned to us?" << - nl; - *ci << "if (this->ptr_ != p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// delete our stuff and assume ownership of p" << nl; - *ci << this->name () << "_free (this->ptr_);" << nl; - *ci << "this->ptr_ = p;\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// not assigning to ourselves" << nl; - *ci << this->name () << "_free (this->ptr_); // free old stuff" << nl; - *ci << "this->ptr_ = " << this->name () << - "_dup (p->ptr);// deep copy\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operators () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_slice &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_slice &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two operator []s instead of -> - ci->indent (); - *ci << "ACE_INLINE const" << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice &" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << fname << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_slice " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -int -be_array::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_array, // typecode kind" << nl; - *cs << this->tc_size () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description - -int -be_array::gen_encapsulation (void) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // base type - - os = cg->client_stubs (); - os->indent (); // start from the current indentation level - - // XXXASG - byte order must be based on what m/c we are generating code - - // TODO - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - - // emit typecode of element type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR ((LM_ERROR, "be_sequence::gen_typecode - bad base type\n")); - return -1; - } - - // emit the length - os->indent (); - // *os << this->max_size () << ",\n"; - return 0; -} - -// compute typecode size -long -be_array::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_array::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - - this->encap_len_ = 4; // holds the byte order flag - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_array::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - this->encap_len_ += 4; // to hold the array size - - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_array, AST_Array, be_type) -IMPL_NARROW_FROM_DECL (be_array) diff --git a/TAO/TAO_IDL/be/be_attribute.cpp b/TAO/TAO_IDL/be/be_attribute.cpp deleted file mode 100644 index fa87112369b..00000000000 --- a/TAO/TAO_IDL/be/be_attribute.cpp +++ /dev/null @@ -1,662 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_attribute.cpp -// -// = DESCRIPTION -// Extension of class AST_Attribute that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Attribute - */ -be_attribute::be_attribute (void) -{ -} - -be_attribute::be_attribute (idl_bool ro, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute (ro, ft, n, p), - AST_Field (AST_Decl::NT_attr, ft, n, p), - AST_Decl (AST_Decl::NT_attr, n, p) -{ -} - -// Handling attributes is very similar to operations. Attributes are mapped to -// two methods - one to set the value and one to get the value. For a readonly -// attribute we only have the method that retrieves the value. For the "set" -// method we pass an in parameter which is of the type of the attribute. So the -// handling here is exactly like the "in" parameters for arguments. The -// handling of the "get" method is exactly like the return values of -// operations. - -int -be_attribute::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - be_type *bt; // type node - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - - ch->indent (); // start with the current indentation level - - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "bad type\n"), - -1); - } - - - // first the "get" method - - // the retrieve method is defined virtual - *ch << "virtual "; - - // first generate the return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH); // we are now generating - // an attribute "get" - // definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - // generate the operation name - // additional argument in the form of CORBA::Environment since TAO does not - // yet support C++ style Exceptions. However, we can have an option to the - // "tao" IDL compiler to ask it to generate code for exceptions. This will be - // handled in a later release. - *ch << " " << this->local_name () << " (CORBA::Environment &env);\n"; - - // now the set method. However, this is not defined if we are readonly - if (!this->readonly ()) - { - ch->indent (); - *ch << "virtual void " << this->local_name () << "("; - - // we pass the type as an "in" parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH); - - s = cg->make_state (); // retrieve state based object - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_header - " - "in param type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - *ch << ", CORBA::Environment &env);\n"; - } - - return 0; -} - -int -be_attribute::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - // retrieve the type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "bad type\n"), - -1); - } - - // first the retrieve method - cs->indent (); // start with current indentation level - - // generate the TAO_Param_Data table for the "get" method - *cs << "static const TAO_Param_Data _get_" << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data _get_" << this->flatname () << "_calldata = " - << nl; - *cs << "{"; - // prepend a "_get_" - *cs << "\"_get_" << this->local_name () << "\", "; - *cs << "1, "; // always a twoway call - *cs << "1, "; // size is 1 - // insert the address of the paramdata table - *cs << "_get_" << this->flatname () << "_paramdata, "; - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - - // now generate the actual stub - - // first generate the return type - cs->indent (); - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS); // declare a return - // type of the stub - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "return type generation failure\n"), - -1); - } - cg->pop (); - - // generate the operation name - *cs << " " << this->name () << "(CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // declare a return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "retval declaration failure\n"), - -1); - } - cg->pop (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << - nl; - - // return the appropriate error value on exception - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "failure returning from exception\n"), - -1); - } - cg->pop (); - - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); // QueryInterface has bumped up our refcount" << nl; - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &_get_" << this->flatname () << - "_calldata, &retval);" << nl; - - // return the retval - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs\n" - "return val return generation failure\n"), - -1); - return -1; - } - cg->pop (); - - cs->decr_indent (0); - *cs << "\n}\n\n"; - - if (this->readonly ()) - return 0; // we were readonly, nothing else to do. - - // Now generate the stub for the "set" method - cs->indent (); // start with current indentation level - - // generate the TAO_Param_Data table for the "set" method - *cs << "static const TAO_Param_Data _set_" << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{CORBA::_tc_void, PARAM_RETURN, 0}," << nl; - *cs << "{" << bt->tc_name () << ", PARAM_IN, 0}\n"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data _set_" << this->flatname () << "_calldata = " - << nl; - *cs << "{"; - // prepend a "_set_" - *cs << "\"_set_" << this->local_name () << "\", "; - *cs << "1, "; // always a twoway call - *cs << "2, "; // size is 2 - // insert the address of the paramdata table - *cs << "_get_" << this->flatname () << "_paramdata, "; - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - - // now generate the actual stub - - cs->indent (); - *cs << "void " << this->name () << "("; - // generate the in parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure in argument generation in signature\n"), - -1); - } - cg->pop (); - - // last argument - is always CORBA::Environment - *cs << ", CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << - nl; - *cs << "return;\n"; - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); // QueryInterface has bumped up our refcount" << nl; - - // do any pre do_call stuff with the lone IN parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_atribute::gen_client_stubs - " - "failure generating pre docall stuff\n"), - -1); - } - cg->pop (); - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &_set_" << this->flatname () << - "_calldata, 0"; // no return value - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs - " - "in param in docall generation failure\n"), - -1); - return -1; - } - cg->pop (); - *cs << ");" << nl; - - // do any post do_call processing - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_client_stubs\n" - "post docall generation failure\n"), - -1); - return -1; - } - cg->pop (); - - cs->decr_indent (0); - *cs << "\n}\n\n"; - - return 0; -} - -int -be_attribute::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - be_type *bt; // type node - be_state *s; // state based code generator object - TAO_NL nl; // newline generator - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - sh = cg->server_header (); - - // first retrieve the type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "bad type\n"), - -1); - } - - // first the "get" method - - sh->indent (); // start with the current indentation level - - // the retrieve method is defined pure virtual - *sh << "virtual "; - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH); // we are now generating - // an operation - // definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - *sh << " " << this->local_name () << " (CORBA::Environment &env) = 0;" << nl; - - // generate the static method corresponding to the method - *sh << "static void _get_" << this->local_name () << - "_skel (CORBA::ServerRequest &req, " << - "CORBA::Object_ptr obj, CORBA::Environment &env);\n\n"; - - - // now the set method. However, this is not defined if we are readonly - if (this->readonly ()) - return 0; - - sh->indent (); - *sh << "virtual void " << this->local_name () << "("; - - // we pass the type as an "in" parameter - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH); - - s = cg->make_state (); // retrieve state based object - - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_header - " - "in param type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - *sh << ", CORBA::Environment &env) = 0;" << nl; - - // generate the static method corresponding to the method - *sh << "static void _set_" << this->local_name () << - "_skel (CORBA::ServerRequest &req, " << - "CORBA::Object_ptr obj, CORBA::Environment &env);\n\n"; - - - return 0; -} - -int -be_attribute::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object - be_interface *intf; // enclosing interface node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ss = cg->server_skeletons (); - - ss->indent (); // start with the current indentation level - - // retrieve our type - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "bad type\n"), - -1); - } - - // retrieve our enclosing interface decl - intf = be_interface::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - if (!intf) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "bad enclosing interface\n"), - -1); - } - - - // code generation - first the "get" method - *ss << "void " << intf->full_skel_name () << "::_get_" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - << "CORBA::Object_ptr _tao_object_reference, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - // define a variable that will eventually point to our implementation object - *ss << intf->full_skel_name () << "_ptr \t impl;" << nl; - // store the result in this Any - *ss << "CORBA::Any *result;" << nl; - // emit the return type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS); // emit type for return - // value - // get a state based code gen object - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for return val decl failed\n"), - -1); - } - cg->pop (); - - ss->indent (); - *ss << "// this method has no incoming parameters. Nothing to parse" << nl; - - // make the upcall - *ss << "impl = (" << intf->full_skel_name () << "_ptr) _tao_object_reference->get_subclass ();" - << nl; - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS); - s = cg->make_state (); - // emit code to assign to retval - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for return val assign failed\n"), - -1); - } - *ss << " = impl->" << this->local_name () << "(_tao_environment);" << nl; - cg->pop (); - - // insert our return val into the result - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for returning result failed\n"), - -1); - } - cg->pop (); - // insert the result into the server request - *ss << "_tao_server_request.result (result, _tao_environment);\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - if (this->readonly ()) - return 0; // nothing else to do as we are readonly - - // generate skeleton for the "set" method - - ss->indent (); - *ss << "void " << intf->full_skel_name () << "::_set_" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - << "CORBA::Object_ptr _tao_object_reference, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - // define an NVList to hold the in argument - *ss << "CORBA::NVList_ptr \t nvlist;" << nl; - // define a variable that will eventually point to our implementation object - *ss << intf->full_skel_name () << "_ptr \t impl;" << nl; - - // if we have any arguments, get each one of them and allocate an Any and - // NamedValue for each. In addition, define a variable of that type - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "codegen for returning result failed\n"), - -1); - } - cg->pop (); - - // declare an NVList and create one - ss->indent (); - *ss << "// create an NV list and populate it with typecodes" << nl; - *ss << "_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list" << nl; - - // add the "in" argument - // emit code that adds this argument to the NVList - *ss << "nv_" << this->local_name () << " = nvlist->add_value (\"" << - this->local_name () << "\", any_" << this->local_name () << - ", CORBA::ARG_IN, _tao_environment);" << nl; - - *ss << "// parse the arguments" << nl; - *ss << "_tao_server_request.params (nvlist, _tao_environment);" << nl; - *ss << "if (_tao_environment.exception ()) return;" << nl; - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "preupcall code failed\n"), - -1); - } - cg->pop (); - - // make the upcall - *ss << "impl = (" << intf->full_skel_name () << "_ptr) _tao_object_reference->get_subclass ();" - << nl; - - *ss << "impl->" << this->local_name () << "("; - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "upcall code failed\n"), - -1); - } - cg->pop (); - *ss << "_tao_environment);" << nl; - - cg->push (TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS); - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_attribute::gen_server_skeletons - " - "post upcall code failed\n"), - -1); - } - cg->pop (); - - *ss << "\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - return 0; -} - -// Generates the client-side inline information -int -be_attribute::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_attribute::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_attribute, AST_Attribute, be_decl) -IMPL_NARROW_FROM_DECL (be_attribute) diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp deleted file mode 100644 index 72468faa7bf..00000000000 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ /dev/null @@ -1,510 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.h -// -// = DESCRIPTION -// -// Code generation -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -static const int CHUNK = 100; - -/* BE global Data */ -TAO_CodeGen::TAO_CodeGen (void) - : client_header_ (0), - client_stubs_ (0), - client_inline_ (0), - server_header_ (0), - server_skeletons_ (0), - server_inline_ (0), - curr_os_ (0), - state_ (new TAO_CodeGen::CG_STATE [CHUNK]), - top_ (0), - size_ (CHUNK) -{ - // set the current code generation state - this->state_ [this->top_++] = TAO_CodeGen::TAO_INITIAL; -} - -// destructor -TAO_CodeGen::~TAO_CodeGen (void) -{ - delete client_header_; - delete server_header_; - delete client_stubs_; - delete server_skeletons_; - delete client_inline_; - delete server_inline_; - curr_os_ = 0; - delete [] state_; -} - -// factory method -be_state * -TAO_CodeGen::make_state (void) -{ - switch (this->state ()) - { - case TAO_STRUCT_CH: - return TAO_BE_STATE_STRUCT_CH::instance (); - case TAO_UNION_DISCTYPEDEFN_CH: - return TAO_BE_STATE_UNION_DISCTYPEDEFN_CH::instance (); - case TAO_UNION_DISCTYPEDEFN_CI: - return TAO_BE_STATE_UNION_DISCTYPEDEFN_CI::instance (); - case TAO_UNION_PUBLIC_CH: - return TAO_BE_STATE_UNION_PUBLIC_CH::instance (); - case TAO_UNION_PUBLIC_CI: - return TAO_BE_STATE_UNION_PUBLIC_CI::instance (); - case TAO_UNION_PRIVATE_CH: - return TAO_BE_STATE_UNION_PRIVATE_CH::instance (); - case TAO_OPERATION_CH: - case TAO_OPERATION_RETURN_TYPE_CS: - case TAO_OPERATION_RETVAL_DECL_CS: - case TAO_OPERATION_RETVAL_EXCEPTION_CS: - case TAO_OPERATION_RETVAL_RETURN_CS: - case TAO_OPERATION_SH: - case TAO_OPERATION_RETVAL_DECL_SS: - case TAO_OPERATION_RETVAL_ASSIGN_SS: - case TAO_OPERATION_RESULT_SS: - return TAO_BE_STATE_OPERATION::instance (); - case TAO_ARGUMENT_CH: - case TAO_ARGUMENT_CS: - case TAO_ARGUMENT_PRE_DOCALL_CS: - case TAO_ARGUMENT_DOCALL_CS: - case TAO_ARGUMENT_POST_DOCALL_CS: - case TAO_ARGUMENT_SH: - case TAO_ARGUMENT_SS: - case TAO_ARGUMENT_VARDECL_SS: - case TAO_ARGUMENT_PRE_UPCALL_SS: - case TAO_ARGUMENT_UPCALL_SS: - case TAO_ARGUMENT_POST_UPCALL_SS: - return TAO_BE_STATE_ARGUMENT::instance (); - case TAO_TYPEDEF_CH: - case TAO_TYPEDEF_CS: - case TAO_TYPEDEF_CI: - return TAO_BE_STATE_TYPEDEF::instance (); - case TAO_ARRAY_DEFN_CH: - case TAO_ARRAY_OTHER_CH: - case TAO_ARRAY_DEFN_CI: - return TAO_BE_STATE_ARRAY::instance (); - case TAO_SEQUENCE_BASE_CH: - case TAO_SEQUENCE_BASE_CS: - case TAO_SEQUENCE_BASE_CI: - case TAO_SEQUENCE_BODY_CH: - case TAO_SEQUENCE_BODY_CS: - case TAO_SEQUENCE_BODY_CI: - return TAO_BE_STATE_SEQUENCE::instance (); - case TAO_ATTRIBUTE_RETURN_TYPE_CH: - case TAO_ATTRIBUTE_INPARAM_TYPE_CH: - case TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_ATTRIBUTE_RETVAL_DECL_CS: - case TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - case TAO_ATTRIBUTE_RETVAL_RETURN_CS: - case TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_ATTRIBUTE_PRE_DOCALL_CS: - case TAO_ATTRIBUTE_DOCALL_CS: - case TAO_ATTRIBUTE_POST_DOCALL_CS: - case TAO_ATTRIBUTE_RETURN_TYPE_SH: - case TAO_ATTRIBUTE_INPARAM_TYPE_SH: - case TAO_ATTRIBUTE_RETVAL_DECL_SS: - case TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - case TAO_ATTRIBUTE_RESULT_SS: - case TAO_ATTRIBUTE_INPARAM_TYPE_SS: - case TAO_ATTRIBUTE_PRE_UPCALL_SS: - case TAO_ATTRIBUTE_UPCALL_SS: - case TAO_ATTRIBUTE_POST_UPCALL_SS: - return TAO_BE_STATE_ATTRIBUTE::instance (); - default: - return 0; - } -} - -// change the string to all upcase -const char * -TAO_CodeGen::upcase (const char *str) -{ - static char upcase_str [NAMEBUFSIZE]; - - ACE_OS::memset (upcase_str, '\0', NAMEBUFSIZE); - // convert letters in str to upcase - for (unsigned int i=0; i < ACE_OS::strlen (str); i++) - { - if (isalpha (str [i])) - { - upcase_str[i] = toupper (str [i]); - } - else - { - // copy it as it is - upcase_str[i] = str[i]; - } - } - return upcase_str; -} - -// set the client header stream -int -TAO_CodeGen::client_header (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_header_ = factory->make_outstream (); - if (!this->client_header_) - { - return -1; - } - - if (this->client_header_->open (fname, TAO_OutStream::TAO_CLI_HDR) == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strstr (fname, ".h"); - if (suffix == 0) - return -1; // bad file name - else - { - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - if (isalpha (fname [i])) - macro_name[i+9] = toupper (fname [i]); - - ACE_OS::strcat (macro_name, "_H_"); - - this->client_header_->print ("#if !defined (%s)\n", macro_name); - this->client_header_->print ("#define %s\n\n", macro_name); - *this->client_header_ << "#include \"tao/corba.h\"\n"; - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - for (size_t j = 0; - j < idl_global->n_include_file_names (); - ++j) - { - String* idl_name = - idl_global->include_file_names()[j]; - - const char* client_hdr = - IDL_GlobalData::be_get_client_hdr (idl_name); - - this->client_header_->print ("#include \"%s\"\n", - client_hdr); - } - *this->client_header_ << "\n"; - return 0; - } - } -} - -// get the client header stream -TAO_OutStream * -TAO_CodeGen::client_header (void) -{ - return this->client_header_; -} - -// set the client stub stream -int -TAO_CodeGen::client_stubs (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_stubs_ = factory->make_outstream (); - if (!this->client_stubs_) - { - return -1; - } - - if (this->client_stubs_->open (fname, TAO_OutStream::TAO_CLI_IMPL) == -1) - { - return -1; - } - // generate the include statement for the client header - *this->client_stubs_ << "#include \"" << - idl_global->be_get_client_hdr_fname () << "\"\n\n"; - - // generate the code that includes the inline file if not included in the - // header file - *this->client_stubs_ << "#if !defined (__ACE_INLINE__)\n"; - *this->client_stubs_ << "#include \"" << - idl_global->be_get_client_inline_fname () << "\"\n"; - *this->client_stubs_ << "#endif // !defined INLINE\n\n"; - return 0; -} - -// get the client stubs stream -TAO_OutStream * -TAO_CodeGen::client_stubs (void) -{ - return this->client_stubs_; -} - -// set the client inline stream -int -TAO_CodeGen::client_inline (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->client_inline_ = factory->make_outstream (); - if (!this->client_inline_) - { - return -1; - } - - return this->client_inline_->open (fname, TAO_OutStream::TAO_CLI_INL); -} - -// get the client inline stream -TAO_OutStream * -TAO_CodeGen::client_inline (void) -{ - return this->client_inline_; -} - -// set the server header stream -int -TAO_CodeGen::server_header (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_header_ = factory->make_outstream (); - if (!this->server_header_) - { - return -1; - } - - if (this->server_header_->open (fname, TAO_OutStream::TAO_SVR_HDR) == -1) - return -1; - else - { - // now generate the #if !defined clause - static char macro_name [NAMEBUFSIZE]; - - ACE_OS::memset (macro_name, '\0', NAMEBUFSIZE); - const char *suffix = ACE_OS::strstr (fname, ".h"); - if (suffix == 0) - return -1; // bad file name - else - { - ACE_OS::sprintf (macro_name, "_TAO_IDL_"); - // convert letters in fname to upcase - for (int i=0; i < (suffix - fname); i++) - { - if (isalpha (fname [i])) - { - macro_name[i+9] = toupper (fname [i]); - } - } - ACE_OS::strcat (macro_name, "_H_"); - - this->server_header_->print ("#if !defined (%s)\n", macro_name); - this->server_header_->print ("#define %s\n\n", macro_name); - - // We must include all the skeleton headers corresponding to - // IDL files included by the current IDL file. - for (size_t j = 0; - j < idl_global->n_include_file_names (); - ++j) - { - String* idl_name = - idl_global->include_file_names()[j]; - - const char* server_hdr = - IDL_GlobalData::be_get_server_hdr (idl_name); - - this->server_header_->print ("#include \"%s\"\n", - server_hdr); - } - // the server header should include the client header - *this->server_header_ << "#include \"" << - idl_global->be_get_client_hdr_fname () << "\"\n\n"; - - return 0; - } - } -} - -// get the server header stream -TAO_OutStream * -TAO_CodeGen::server_header (void) -{ - return this->server_header_; -} - -// set the server skeletons stream -int -TAO_CodeGen::server_skeletons (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_skeletons_ = factory->make_outstream (); - if (!this->server_skeletons_) - { - return -1; - } - - if (this->server_skeletons_->open (fname, TAO_OutStream::TAO_SVR_IMPL) == -1) - { - return -1; - } - - // generate the include statement for the server header - *this->server_skeletons_ << "#include \"" << - idl_global->be_get_server_hdr_fname () << "\"\n\n"; - - // generate the code that includes the inline file if not included in the - // header file - *this->server_skeletons_ << "#if !defined (__ACE_INLINE__)\n"; - *this->server_skeletons_ << "#include \"" << - idl_global->be_get_server_inline_fname () << "\"\n"; - *this->server_skeletons_ << "#endif // !defined INLINE\n\n"; - return 0; -} - -// get the server skeletons stream -TAO_OutStream * -TAO_CodeGen::server_skeletons (void) -{ - return this->server_skeletons_; -} - -// set the server inline stream -int -TAO_CodeGen::server_inline (const char *fname) -{ - // retrieve the singleton instance to the outstream factory - TAO_OutStream_Factory *factory = TAO_OUTSTREAM_FACTORY::instance (); - - // retrieve a specialized instance - this->server_inline_ = factory->make_outstream (); - if (!this->server_inline_) - { - return -1; - } - - return this->server_inline_->open (fname, TAO_OutStream::TAO_SVR_INL); -} - -// get the server inline stream -TAO_OutStream * -TAO_CodeGen::server_inline (void) -{ - return this->server_inline_; -} - -// put the last #endif in the client and server headers -int -TAO_CodeGen::end_client_header (void) -{ - // insert the code to include the inline file - *this->client_header_ << "\n#if defined (__ACE_INLINE__)\n"; - *this->client_header_ << "#include \"" << - idl_global->be_get_client_inline_fname () << "\"\n"; - *this->client_header_ << "#endif // defined INLINE\n\n"; - - // code to put the last #endif - *this->client_header_ << "\n#endif // if !defined\n"; - return 0; -} - -int -TAO_CodeGen::end_server_header (void) -{ - // insert the code to include the inline file - *this->server_header_ << "\n#if defined (__ACE_INLINE__)\n"; - *this->server_header_ << "#include \"" << - idl_global->be_get_server_inline_fname () << "\"\n"; - *this->server_header_ << "#endif // defined INLINE\n\n"; - - // code to put the last #endif - *this->server_header_ << "\n#endif // if !defined\n"; - return 0; -} - -// We use the following helper functions to pass information. This class is the -// best place to pass such information rather than passing information through -// global variables spread everywhere. This class is a singleton and is -// effectively a global. - -void -TAO_CodeGen::outstream (TAO_OutStream *os) -{ - this->curr_os_ = os; -} - -TAO_OutStream * -TAO_CodeGen::outstream (void) -{ - return this->curr_os_; -} - -void -TAO_CodeGen::push (TAO_CodeGen::CG_STATE s) -{ - if (this->top_ == this->size_) - { - TAO_CodeGen::CG_STATE *temp = this->state_; - this->size_ += CHUNK; - this->state_ = new TAO_CodeGen::CG_STATE [this->size_]; - for (int i=0; i < this->top_; i++) - this->state_ [i] = temp [i]; - delete []temp; - } - this->state_[this->top_++] = s; -} - -void -TAO_CodeGen::pop (void) -{ - this->top_--; -} - -TAO_CodeGen::CG_STATE -TAO_CodeGen::state (void) -{ - return this->state_[this->top_ - 1]; // top points to the next free slot -} - -void -TAO_CodeGen::reset (void) -{ - this->top_ = 1; // the 0th posn is always the INITIAL state -} - -void -TAO_CodeGen::node (be_decl *n) -{ - this->node_ = n; -} - -be_decl * -TAO_CodeGen::node (void) -{ - return this->node_; -} diff --git a/TAO/TAO_IDL/be/be_constant.cpp b/TAO/TAO_IDL/be/be_constant.cpp deleted file mode 100644 index efe50f9f355..00000000000 --- a/TAO/TAO_IDL/be/be_constant.cpp +++ /dev/null @@ -1,172 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_constant.cpp -// -// = DESCRIPTION -// Extension of class AST_Constant that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Constant - */ -be_constant::be_constant (void) -{ -} - -be_constant::be_constant (AST_Expression::ExprType et, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Constant (et, v, n, p), - AST_Decl (AST_Decl::NT_const, n, p) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the constant -int -be_constant::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_CONSTANT_CH); - - ch = cg->client_header (); - - // if we are defined in the outermost scope, then the value is assigned - // to us here itself, else it will be in the *.cpp file - - ch->indent (); // start from whatever indentation level we were at - *ch << "static const " << this->exprtype_to_string () << " " << local_name (); - if (!this->is_nested ()) - { - // We were defined at the outermost scope. So we put the value in the - // header itself - *ch << " = " << this->constant_value (); - } - *ch << ";\n\n"; - cg->pop (); - return 0; -} - -// Generates the client-side stubs for the constant -int -be_constant::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_CONSTANT_CS); - - cs = cg->client_stubs (); - - if (this->is_nested ()) - { - // for those constants not defined in the outer most scope, they get - // assigned to their values in the - cs->indent (); // start from whatever indentation level we were at - *cs << "const " << this->exprtype_to_string () << " " << this->name (); - *cs << " = " << this->constant_value (); - *cs << ";\n\n"; - } - cg->pop (); - return 0; -} - -// Generates the server-side header information for the constant -int -be_constant::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the constant -int -be_constant::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_constant::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_constant::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -char * -be_constant::exprtype_to_string (void) -{ - switch (this->et ()) - { - case AST_Expression::EV_short: - return "CORBA::Short"; - case AST_Expression::EV_ushort: - return "CORBA::UShort"; - case AST_Expression::EV_long: - return "CORBA::Long"; - case AST_Expression::EV_ulong: - return "CORBA::ULong"; - case AST_Expression::EV_float: - return "CORBA::Float"; - case AST_Expression::EV_double: - return "CORBA::Double"; - case AST_Expression::EV_char: - return "CORBA::Char"; - case AST_Expression::EV_octet: - return "CORBA::Octet"; - case AST_Expression::EV_bool: - return "CORBA::Boolean"; - case AST_Expression::EV_string: - return "char *const"; - case AST_Expression::EV_any: - return "CORBA::Any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_constant, AST_Constant, be_decl) -IMPL_NARROW_FROM_DECL (be_constant) diff --git a/TAO/TAO_IDL/be/be_decl.cpp b/TAO/TAO_IDL/be/be_decl.cpp deleted file mode 100644 index e242c719b0a..00000000000 --- a/TAO/TAO_IDL/be/be_decl.cpp +++ /dev/null @@ -1,417 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_decl.cpp -// -// = DESCRIPTION -// Extension of class AST_Decl that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// Default Constructor -be_decl::be_decl (void) - : cli_hdr_gen_ (I_FALSE), - cli_stub_gen_ (I_FALSE), - cli_inline_gen_ (I_FALSE), - srv_hdr_gen_ (I_FALSE), - srv_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - fullname_ (0), - flatname_ (0), - repoID_ (0), - size_type_ (be_decl::FIXED), // everybody is fixed size to start with - encap_len_ (-1) -{ -} - -// Constructor -be_decl::be_decl (AST_Decl::NodeType type, UTL_ScopedName *n, UTL_StrList - *pragmas) - : AST_Decl (type, n, pragmas), - cli_hdr_gen_ (I_FALSE), - cli_stub_gen_ (I_FALSE), - cli_inline_gen_ (I_FALSE), - srv_hdr_gen_ (I_FALSE), - srv_skel_gen_ (I_FALSE), - srv_inline_gen_ (I_FALSE), - fullname_ (0), - size_type_ (be_decl::FIXED), // everybody is fixed size to start with - encap_len_ (-1) -{ -} - -//destructor -be_decl::~be_decl (void) -{ -} - -int -be_decl::gen_encapsulation (void) -{ - // do nothing - return 0; -} - -long -be_decl::tc_encap_len (void) -{ - return -1; -} - -// return our size type -be_decl::SIZE_TYPE -be_decl::size_type (void) const -{ - return this->size_type_; -} - -// set our size type and that of all our ancestors -void -be_decl::size_type (be_decl::SIZE_TYPE st) -{ - if (st == be_decl::FIXED) // does not affect ancestors - return; - - if (this->size_type_ == st) // already of that type. - return; // nothing to do - - // precondition - ACE_ASSERT (st == be_decl::VARIABLE); - - this->size_type_ = st; - - // if we are just a typedef, nothing else to do - if (this->node_type () == AST_Decl::NT_typedef) - return; - - // update our parent if it is of a specific type - if (!this->defined_in ()) // we are outermost - return; // nothing to do - else - { - // get the scope we are defined in - be_decl *d = be_decl::narrow_from_decl (ScopeAsDecl (this->defined_in - ())); - switch (d->node_type ()) - { - // only these define valid scopes whose size needs to be set the same - // as ours. - case AST_Decl::NT_struct: - case AST_Decl::NT_union: - d->size_type (st); // call recursively to set the size type of - // our ancestors - default: - return; // we are done - } - } // end else -} - -// compute stringified fully scoped name -void -be_decl::compute_fullname (void) -{ - if (fullname_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 0; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 2; // for "::" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->fullname_ = new char [namelen+1]; - this->fullname_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->fullname_, "::"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->fullname_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - -const char* -be_decl::fullname (void) -{ - if (!this->fullname_) - compute_fullname (); - - return this->fullname_; -} - -// compute stringified flattened fully scoped name -void -be_decl::compute_flatname (void) -{ - if (flatname_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 0; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 1; // for "_" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->flatname_ = new char [namelen+1]; - this->flatname_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->flatname_, "_"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->flatname_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - -const char* -be_decl::flatname (void) -{ - if (!this->flatname_) - compute_flatname (); - - return this->flatname_; -} - -// compute stringified repository ID -void -be_decl::compute_repoID (void) -{ - if (repoID_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 8; // for the prefix "IDL:" and suffix ":1.0" - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 1; // for "/" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->repoID_ = new char [namelen+1]; - this->repoID_[0] = '\0'; - ACE_OS::sprintf (this->repoID_, "%s", "IDL:"); - i = new UTL_IdListActiveIterator (this->name ()); - first = I_TRUE; - second = I_FALSE; - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->repoID_, "/"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->repoID_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - ACE_OS::strcat (this->repoID_, ":1.0"); - } - return; -} - -const char * -be_decl::repoID (void) -{ - if (!this->repoID_) - compute_repoID (); - - return this->repoID_; -} - -// converts a string name into an array of 4 byte longs -int -be_decl::tc_name2long (const char *name, long *&larr, long &arrlen) -{ - static char buf [NAMEBUFSIZE]; - long slen; - unsigned int i; - - slen = ACE_OS::strlen (name) + 1; // 1 for NULL terminating - - // compute the number of bytes necessary to hold the name rounded to the next - // multiple of 4 (i.e., size of long) - arrlen = slen/4 + (slen%4 ? 1:0); - - ACE_OS::memset (buf, '\0', arrlen*4); - larr = (long *)buf; - - for (i=0; i < ACE_OS::strlen (name); i++) - { - long shift; // num bytes to shift left - - shift = 3 - (i%4); - // store the computed shifted quantity in the appropriate byte of the - // array to be returned - larr [i/4] |= ((name[i] & 0xff) << (shift*8)); - } - return 0; -} - -idl_bool -be_decl::is_nested (void) -{ - AST_Decl *d; - - d = ScopeAsDecl (this->defined_in ()); - // if we have an outermost scope and if that scope is not that of the Root, - // then we are defined at some nesting level - if (d && d->node_type () != AST_Decl::NT_root) - return I_TRUE; - - return I_FALSE; -} - -// return the length in bytes to hold the repoID inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -long -be_decl::repoID_encap_len (void) -{ - long slen; - - slen = ACE_OS::strlen (this->repoID ()) + 1; // + 1 for NULL terminating char - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); -} - -// return the length in bytes to hold the name inside a typecode. This -// comprises 4 bytes indicating the length of the string followed by the actual -// string represented as longs. -long -be_decl::name_encap_len (void) -{ - long slen; - - slen = ACE_OS::strlen (this->local_name ()->get_string ()) + 1; // + 1 for - // NULL terminating char - // the number of bytes to hold the string must be a multiple of 4 since this - // will be represented as an array of longs - return 4 + 4 * (slen/4 + (slen%4 ? 1:0)); -} - -// narrowing methods -IMPL_NARROW_METHODS1 (be_decl, AST_Decl) -IMPL_NARROW_FROM_DECL (be_decl) diff --git a/TAO/TAO_IDL/be/be_enum.cpp b/TAO/TAO_IDL/be/be_enum.cpp deleted file mode 100644 index ae430917c03..00000000000 --- a/TAO/TAO_IDL/be/be_enum.cpp +++ /dev/null @@ -1,319 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum.cpp -// -// = DESCRIPTION -// Extension of class AST_Enum that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Enum - */ -be_enum::be_enum (void) -{ -} - -be_enum::be_enum (UTL_ScopedName *n, UTL_StrList *p) - : AST_Enum (n, p), - AST_Decl (AST_Decl::NT_enum, n, p), - UTL_Scope (AST_Decl::NT_enum), - member_count_ (-1) -{ -} - -// compute total number of members -int -be_enum::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - this->member_count_++; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_enum::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the interface -int -be_enum::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - if (!this->cli_hdr_gen_) - { - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, IK_decls); - // scope iterator - AST_Decl *d; // AST node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ENUM_CH); - - ch = cg->client_header (); - - ch->indent (); // start from whatever indentation level we were at - *ch << "enum " << this->local_name () << nl; - *ch << "{\n"; - ch->incr_indent (); - while (!(i->is_done ())) - { - d = i->item (); - *ch << d->local_name (); - i->next (); - if (!(i->is_done())) - *ch << ", " << nl; - } - delete i; - *ch << "\n"; - ch->decr_indent (); - *ch << "};" << nl; - // As per the ORBOS spec, we need the following typedef - *ch << "typedef " << this->local_name () << " &" << this->local_name () << - "_out;\n"; - cg->pop (); - - // Generate the typecode decl - // All names in the root scope have length 2 (for the root and - // ourself). The children have length greater than 2. Thus, if our name - // length is 2 or less, we are outermost and our typecode decl must be - // extern, else we are defined static inside the enclosing scope. - if (this->name ()->length () > 2) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -// Generates the client-side stubs for the interface -int -be_enum::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ENUM_CS); // set current code gen state - - cs = cg->client_stubs (); - cg->outstream (cs); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << nl; - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_enum:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_enum, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -// Generates the server-side header information for the interface -int -be_enum::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the interface -int -be_enum::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_enum::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_enum::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate typecode. -// Typecode for enum comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_enum::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_enum, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -int -be_enum::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - - cs = cg->outstream (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate code for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_enum::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// return encapsulation length -long -be_enum::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID storage - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_enum, AST_Enum, be_scope, be_type) - IMPL_NARROW_FROM_DECL (be_enum) - IMPL_NARROW_FROM_SCOPE (be_enum) diff --git a/TAO/TAO_IDL/be/be_enum_val.cpp b/TAO/TAO_IDL/be/be_enum_val.cpp deleted file mode 100644 index e122e3a3cf7..00000000000 --- a/TAO/TAO_IDL/be/be_enum_val.cpp +++ /dev/null @@ -1,148 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum_val.cpp -// -// = DESCRIPTION -// Extension of class AST_EnumVal that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_enum_val::be_enum_val (void) -{ -} - -be_enum_val::be_enum_val (unsigned long v, UTL_ScopedName *n, UTL_StrList *p) - : AST_Constant (AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), - n, - p), - AST_Decl (AST_Decl::NT_enum_val, n, p) -{ -#if 0 - // computes the repoID - compute_repoID (); - - // computes the fully scoped name - compute_fullname (); - - // compute the flattened fully scoped name - compute_flatname (); -#endif -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// NOTE: The IDL front end does a strange thing of putting the enum_vals in the -// Enum decl scope as well as the scope that encloses the ENUM decl. Since we -// took care of generating the client header declarations for all the -// enum_vals, we do not do anything in any of the methods below. However, we -// have to provide them so that whenever be_scope finds an enum_val in a scope -// that is not an ENUM, it just ignores it. - -// Generates the client-side header information for the enum val -int -be_enum_val::gen_client_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side stubs for the enum val -int -be_enum_val::gen_client_stubs (void) -{ - return 0; -} - -// Generates the server-side header information for the enum val -int -be_enum_val::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the enum val -int -be_enum_val::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_enum_val::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_enum_val::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_enum_val::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // our type node - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (bt); - ACE_UNUSED_ARG (nl); - - cs = cg->client_stubs (); - cg->node (this); // pass ourselves in case we are needed - cs->indent (); // start from whatever indentation level we were at - - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - return 0; -} - -long -be_enum_val::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = this->name_encap_len (); // for name - } - - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_enum_val, AST_EnumVal, be_decl) -IMPL_NARROW_FROM_DECL (be_enum_val) diff --git a/TAO/TAO_IDL/be/be_exception.cpp b/TAO/TAO_IDL/be/be_exception.cpp deleted file mode 100644 index b06f60afe3b..00000000000 --- a/TAO/TAO_IDL/be/be_exception.cpp +++ /dev/null @@ -1,309 +0,0 @@ -// -// $Id$ -// - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Exception - */ -be_exception::be_exception (void) -{ -} - -be_exception::be_exception (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_except, n, p), - AST_Structure (AST_Decl::NT_except, n, p), - UTL_Scope (AST_Decl::NT_except), - member_count_ (-1) -{ -} - -// compute total number of members -int -be_exception::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - this->member_count_++; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_exception::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - - -int -be_exception::gen_client_header (void) -{ - if (!this->cli_hdr_gen_) // not already generated - { - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - TAO_OutStream *ch = cg->client_header (); // output stream - TAO_NL nl; // end line - - - cg->outstream (ch); - ch->indent (); // start from whatever indentation level we were at - - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - ch->indent (); - *ch << "class " << this->local_name () << ";" << nl; - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" - << this->local_name () << "_ptr;" << nl; - ch->gen_endif (); - - ch->gen_ifdef_macro (this->flatname ()); - - ch->indent (); - *ch << "class " << this->local_name () - << " : public virtual CORBA::UserException" << nl; - *ch << "{" << nl - << "public:" << nl; - ch->incr_indent (); - *ch << this->local_name () << " (void);\n"; - ch->decr_indent (); - *ch << "};" << nl << nl; - ch->gen_endif (); - - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - - this->cli_hdr_gen_ = I_TRUE; - } - - return 0; -} - -int -be_exception::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - TAO_NL nl; // end line - - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - TAO_OutStream *ci = cg->client_inline (); - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for exception " << this->name () << nl; - *ci << "// *************************************************************\n\n"; - - ci->indent (); - *ci << "// default constructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - ci->incr_indent (); - *ci << ": CORBA_UserException (_tc_" - << this->local_name () - << ")\n"; - ci->decr_indent (); - *ci << "{" << nl; - *ci << "}" << nl << nl; - - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_exception::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CS); // set current code gen state - - cs = cg->client_stubs (); - // pass info - cg->outstream (cs); - cg->node (this); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -int -be_exception::gen_server_header (void) -{ - return 0; -} - -int -be_exception::gen_server_inline (void) -{ - return 0; -} - -int -be_exception::gen_server_skeletons (void) -{ - return 0; -} - -// generate typecode. -// Typecode for exceptions comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_exception::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_struct, // typecode kind" << nl; - *cs << this->tc_size () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description -int -be_exception::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // XXXASG - byte order must be based on what m/c we are generating code - - // TODO - *cs << "0, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_exception: cannot generate typecode for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_exception::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// compute encapsulation length -long -be_exception::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_exception, AST_Exception, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_exception) -IMPL_NARROW_FROM_SCOPE (be_exception) diff --git a/TAO/TAO_IDL/be/be_expression.cpp b/TAO/TAO_IDL/be/be_expression.cpp deleted file mode 100644 index 1b95320823a..00000000000 --- a/TAO/TAO_IDL/be/be_expression.cpp +++ /dev/null @@ -1,77 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_expression.cpp -// -// = DESCRIPTION -// Extension of class AST_Expression that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Expression - */ - -// the constructors -be_expression::be_expression (UTL_ScopedName *n) - : AST_Expression (n) -{ -} - -be_expression::be_expression (AST_Expression *b, AST_Expression::ExprType t) - : AST_Expression (b, t) -{ -} - -be_expression::be_expression (AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) - : AST_Expression (c, v1, v2) -{ -} - -be_expression::be_expression (long l) - : AST_Expression (l) -{ -} - -be_expression::be_expression (long l, AST_Expression::ExprType t) - : AST_Expression (l, t) -{ -} - -be_expression::be_expression (unsigned long l) - : AST_Expression (l) -{ -} - -be_expression::be_expression (String *s) - : AST_Expression (s) -{ -} - -be_expression::be_expression (char c) - : AST_Expression (c) -{ -} - -be_expression::be_expression (double d) - : AST_Expression (d) -{ -} - - - diff --git a/TAO/TAO_IDL/be/be_factory.cpp b/TAO/TAO_IDL/be/be_factory.cpp deleted file mode 100644 index e0ef83d2f78..00000000000 --- a/TAO/TAO_IDL/be/be_factory.cpp +++ /dev/null @@ -1,39 +0,0 @@ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_sunsoft.h" - -// constructor -TAO_OutStream_Factory::TAO_OutStream_Factory (void) - : strm_type_ (TAO_OutStream_Factory::TAO_SUNSOFT) -{ -} - -// destructor -TAO_OutStream_Factory::~TAO_OutStream_Factory (void) -{ -} - -// set the type of specialized o/p stream we want -int -TAO_OutStream_Factory::set_stream_type -(TAO_OutStream_Factory::TAO_OutStream_Type t) -{ - this->strm_type_ = t; - return 0; -} - -// factory method -TAO_OutStream * -TAO_OutStream_Factory::make_outstream (void) -{ - switch (this->strm_type_) - { - case TAO_OutStream_Factory::TAO_SUNSOFT: - return new TAO_SunSoft_OutStream (); - case TAO_OutStream_Factory::TAO_FLICK: - return (TAO_OutStream *)0; // not implemented as yet - default: - return (TAO_OutStream *)0; - } -} diff --git a/TAO/TAO_IDL/be/be_field.cpp b/TAO/TAO_IDL/be/be_field.cpp deleted file mode 100644 index 804e84ef057..00000000000 --- a/TAO/TAO_IDL/be/be_field.cpp +++ /dev/null @@ -1,165 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_field.cpp -// -// = DESCRIPTION -// Extension of class AST_Field that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Field - */ -be_field::be_field (void) -{ -} -be_field::be_field (AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p) - : AST_Field (ft, n, p), - AST_Decl (AST_Decl::NT_field, n, p) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the field -int -be_field::gen_client_header (void) -{ - be_type *bt; // the field type - be_state *s; // code generation state - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cg->node (this); // pass info thru singleton - cg->outstream (cg->client_header ()); - - bt = be_type::narrow_from_decl (this->field_type ()); - - s = cg->make_state (); - if (s && bt) - return s->gen_code (bt, this); // no third parameter here - else - return -1; -} - -// Generates the client-side stubs for the field -int -be_field::gen_client_stubs (void) -{ - return 0; -} - -// Generates the server-side header information for the field -int -be_field::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the field -int -be_field::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_field::gen_client_inline (void) -{ - // The field type may need inline definitions, example: - // struct A { - // sequence<long> x; - // }; - be_type *bt = be_type::narrow_from_decl (this->field_type ()); - - // The type may be imported, then we cannot generate the inline - // info. Note: this does not fall in the general protection against - // multiple definition. - if (bt->imported ()) - { - return 0; - } - return bt->gen_client_inline (); -} - -// Generates the server-side inline -int -be_field::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_field::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // our type node - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - cs = cg->client_stubs (); - cg->node (this); // pass ourselves in case we are needed - cs->indent (); // start from whatever indentation level we were at - - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (this->field_type ()); - return bt->gen_typecode (); -} - -long -be_field::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; - - // struct member is represented as the "name" followed by the typecode - - this->encap_len_ = this->name_encap_len (); // for name - - // add to this, the size of our typecode - bt = be_type::narrow_from_decl (this->field_type ()); - this->encap_len_ += bt->tc_size (); // note that we must add typecode - // size of the type - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_field, AST_Field, be_decl) -IMPL_NARROW_FROM_DECL (be_field) diff --git a/TAO/TAO_IDL/be/be_generator.cpp b/TAO/TAO_IDL/be/be_generator.cpp deleted file mode 100644 index b93c92ea88a..00000000000 --- a/TAO/TAO_IDL/be/be_generator.cpp +++ /dev/null @@ -1,399 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// be_generator.cc -// -// Implementation of BE generator class -// -// This implements the same protocol as AST_Generator but creates instances -// of the BE-subclassed classes instead of of AST classes - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * Constructor - */ - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Inherited operations redefined here - */ - -/* - * Construct a be_root node (a node representing the root of an AST of BE nodes) - */ -AST_Root * -be_generator::create_root(UTL_ScopedName *n, - UTL_StrList *p) -{ - return new be_root(n, p); -} - -/* - * Create a BE_PredefinedType node - */ -AST_PredefinedType * -be_generator::create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_PredefinedType *) new be_predefined_type(t, n, p); -} - -/* - * Create a BE_Module node - */ -AST_Module * -be_generator::create_module(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Module *) new be_module(n, p); -} - -/* - * Create a BE_Interface node - */ -AST_Interface * -be_generator::create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) -{ - return (AST_Interface *) new be_interface(n, ih, nih, p); -} - -/* - * Create a BE_InterfaceFwd node - */ -AST_InterfaceFwd * -be_generator::create_interface_fwd(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_InterfaceFwd *) new be_interface_fwd(n, p); -} - -/* - * Create a BE_Exception node - */ -AST_Exception * -be_generator::create_exception(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Exception *) new be_exception(n, p); -} - -/* - * Create a BE_Structure node - */ -AST_Structure * -be_generator::create_structure(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Structure *) new be_structure(n, p); -} - -/* - * Create a BE_Enum node - */ -AST_Enum * -be_generator::create_enum(UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Enum *) new be_enum(n, p); -} - -/* - * Create a BE_Operation node - */ -AST_Operation * -be_generator::create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Operation *) new be_operation(rt, fl, n, p); -} - -/* - * Create a BE_Field node - */ -AST_Field * -be_generator::create_field(AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Field *) new be_field(ft, n, p); -} - -/* - * Create a BE_Argument node - */ -AST_Argument * -be_generator::create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Argument *) new be_argument(d, ft, n, p); -} - -/* - * Create a BE_Attribute node - */ -AST_Attribute * -be_generator::create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Attribute *) new be_attribute(ro, ft, n, p); -} - -/* - * Create a BE_Union node - */ -AST_Union * -be_generator::create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Union *) new be_union(dt, n, p); -} - -/* - * Create a BE_UnionBranch node - */ -AST_UnionBranch * -be_generator::create_union_branch(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_UnionBranch *) new be_union_branch(lab, ft, n, p); -} - -/* - * Create a BE_UnionLabel node - */ -AST_UnionLabel * -be_generator::create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv) -{ - return (AST_UnionLabel *) new be_union_label(ul, lv); -} - -/* - * Create a BE_Constant node - */ -AST_Constant * -be_generator::create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_Constant *) new be_constant (et, ev, n, p); -} - -/* - * Create a symbolic BE_Expression node - */ -AST_Expression * -be_generator::create_expr(UTL_ScopedName *n) -{ - return (AST_Expression *) new be_expression (n); -} - -/* - * Create a BE_Expression node denoting a coercion - */ -AST_Expression * -be_generator::create_expr(AST_Expression *b, AST_Expression::ExprType t) -{ - return (AST_Expression *) new be_expression (b, t); -} - -/* - * Create a BE_Expression node combining two other AST_Expression nodes - */ -AST_Expression * -be_generator::create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2) -{ - return (AST_Expression *) new be_expression (c, v1, v2); -} - -/* - * Create a BE_Expression node denoting a long integer - */ -AST_Expression * -be_generator::create_expr(long l) -{ - return (AST_Expression *) new be_expression (l); -} - -/* - * Create a BE_Expression node denoting a long integer being used as a boolean - */ -AST_Expression * -be_generator::create_expr(long l, AST_Expression::ExprType t) -{ - return (AST_Expression *) new be_expression (l, t); -} - -/* - * Create a BE_Expression node denoting an unsigned long integer - */ -AST_Expression * -be_generator::create_expr(unsigned long l) -{ - return (AST_Expression *) new be_expression(l); -} - -/* - * Create a BE_Expression node denoting a char * (encapsulated as a String) - */ -AST_Expression * -be_generator::create_expr (String *s) -{ - return (AST_Expression *) new be_expression (s); -} - -/* - * Create a BE_Expression node denoting a character - */ -AST_Expression * -be_generator::create_expr(char c) -{ - return (AST_Expression *) new be_expression (c); -} - -/* - * Create a BE_Expression node denoting a 64-bit floating point number - */ -AST_Expression * -be_generator::create_expr (double d) -{ - return (AST_Expression *) new be_expression (d); -} - -/* - * Create a BE_EnumVal node - */ -AST_EnumVal * -be_generator::create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) -{ - return (AST_EnumVal *) new be_enum_val(v, n, p); -} - -/* - * Create a BE_Array node - */ -AST_Array * -be_generator::create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims) -{ - return (AST_Array *) new be_array(n, ndims, dims); -} - -/* - * Create a BE_Sequence node - */ -AST_Sequence * -be_generator::create_sequence(AST_Expression *v, AST_Type *bt) -{ - return (AST_Sequence *) new be_sequence(v, bt); -} - -/* - * Create a BE_String node - */ -AST_String * -be_generator::create_string(AST_Expression *v) -{ - return (AST_String *) new be_string(v); -} - -/* - * Create a BE_string node for a wide string - */ -AST_String * -be_generator::create_wstring(AST_Expression *v) -{ - return (AST_String *) new be_string(v, sizeof(wchar_t)); -} - -/* - * Create a BE_Typedef node - */ -AST_Typedef * -be_generator::create_typedef(AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) -{ - return (AST_Typedef *) new be_typedef(bt, n, p); -} diff --git a/TAO/TAO_IDL/be/be_helper.cpp b/TAO/TAO_IDL/be/be_helper.cpp deleted file mode 100644 index 7c72dedfb97..00000000000 --- a/TAO/TAO_IDL/be/be_helper.cpp +++ /dev/null @@ -1,242 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_helper.cpp -// -// = DESCRIPTION -// Provides helper classes to print generated code to the output -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -static const char copyright [] = -"// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******\n\ -// TAO ORB and the TAO IDL Compiler have been developed by Washington \n\ -// University Computer Science's Distributed Object Computing Group.\n\ -//\n\ -// Information on TAO is available at\n\ -// http://www.cs.wustl.edu/~schmidt/TAO.html\n"; - -TAO_NL::TAO_NL (void) -{ -} - -// methods of the TAO_OutStream class - -TAO_OutStream::TAO_OutStream (void) - : fp_ (NULL), - indent_level_ (0) -{ -} - -TAO_OutStream::~TAO_OutStream (void) -{ - // close the underlying I/O handle only if it exists - if (fp_) - { - ACE_OS::fclose (fp_); - fp_ = NULL; - } - indent_level_ = 0; -} - -int -TAO_OutStream::open (const char *fname, TAO_OutStream::STREAM_TYPE st) -{ - if (fname) - { - // file name exists, open an I/O file handle - fp_ = ACE_OS::fopen (fname, "w"); - if (fp_) - { - this->st_ = st; - // put the copyright notice - ACE_OS::fprintf (fp_, "%s\n", copyright); - ACE_OS::fflush (fp_); - return 0; - } - else - return -1; - } - else - { - return -1; - } -} - -// set and get the stream type -void -TAO_OutStream::stream_type (TAO_OutStream::STREAM_TYPE st) -{ - this->st_ = st; -} - -TAO_OutStream::STREAM_TYPE -TAO_OutStream::stream_type (void) -{ - return this->st_; -} - -// indentation -int -TAO_OutStream::incr_indent (unsigned short flag) -{ - indent_level_++; - if (flag) - return this->indent (); - else - return 0; // do not indent output -} - -// indentation -int -TAO_OutStream::decr_indent (unsigned short flag) -{ - indent_level_--; - if (flag) - return this->indent (); - else - return 0; // do not indent output -} - -int -TAO_OutStream::reset (void) -{ - indent_level_ = 0; - return 0; -} - -// indented print -int -TAO_OutStream::indent (void) -{ - int i; - // based on the current indentation level, leave appropriate number of blank - // spaces in the output - if (this->indent_level_ > 0) - { - for (i=0; i < this->indent_level_; i++) - { - ACE_OS::fprintf (this->fp_, " "); - ACE_OS::fflush (fp_); - } - } - return 0; -} - -// macro generation -int -TAO_OutStream::gen_ifdef_macro (const char *flatname, const char *suffix) -{ - static char macro [NAMEBUFSIZE]; - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (macro, "_%s_", cg->upcase (flatname)); - if (suffix) - { - ACE_OS::sprintf (macro, "%s_%s_", macro, cg->upcase (suffix)); - } - - // append a suffix representing the stream type - switch (this->st_) - { - case TAO_OutStream::TAO_CLI_HDR: - ACE_OS::strcat (macro, "CH_"); - break; - case TAO_OutStream::TAO_CLI_INL: - ACE_OS::strcat (macro, "CI_"); - break; - case TAO_OutStream::TAO_CLI_IMPL: - ACE_OS::strcat (macro, "CS_"); - break; - case TAO_OutStream::TAO_SVR_HDR: - ACE_OS::strcat (macro, "SH_"); - break; - case TAO_OutStream::TAO_SVR_INL: - ACE_OS::strcat (macro, "SI_"); - break; - case TAO_OutStream::TAO_SVR_IMPL: - ACE_OS::strcat (macro, "SS_"); - break; - } - *this << "\n#if !defined (" << macro << ")\n"; - *this << "#define " << macro << "\n\n"; - return 0; -} - -int -TAO_OutStream::gen_endif (void) -{ - *this << "\n#endif // end #if !defined\n\n"; - return 0; -} - -// printf style variable argument print -int -TAO_OutStream::print (const char *format, ...) -{ - int result = 0; - va_list ap; - va_start (ap, format); - ACE_OSCALL (::vfprintf (this->fp_, format, ap), int, -1, result); - ACE_OS::fflush (fp_); - va_end (ap); - return result; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const char *str) -{ - ACE_OS::fprintf (this->fp_, "%s", str); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const long num) -{ - ACE_OS::fprintf (this->fp_, "%ld", num); - ACE_OS::fflush (fp_); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (const TAO_NL nl) -{ - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - ACE_OS::fprintf (this->fp_ , "\n"); - this->indent (); - return *this; -} - -TAO_OutStream & -TAO_OutStream::operator<< (Identifier *id) -{ - return this->print (id); -} - -TAO_OutStream & -TAO_OutStream::operator<< (UTL_IdList *id) -{ - return this->print (id); -} - -TAO_OutStream & -TAO_OutStream::operator<< (AST_Expression *expr) -{ - return this->print (expr); -} diff --git a/TAO/TAO_IDL/be/be_init.cpp b/TAO/TAO_IDL/be/be_init.cpp deleted file mode 100644 index 47a72c9936d..00000000000 --- a/TAO/TAO_IDL/be/be_init.cpp +++ /dev/null @@ -1,97 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// BE_init.cc - Initialization for dummy BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * Initialize the BE. The protocol requires only that this routine - * return an instance of AST_Generator (or a subclass thereof). - * - * Remember that none of the FE initialization has been done, when you - * add stuff here. - */ -AST_Generator * -BE_init() -{ - AST_Generator *g = new be_generator(); - - if (g == NULL) { - cerr << GTDEVEL("IDL: BE init failed to create generator, exiting\n"); - exit(99); - } - return g; -} - -/* - * Print out a version string for the BE - */ -void -BE_version() -{ - cerr << GTDEVEL("Demonstration BE, version 1.0.0\n"); -} diff --git a/TAO/TAO_IDL/be/be_interface.cpp b/TAO/TAO_IDL/be/be_interface.cpp deleted file mode 100644 index 8b730d4dff9..00000000000 --- a/TAO/TAO_IDL/be/be_interface.cpp +++ /dev/null @@ -1,1379 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.cpp -// -// = DESCRIPTION -// Extension of class AST_Interface that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Interface - */ - -// default constructor -be_interface::be_interface (void) - : full_skel_name_ (0) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// constructor used to build the AST -be_interface::be_interface (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p) - : AST_Interface (n, ih, nih, p), - AST_Decl (AST_Decl::NT_interface, n, p), - UTL_Scope (AST_Decl::NT_interface), - full_skel_name_ (0) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// compute stringified fully scoped skel name -void -be_interface::compute_fullskelname (void) -{ - if (full_skel_name_) - return; - else - { - long namelen; - UTL_IdListActiveIterator *i; - long first = I_TRUE; - long second = I_FALSE; - - // in the first loop compute the total length - namelen = 4; - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - namelen += 2; // for "::" - else if (second) - first = second = I_FALSE; - // print the identifier - namelen += ACE_OS::strlen (i->item ()->get_string ()); // - // additional 4 for the POA_ characters - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - - this->full_skel_name_ = new char [namelen+1]; - this->full_skel_name_[0] = '\0'; - first = I_TRUE; - second = I_FALSE; - ACE_OS::strcat (this->full_skel_name_, "POA_"); - i = new UTL_IdListActiveIterator (this->name ()); - while (!(i->is_done ())) - { - if (!first) - ACE_OS::strcat (this->full_skel_name_, "::"); - else if (second) - first = second = I_FALSE; - // print the identifier - ACE_OS::strcat (this->full_skel_name_, i->item ()->get_string ()); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - delete i; - } - return; -} - -const char* -be_interface::full_skel_name (void) -{ - if (!this->full_skel_name_) - compute_fullskelname (); - - return this->full_skel_name_; -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int be_interface::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - long i; // loop index - TAO_NL nl; // end line - - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cg->push (TAO_CodeGen::TAO_INTERFACE_CH); // set the current code - // generation state - - ch = cg->client_header (); - - // pass info - cg->outstream (ch); - cg->node (this); - - // == STEP 1: generate the class name and class names we inherit == - ch->indent (); // start with whatever indentation level we are at - - // generate the ifdefined macro for the _ptr type - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - // the following two are required to be under the ifdef macro to avoid - // multiple declarations - - // forward declaration - *ch << "class " << this->local_name () << ";" << nl; - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" << this->local_name () - << "_ptr;" << nl; - - ch->gen_endif (); - - ch->gen_ifdef_macro (this->flatname ()); - - // now generate the class definition - *ch << "class " << this->local_name (); - - if (n_inherits () > 0) // this interface inherits from other interfaces - { - *ch << ": "; - for (i = 0; i < n_inherits (); i++) - { - *ch << "public virtual "; - *ch << inherits ()[i]->name (); // dump the scoped name - if (i < n_inherits () - 1) // this is the case of multiple - // inheritance - { - *ch << ", "; - } - } // end of for loop - *ch << nl; - } - else - { - // we do not inherit from anybody, hence we do so from the base - // CORBA::Object class - *ch << ": public virtual ACE_CORBA_1 (Object)" << nl; - } - - // generate the body - - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // generate the static _duplicate, _narrow, and _nil operations - *ch << "// the static operations" << nl; - *ch << "static " << local_name () << "_ptr " << "_duplicate (" << - local_name () << "_ptr obj);" << nl; - *ch << "static " << local_name () << "_ptr " << "_narrow (" << - "CORBA::Object_ptr obj, CORBA::Environment &env);" << nl; - *ch << "static " << local_name () << "_ptr " << "_nil (" << - "void);" << nl; - - // generate a TAO-specific _bind method similar to what Orbix and VisiBroker - // have - *ch << "static " << this->local_name () << "_ptr _bind (const char *host, " - << "CORBA::UShort port, const char *key, CORBA::Environment &env);\n\n"; - - // generate code for the interface definition by traversing thru the - // elements of its scope. We depend on the front-end to have made sure - // that only legal syntactic elements appear in our scope. - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate the "protected" constructor so that users cannot instantiate - // us - ch->decr_indent (); - *ch << "protected:\n"; - ch->incr_indent (); - *ch << local_name () << " (void); // default constructor" << nl; - *ch << local_name () << " (STUB_Object *objref);" << nl; - *ch << "virtual ~" << local_name () << " (void);\n"; - ch->decr_indent (); - - // private copy constructor and assignment operator. These are not - // allowed, hence they are private. - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " (const " << local_name () << "&);" << nl; - *ch << "void operator= (const " << local_name () << "&);\n"; - ch->decr_indent (); - *ch << "};\n\n"; - ch->gen_endif (); - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the _var declaration - if (this->gen_var_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface - error generating _var definition\n")); - return -1; - } - ch->gen_endif (); - - // generate the ifdef macro for the _out class - ch->gen_ifdef_macro (this->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (this->gen_out_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface - error generating _var definition\n")); - return -1; - } - // generate the endif macro - ch->gen_endif (); - - - // generate the typecode decl. If we are in the outermost scope, our typecode - // decl is extern - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int be_interface::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - long i; // loop index - TAO_NL nl; // end line - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_CS); // set the current code generation - // state - - cs = cg->client_stubs (); - //pass info - cg->node (this); - cg->outstream (cs); - - cs->indent (); // start with whatever indentation level we are at - - // first generate the code for the static methods - // The _duplicate method - *cs << name () << "_ptr " << name () << "::_duplicate (" << - name () << "_ptr obj)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (!CORBA::is_nil (obj))\n"; - cs->incr_indent (); - *cs << "obj->AddRef ();\n"; - cs->decr_indent (); - *cs << nl; - *cs << "return obj;\n"; - cs->decr_indent (); - *cs << "} // end of _duplicate" << nl << nl; - - // The _narrow method - *cs << name () << "_ptr " << name () << - "::_narrow (CORBA::Object_ptr obj, CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (CORBA::is_nil (obj)) return " << this->name () << "::_nil ();" << - nl; - *cs << "if (obj->_is_a (\"" << this->repoID () << "\", env))" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "STUB_Object *istub;" << nl; - *cs << name () << "_ptr new_obj; // to be returned " << nl; -#if 0 // XXXASG - I was told that emitting this line of code is the root cause - // of all evil - *cs << "obj->Release ();" << - " // need this since _is_a grabbed an obj reference " << nl; -#endif - *cs << "if (obj->QueryInterface (IID_STUB_Object, (void **)&istub) " << - "!= NOERROR)\n"; - cs->incr_indent (); - *cs << "return " << this->name () << "::_nil ();\n"; - cs->decr_indent (); - *cs << nl; - *cs << "obj->Release (); " << - "// need this since QueryIntf bumped our refcount" << nl; - *cs << "new_obj = new " << name () << " (istub); " << - "// construct obj ref using the stub object" << nl; - *cs << "return new_obj;\n"; - cs->decr_indent (); - *cs << "} // end of if" << nl; - *cs << "return " << this->name () << "::_nil (); // _narrow failed\n"; - cs->decr_indent (); - *cs << "} // end of _narrow" << nl << nl; - - // _nil method - *cs << this->name () << "_ptr " << this->name () << "::_nil (void)" << - nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "return (" << name () << "_ptr)NULL;\n"; - cs->decr_indent (); - *cs << "} // end of _nil" << nl << nl; - - // the _bind method - *cs << this->name () << "_ptr " << this->name () << "::_bind (" << - "const char *host, CORBA::UShort port, const char *key, " << - "CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "CORBA::Object_ptr objref = CORBA::Object::_nil ();" << nl; - *cs << "IIOP_Object *data = new IIOP_Object (host, port, key);" << nl; - *cs << "if (!data) return " << this->name () << "::_nil ();" << nl; - *cs << "// get the object_ptr using Query Interface" << nl; - *cs << - "if (data->QueryInterface (IID_CORBA_Object, (void **)&objref) != NOERROR)" - << nl; - *cs << "{" << nl; - *cs << "\tenv.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" - << nl; - *cs << "\treturn " << this->name () << "::_nil ();" << nl; - *cs << "}" << nl; - *cs << "data->Release (); // QueryInterface had bumped up our count" << nl; - *cs << "if (CORBA::is_nil (objref))" << nl; - *cs << "\treturn " << this->name () << "::_nil ();" << nl; - *cs << "else // narrow it" << nl; - *cs << "\treturn " << this->name () << "::_narrow (objref, env);\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // generate code for the elements of the interface - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating typecode\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_objref, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - cg->pop (); - return 0; -} - -// generate server header -int be_interface::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - long i; // loop index - TAO_NL nl; // end line - static char namebuf [NAMEBUFSIZE]; // holds the class name - AST_Decl *d; // enclosing scope - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_SH); // set the current code generation - // state - - sh = cg->server_header (); - // pass info - cg->node (this); - cg->outstream (sh); - - // generate the skeleton class name - - sh->indent (); // start with whatever indentation level we are at - - // we shall have a POA_ prefix only if we are at the topmost level - // generate the forward declaration - d = ScopeAsDecl (this->defined_in ()); - if (d->node_type () == AST_Decl::NT_root) - { - // we are outermost - ACE_OS::sprintf (namebuf, "POA_%s", this->local_name ()->get_string ()); - } - else - { - ACE_OS::sprintf (namebuf, "%s", this->local_name ()->get_string ()); - } - - *sh << "class " << namebuf << ";" << nl; - - // generate the _ptr declaration - *sh << "typedef " << namebuf << " *" << namebuf - << "_ptr;" << nl; - - // now generate the class definition - *sh << "class " << namebuf << " : public virtual " << name (); - if (n_inherits () > 0) // this interface inherits from other interfaces - { - be_interface *intf; - - for (i = 0; i < n_inherits (); i++) - { - *sh << ", public virtual "; - intf = be_interface::narrow_from_decl (inherits ()[i]); - *sh << intf->full_skel_name (); // dump the scoped name - } // end of for loop - } - *sh << nl; - *sh << "{" << nl; - *sh << "protected:\n"; - sh->incr_indent (); - *sh << namebuf << " (const char *obj_name = 0);" << nl; - *sh << "virtual ~" << namebuf << " (void);\n"; - sh->decr_indent (); - *sh << "public:\n"; - sh->incr_indent (0); - // generate code for elements in the scope (e.g., operations) - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // add our _is_a method - sh->indent (); - *sh << "static void _is_a_skel (CORBA::ServerRequest &req, " << - "CORBA::Object_ptr obj, CORBA::Environment &env);\n\n"; - - sh->decr_indent (); - *sh << "};\n\n"; - - cg->pop (); - return 0; -} - -int be_interface::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - long i; // loop index - TAO_NL nl; // end line - AST_Decl *d; // temporary - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_INTERFACE_SS); // set the current code generation - // state - - ss = cg->server_skeletons (); - // pass info - cg->node (this); - cg->outstream (ss); - - // generate the skeleton class name - - ss->indent (); // start with whatever indentation level we are at - - if (this->gen_operation_table () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface::gen_operation_table failure\n")); - return -1; - } - - *ss << "// skeleton constructor" << nl; - // find if we are at the top scope or inside some module - d = ScopeAsDecl (this->defined_in ()); - - if (d && d->node_type () == AST_Decl::NT_root) - { - // we are outermost. So the POA_ prefix is prepended to our name - *ss << this->full_skel_name () << "::POA_" << this->local_name () << - " (const char *obj_name)" << nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *ss << this->full_skel_name () << "::" << this->local_name () << - " (const char *obj_name)" << nl; - } - - *ss << "{\n"; - ss->incr_indent (); - // code for the skeleton constructor - *ss << "const CORBA::String repoID = \"" << this->repoID () << "\"; // repository ID" << nl; - *ss << "IIOP_Object *data; // Actual object reference" << nl; - *ss << "TAO_ORB_Core *ocp = TAO_ORB_Core_instance (); " << - "// underlying ORB core instance" << nl; - *ss << "CORBA::POA_ptr oa = TAO_ORB_Core_instance ()->root_poa (); " << - "// underlying OA" << nl; - *ss << "const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();" << nl; - *ss << "this->optable_ = &tao_" << this->flatname () << "_optable;" << nl << - nl; - *ss << "// set up an IIOP object" << nl; -#if 0 - *ss << "data = new IIOP_Object (CORBA::string_dup (repoID));" << nl; - *ss << "data->profile.iiop_version.major = IIOP::MY_MAJOR;" << nl; - *ss << "data->profile.iiop_version.minor = IIOP::MY_MINOR;" << nl; - *ss << "const ACE_INET_Addr &addr = ocp->orb_params ()->addr ();" << nl; - *ss << "data->profile.host = ACE_OS::strdup (" << - "addr.get_host_name ());" << nl; - *ss << "data->profile.port = addr.get_port_number ();" << nl; - *ss << "data->profile.object_key.length = " << - "ACE_OS::strlen (obj_name);" << nl; - *ss << "data->profile.object_key.maximum = " << - "data->profile.object_key.length;" << nl; - *ss << "data->profile.object_key.buffer = " << - "new CORBA::Octet [(size_t)data->profile.object_key.length+1];" << nl; - *ss << "ACE_OS::strcpy ((char *)data->profile.object_key.buffer, obj_name);" - << " // set the object key" << nl; -#endif - *ss << "data = new IIOP_Object (CORBA::string_dup (repoID), addr, obj_name);" - << nl; - *ss << "this->set_parent (data); // store the IIOP obj ref with us" << - nl; - *ss << "this->sub_ = this; // set the most derived type to be us" << nl; - *ss << "if (oa) oa->bind (data->profile.object_key, this); " << - "// register ourselves\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - // generate code for elements in the scope (e.g., operations) - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface::gen_server_skeletons\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - // generate code for the _is_a skeleton - ss->indent (); - *ss << "void " << this->full_skel_name () << - "::_is_a_skel (CORBA::ServerRequest &req, " << - "CORBA::Object_ptr /* obj */, CORBA::Environment &env)" << nl; - *ss << "{\n"; - ss->incr_indent (); - *ss << "const CORBA::String type_id = \"" << this->repoID () << - "\"; // repository ID" << nl; - *ss << "CORBA::NVList_ptr nvlist;" << nl; - *ss << "CORBA::NamedValue_ptr nv;" << nl; - *ss << "CORBA::Any temp_value (CORBA::_tc_string);" << nl; - *ss << "CORBA::Any *any;" << nl; - *ss << "CORBA::Boolean *retval;" << nl; - *ss << "CORBA::String value;" << nl; - *ss << nl; - *ss << "req.orb()->create_list (0, nvlist);" << nl; - *ss << "nv = nvlist->add_value (0, temp_value, CORBA::ARG_IN, env);" << nl; - *ss << "req.params (nvlist, env); // parse the args" << nl; - *ss << "if (env.exception () != 0) return;" << nl; - *ss << "value = *(CORBA::String *)nv->value ()->value ();" << nl; - *ss << "if (ACE_OS::strcmp ((char *)value, (char *)type_id) == 0" << nl; - *ss << " || ACE_OS::strcmp ((char *)value, CORBA::_tc_Object->id (env)) == 0)\n" - << nl; - *ss << "\tretval = new CORBA::Boolean (CORBA::B_TRUE);" << nl; - * ss << "else" << nl; - *ss << "\tretval = new CORBA::Boolean (CORBA::B_FALSE);" << nl; - *ss << "any = new CORBA::Any (CORBA::_tc_boolean, retval, CORBA::B_TRUE);" << - nl; - *ss << "req.result (any, env);\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - cg->pop (); - return 0; -} - -// helper -int -be_interface::gen_operation_table (void) -{ - int count = 0; - UTL_ScopeActiveIterator *si; - AST_Decl *d; - TAO_OutStream *ss; // output stream - long i; // loop index - TAO_NL nl; // end line - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ss = cg->server_skeletons (); - - ss->indent (); // start from current indentation level - *ss << "static const TAO_operation_db_entry " << this->flatname () << - "_operations [] = {\n"; - ss->incr_indent (); - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - - if (d->node_type () == AST_Decl::NT_op) - { - // we are an operation node - *ss << "{\"" << d->local_name () << "\", &" << this->full_skel_name - () << "::" << d->local_name () << "_skel}," - << nl; - count++; - } - else if (d->node_type () == AST_Decl::NT_attr) - { - AST_Attribute *attr; - - // generate only the "get" entry if we are readonly - *ss << "{\"_get_" << d->local_name () << "\", &" << - this->full_skel_name () << "::_get_" << d->local_name () << - "_skel}," << nl; - count++; - - attr = AST_Attribute::narrow_from_decl (d); - if (!attr) - return -1; - - if (!attr->readonly ()) - { - // the set method - *ss << "{\"_set_" << d->local_name () << "\", &" << - this->full_skel_name () << "::_set_" << d->local_name - () << "_skel}," << nl; - count++; - } - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - *ss << "{\"_is_a\", &" << this->full_skel_name () << "::_is_a_skel}\n"; - count++; - ss->decr_indent (); - *ss << "};" << nl << nl; - - // XXXASG - this code should be based on using different strategies for - // demux - for next release - *ss << "TAO_Dynamic_Hash_OpTable tao_" << this->flatname () << "_optable " << - "(" << this->flatname () << "_operations, " << count << ", " << 2*count << ");" - << nl; - return 0; -} - -// Generates the client-side inline information -int -be_interface::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - ci->indent (); // start from the current indentation level - - // generate the constructors and destructor - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << - " (void) // default constructor" << nl; - *ci << "{}" << nl << nl; - - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << - " (STUB_Object *objref) // constructor" << nl; - *ci << "\t: ACE_CORBA_1 (Object) (objref)" << nl; - *ci << "{}" << nl << nl; - - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::~" << this->local_name () << - " (void) // destructor" << nl; - *ci << "{}\n\n"; - - // generate the ifdefined macro for the _var type - ci->gen_ifdef_macro (this->flatname (), "_var"); - - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: _var impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - // generate the ifdefined macro for the _out type - ci->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: _out impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface: code gen failed for scope\n")); - return -1; - } - return 0; -} - -// Generates the server-side inline -int -be_interface::gen_server_inline (void) -{ - // nothing to be done - TAO_OutStream *si; // output stream - long i; // loop index - TAO_NL nl; // end line - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (i); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - si = cg->server_inline (); - - // generate the skeleton class name - - si->indent (); // start with whatever indentation level we are at - - *si << "// skeleton destructor" << nl; - - *si << "ACE_INLINE" << nl; - if (!this->is_nested ()) - { - // we are outermost. So the POA_ prefix is prepended to our name - *si << this->full_skel_name () << "::~POA_" << this->local_name () << - " (void)" << nl; - } - else - { - // the POA_ prefix is prepended to our outermost module name - *si << this->full_skel_name () << "::~" << this->local_name () << - " (void)" << nl; - } - - *si << "{" << nl; - *si << "}\n"; - - return 0; -} - -// generate the var definition -int -be_interface::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << local_name () << "_ptr);" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << local_name () << "_ptr operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << "_ptr &() const;" << nl; - *ch << "operator " << local_name () << "_ptr &();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << local_name () << "_ptr in (void) const;" << nl; - *ch << local_name () << "_ptr &inout (void);" << nl; - *ch << local_name () << "_ptr &out (void);" << nl; - *ch << local_name () << "_ptr _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << "_ptr ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_interface::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ (" << this->name () << "::_nil ())" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (" << name () << "::_duplicate (p.ptr ()))" << nl; - *ci << "{}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << name () << "::_duplicate (p.ptr ());\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_ptr &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_ptr &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << this->name () << "_ptr val = this->ptr_;" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_interface::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "_ptr &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only interface allows assignment from var & - *ch << namebuf << " &operator= (const " << local_name () << "_var &);" << nl; - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - // cast - *ch << "operator " << local_name () << "_ptr &();" << nl; - // ptr fn - *ch << local_name () << "_ptr &ptr (void);" << nl; - // operator -> - *ch << local_name () << "_ptr operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_interface::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr &p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << this->name () << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_duplicate (p.ptr ());" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_ptr &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate typecode. -// Typecode for interface comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_interface::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_objref, // typecode kind" << nl; - *cs << this->tc_size () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description -int -be_interface::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - // XXXASG - byte order must be based on what m/c we are generating code - - // TODO - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << ",\n"; - - return 0; -} - -// compute size of typecode -long -be_interface::tc_size (void) -{ - return 4 + 4 + this->tc_encap_len (); -} - -// compute the encapsulation length -long -be_interface::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - long slen; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (slen); - - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // for repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_interface, AST_Interface, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_interface) -IMPL_NARROW_FROM_SCOPE (be_interface) diff --git a/TAO/TAO_IDL/be/be_interface_fwd.cpp b/TAO/TAO_IDL/be/be_interface_fwd.cpp deleted file mode 100644 index b23b934a1f7..00000000000 --- a/TAO/TAO_IDL/be/be_interface_fwd.cpp +++ /dev/null @@ -1,629 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface_Fwd that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_InterfaceFwd - */ - -be_interface_fwd::be_interface_fwd (void) -{ -} - -be_interface_fwd::be_interface_fwd (UTL_ScopedName *n, UTL_StrList *p) - : AST_InterfaceFwd (n, p), - AST_Decl (AST_Decl::NT_interface_fwd, n, p) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int be_interface_fwd::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // get the client header - ch = cg->client_header (); - - ch->indent (); // start from the current - - // all we do in this is generate a forward declaration of the class - *ch << "class " << this->local_name () << ";" << nl; - - // generate the ifdefined macro for the _ptr type - ch->gen_ifdef_macro (this->flatname (), "_ptr"); - - // generate the _ptr declaration - *ch << "typedef " << this->local_name () << " *" << this->local_name () << - "_ptr; \n"; - - ch->gen_endif (); - - // enclose under an ifdef macro - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the _var declaration - if (this->gen_var_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface_fwd - error generating _var definition\n")); - return -1; - } - // gen an endif - ch->gen_endif (); - - // enclose under an ifdef macro - ch->gen_ifdef_macro (this->flatname (), "_out"); - - // generate the _out declaration - ORBOS/97-05-15 pg 16-20 spec - if (this->gen_out_defn () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_interface_fwd - error generating _var definition\n")); - return -1; - } - - // generate the endif macro - ch->gen_endif (); - - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int -be_interface_fwd::gen_client_stubs (void) -{ - return 0; -} - -int -be_interface_fwd::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // generate the ifdefined macro for the _var type - ci->gen_ifdef_macro (this->flatname (), "_var"); - - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface_fwd: _var impl code gen failed\n")); - return -1; - } - - ci->gen_endif (); - - // generate the ifdefined macro for the _out type - ci->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_interface_fwd: _out impl code gen failed\n")); - return -1; - } - ci->gen_endif (); - - return 0; -} - -int -be_interface_fwd::gen_server_header (void) -{ - return 0; -} - -int -be_interface_fwd::gen_server_skeletons (void) -{ - return 0; -} - -int -be_interface_fwd::gen_server_inline (void) -{ - return 0; -} - -// generate the var definition -int -be_interface_fwd::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - *ch << namebuf << " (" << local_name () << "_ptr);" << nl; - - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << local_name () << "_ptr operator-> (void) const;" << nl; - - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << "_ptr &() const;" << nl; - *ch << "operator " << local_name () << "_ptr &();" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << local_name () << "_ptr in (void) const;" << nl; - *ch << local_name () << "_ptr &inout (void);" << nl; - *ch << local_name () << "_ptr &out (void);" << nl; - *ch << local_name () << "_ptr _retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << "_ptr ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // private - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_interface_fwd::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ (" << this->name () << "::_nil ())" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // the additional ptr () member function. This member function must be - // defined before the remaining member functions including the copy - // constructor because this inline function is used elsewhere. Hence to make - // inlining of this function possible, we must define it before its use. - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (" << name () << "::_duplicate (p.ptr ()))" << nl; - *ci << "{}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << name () << "::_duplicate (p.ptr ());\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - "_ptr &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << "_ptr &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << "_ptr " << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "// yield ownership of managed obj reference" << nl; - *ci << this->name () << "_ptr val = this->ptr_;" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();" << nl; - *ci << "return val;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} - -// generate the _out definition -int -be_interface_fwd::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << "_ptr &);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // only interface allows assignment from var & - *ch << namebuf << " &operator= (const " << local_name () << "_var &);" << nl; - *ch << namebuf << " &operator= (" << local_name () << "_ptr);" << nl; - // cast - *ch << "operator " << local_name () << "_ptr &();" << nl; - // ptr fn - *ch << local_name () << "_ptr &ptr (void);" << nl; - // operator -> - *ch << local_name () << "_ptr operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << "_ptr &ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -int -be_interface_fwd::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - // Depending upon the data type, there are some differences which we account - // for over here. - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr &p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "CORBA::release (this->ptr_);" << nl; - *ci << "this->ptr_ = " << this->name () << "::_nil ();\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << this->name () << - "_var &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = " << this->name () << "::_duplicate (p.ptr ());" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _ptr - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - "_ptr p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - "_ptr &() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr &" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator-> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << "_ptr " << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - return 0; -} -int -be_interface_fwd::gen_typecode (void) -{ - return 0; -} - -long -be_interface_fwd::tc_size (void) -{ - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_interface_fwd, AST_InterfaceFwd, be_type) -IMPL_NARROW_FROM_DECL (be_interface_fwd) diff --git a/TAO/TAO_IDL/be/be_module.cpp b/TAO/TAO_IDL/be/be_module.cpp deleted file mode 100644 index e9cddfab94a..00000000000 --- a/TAO/TAO_IDL/be/be_module.cpp +++ /dev/null @@ -1,203 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_module.cpp -// -// = DESCRIPTION -// Extension of class AST_Module that provides additional means for C++ -// mapping of a module -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Module - */ -be_module::be_module (void) -{ -} - -be_module::be_module (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_module, n, p), - UTL_Scope (AST_Decl::NT_module) -{ -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// generate the client header -int be_module::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CH); // set the current code generation state - ch = cg->client_header (); // get the stream - - // XXXASG - Modules really map to namespace. We need to see if our target - // compiler supports namespaces or not. For this release we opt to generate a - // class definition for a module - - ch->indent (); // start with whatever indentation level we are at - - // now generate the class definition - *ch << "class " << local_name (); - - // generate the body - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (0); - - // generate code for the module definition by traversing thru the - // elements of its scope. We depend on the front-end to have made sure - // that only legal syntactic elements appear in our scope. - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - ch->decr_indent (); - *ch << "};\n\n"; - cg->pop (); - return 0; -} - -int be_module::gen_client_stubs (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CS); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -int be_module::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - TAO_NL nl; // end line - AST_Decl *d; - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SH); // set the current code generation state - - sh = cg->server_header (); - - // generate the skeleton class name - - sh->indent (); // start with whatever indentation level we are at - - // now generate the class definition. The prefix POA_ is prepended to our - // name only if we are the outermost module - d = ScopeAsDecl (this->defined_in ()); - if (d->node_type () == AST_Decl::NT_root) - // we are outermost module - *sh << "class POA_" << local_name () << nl; - else - // we are inside another module - *sh << "class " << local_name () << nl; - - *sh << "{" << nl; - *sh << "public:\n"; - sh->incr_indent (0); - - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - sh->decr_indent (); - *sh << "};\n\n"; - cg->pop (); - return 0; -} - -int be_module::gen_server_skeletons (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SS); // set the current code generation state - - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_skeletons\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - cg->pop (); - return 0; -} - -// Generates the client-side inline information -int -be_module::gen_client_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_CI); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_client_inline\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -// Generates the server-side inline -int -be_module::gen_server_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_MODULE_SI); // set the current code generation state - - // gen code for elements in the scope - if (be_scope::gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_module::gen_server_inline\n")); - ACE_ERROR ((LM_ERROR, "Scope code generation failure\n")); - return -1; - } - - cg->pop (); - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_module, AST_Module, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_module) -IMPL_NARROW_FROM_SCOPE (be_module) diff --git a/TAO/TAO_IDL/be/be_operation.cpp b/TAO/TAO_IDL/be/be_operation.cpp deleted file mode 100644 index 07fae5799dd..00000000000 --- a/TAO/TAO_IDL/be/be_operation.cpp +++ /dev/null @@ -1,642 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_operation.cpp -// -// = DESCRIPTION -// Extension of class AST_Operation that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Operation - */ -be_operation::be_operation (void) -{ -} - -be_operation::be_operation (AST_Type *rt, AST_Operation::Flags fl, - UTL_ScopedName *n, UTL_StrList *p) - : AST_Operation (rt, fl, n, p), - AST_Decl (AST_Decl::NT_op, n, p), - UTL_Scope (AST_Decl::NT_op) -{ -} - -int -be_operation::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - be_type *bt; // type node - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - cg->outstream (ch); // important to set the current stream - - ch->indent (); // start with the current indentation level - - // every operation is declared virtual in the client code - *ch << "virtual "; - - // first generate the return type - bt = be_type::narrow_from_decl (this->return_type ()); - cg->push (TAO_CodeGen::TAO_OPERATION_CH); // we are now generating an - // operation definition with the - // return type first - - s = cg->make_state (); // retrieve state based object - - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_header - " - "return type generation failure\n"), - -1); - } - cg->pop (); // restore previous state - - // generate the operation name - *ch << " " << this->local_name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_CH); // generating code for arguments in - // the signature - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_header - " - "failed in argument generation in signature\n"), - -1); - } - cg->pop (); - - // XXXASG - // additional argument in the form of CORBA::Environment since TAO does not - // yet support C++ style Exceptions. However, we can have an option to the - // "tao" IDL compiler to ask it to generate code for exceptions. This will be - // handled in a later release. - *ch << "CORBA::Environment &env);\n"; - - return 0; -} - -int -be_operation::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - UTL_ScopeActiveIterator *si; // scope iterator - AST_Decl *d; // temp node - be_argument *bd; // argument node - be_predefined_type *bpd=0; // predefined type used for return VOID type - be_state *s; // state based code gen object - long paramtblsize = 0; // size of the paradata table - - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - // for each operation, generate the paramdata and calldata tables followed by - // the actual stub - - cs->indent (); // start with current indentation level - - // retrieve the return type - bt = be_type::narrow_from_decl (this->return_type ()); - - // bt holds the return type. Declare a variable that will hold the return - // type. However, we must be careful if the return type is a void - if (bt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (bt); - } - - // generate the TAO_Param_Data table - *cs << "static const TAO_Param_Data " << this->flatname () << - "_paramdata [] = " << nl; - *cs << "{\n"; - cs->incr_indent (); - - // entry for the return type - *cs << "{" << bt->tc_name () << ", PARAM_RETURN, 0}"; - paramtblsize++; - // if we have any arguments, get each one of them - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - // only if this is an argument node - if (d->node_type () == AST_Decl::NT_argument) - { - bd = be_argument::narrow_from_decl (d); - bt = be_type::narrow_from_decl (bd->field_type ()); - *cs << "," << nl; // put a comma and newline before the - // previous entry - *cs << "{" << bt->tc_name (); - // based on the direction, output the appropriate constant. - switch (bd->direction ()) - { - case AST_Argument::dir_IN: - *cs << ", PARAM_IN, 0}"; - break; - case AST_Argument::dir_INOUT: - *cs << ", PARAM_INOUT, 0}"; - break; - case AST_Argument::dir_OUT: - *cs << ", PARAM_OUT, 0}"; - break; - } // end switch - paramtblsize++; - } // end if argument node - si->next (); - } // end of while - delete si; // free the iterator object - } // end of arg list - *cs << "\n"; - cs->decr_indent (); - *cs << "};\n\n"; - - // now generate the calldata table - - cs->indent (); - *cs << "static const TAO_Call_Data " << this->flatname () << "_calldata = " - << nl; - *cs << "{"; - *cs << "\"" << this->local_name () << "\", "; - - // are we oneway or two operation? - if (this->flags () == AST_Operation::OP_oneway) - { - *cs << "0, "; // for false - } - else - { - *cs << "1, "; // for true - } - // insert the size of the paramdata table - *cs << paramtblsize << ", "; - - // insert the address of the paramdata table - *cs << this->flatname () << "_paramdata, "; - - // XXXASG - Exception list goes here (if it exists) - TODO - *cs << "0, 0};\n\n"; - - // now generate the actual stub - - // retrieve the return type again because we have used bt to also retrieve - // the argument types - bt = be_type::narrow_from_decl (this->return_type ()); - - // bt holds the return type. Declare a variable that will hold the return - // type. However, we must be careful if the return type is a void - if (bt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (bt); - } - - // first generate the return type - cs->indent (); - cg->push (TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS); // declare a return - // type of the stub - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "return type generation failure\n"), - -1); - } - cg->pop (); - - // generate the operation name - *cs << " " << this->name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_CS); // generating code for arguments in - // the signature - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure in argument generation in signature\n"), - -1); - } - cg->pop (); - - // last argument - is always CORBA::Environment - *cs << "CORBA::Environment &env)" << nl; - *cs << "{\n"; - cs->incr_indent (); - - // declare a return type - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "retval declaration failure\n"), - -1); - } - cg->pop (); - - // generate code that calls QueryInterface - *cs << "STUB_Object *istub;\n\n"; - cs->indent (); - *cs << "if (this->QueryInterface (IID_STUB_Object, " << - "(void **)&istub) != NOERROR)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "env.exception (new CORBA::DATA_CONVERSION (CORBA::COMPLETED_NO));" << - nl; - - // return the appropriate error value on exception - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure returning from exception\n"), - -1); - } - cg->pop (); - - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->Release (); // QueryInterface has bumped up our refcount" << nl; - - // do any pre do_call stuff with arguments - cg->push (TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failure generating pre docall stuff\n"), - -1); - } - cg->pop (); - - // call do_call with appropriate number of arguments - *cs << "istub->do_call (env, &" << this->flatname () << "_calldata"; - - // if our return type is not void, then pass the address of retval - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - *cs << ", &retval"; - } - else - { - // pass a 0 - *cs << ", 0"; - } - - cg->push (TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failed to emit code for arguments in docall\n"), - -1); - } - cg->pop (); - *cs << ");" << nl; - - // do any post do_call stuff with arguments - cg->push (TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs - " - "failed to emit code for post docall processing\n"), - -1); - } - cg->pop (); - - // return the retval - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_operation::gen_client_stubs\n" - "return val return generation failure\n"), - -1); - } - cg->pop (); - - cs->decr_indent (0); - *cs << "\n}\n\n"; - return 0; -} - -int -be_operation::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - be_type *bt; // type node - be_state *s; // state based code generator object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_OPERATION_SH); // we are now generating an - // operation definition - - sh = cg->server_header (); - cg->outstream (sh); // set current stream - sh->indent (); // start with the current indentation level - - // every operation is declared virtual - *sh << "virtual "; - - // first generate the return type - bt = be_type::narrow_from_decl (this->return_type ()); - s = cg->make_state (); // retrieve code gen object for this state - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_operation::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "return type generation failure\n")); - return -1; - } - // generate the operation name - *sh << " " << this->local_name () << " ("; - - // generate the arguments with the appropriate mapping - cg->push (TAO_CodeGen::TAO_ARGUMENT_SH); // generating code for arguments in - // the signature - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_operation::gen_server_header\n")); - ACE_ERROR ((LM_ERROR, "Argument generation failure\n")); - return -1; - } - cg->pop (); - - // XXXASG - // additional argument in the form of CORBA::Environment since TAO does not - // yet support Exceptions. However, we can have an option to the "tao" IDL - // compiler to ask it to generate code for exceptions. This will be handled - // in a later release. - *sh << " CORBA::Environment &env) = 0; // pure virtual\n"; - - sh->indent (); - - // generate the static method corresponding to this method - *sh << "static void " << this->local_name () << "_skel (CORBA::ServerRequest &req," - << " CORBA::Object_ptr obj, CORBA::Environment &env);\n\n"; - cg->pop (); // restore previous state - return 0; -} - -// Generate code for the operation skeleton that makes the upcall. -// Special Note: We deviate a bit from our policy of handing over code -// generation for elements in our scope to the be_scope class. For this method, -// it is best to simulate that behavior here as it involves a lot of -// complexity. -int -be_operation::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_type *rt; // type node for the return type - UTL_ScopeActiveIterator *si; // scope iterator - AST_Decl *d; // temp node - be_argument *bd = 0; // argument node - be_state *s; // state based code gen object - be_predefined_type *bpd=0; // predefined return type - be_interface *intf; // enclosing interface node - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ss = cg->server_skeletons (); - cg->outstream (ss); // set current stream - - ss->indent (); // start with the current indentation level - - // retrieve our enclosing interface decl - intf = be_interface::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - - *ss << "void " << intf->full_skel_name () << "::" - << this->local_name () << "_skel (" - << "CORBA::ServerRequest &_tao_server_request, " - << "CORBA::Object_ptr _tao_object_reference, " - << "CORBA::Environment &_tao_environment)" << nl; - *ss << "{\n"; - ss->incr_indent (); - // define an NVList to hold arguments - *ss << "CORBA::NVList_ptr \t nvlist;" << nl; - // define a variable that will eventually point to our implementation object - *ss << intf->full_skel_name () << "_ptr \t impl;" << nl; - - // verify if we need to define a variable intended to hold the operation - // return type. We do not need one if the return type is void - - rt = be_type::narrow_from_decl (this->return_type ()); - if (!rt) - { - ACE_ERROR ((LM_ERROR, - "be_operation::gen_server_skeletons - bad return type\n")); - return -1; - } - if (rt->node_type () == AST_Decl::NT_pre_defined) - { - bpd = be_predefined_type::narrow_from_decl (rt); - } - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - // not a void type - *ss << "CORBA::Any *result;" << nl; - - // emit the return type - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS); // emit type for - // return value - // get a state based code gen object - s = cg->make_state (); - - if (s->gen_code (rt, this) == -1) - { - ACE_ERROR ((LM_ERROR, - "be_operation::gen_server_skeletons - codegen failed for return type\n")); - return -1; - } - cg->pop (); - } - - // if we have any arguments, get each one of them and allocate an Any and - // NamedValue for each. In addition, define a variable of that type - cg->push (TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - argument gen code failed\n"), - -1); - } - *ss << "\n"; - cg->pop (); - - // declare an NVList and create one - ss->indent (); - *ss << "// create an NV list and populate it with typecodes" << nl; - *ss << "_tao_server_request.orb ()->create_list (0, nvlist); // initialize a list" << nl; - - // add each argument according to the in, out, inout semantics - *ss << "// add each argument according to the in, out, inout semantics" << nl; - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // only if this is an argument node - if (d->node_type () == AST_Decl::NT_argument) - { - bd = be_argument::narrow_from_decl (d); - bt = be_type::narrow_from_decl (bd->field_type ()); - // emit code that adds this argument to the - *ss << "nv_" << bd->local_name () << - " = nvlist->add_value (\"" << bd->local_name () << "\", " - << "any_" << bd->local_name () << ", "; - switch (bd->direction ()) - { - case AST_Argument::dir_IN: - *ss << "CORBA::ARG_IN, _tao_environment);" << nl; - break; - case AST_Argument::dir_INOUT: - *ss << "CORBA::ARG_INOUT, _tao_environment);" << nl; - break; - case AST_Argument::dir_OUT: - *ss << "CORBA::ARG_OUT, _tao_environment);" << nl; - break; - } - } // end if argument node - } // end if ! imported - si->next (); - } // end of while - delete si; // free the iterator object - } // end of arg list - - // parse the arguments - *ss << "// parse the arguments" << nl; - *ss << "_tao_server_request.params (nvlist, _tao_environment);" << nl; - *ss << "if (_tao_environment.exception ()) return;" << nl; - - cg->push (TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - argument gen code failed\n"), - -1); - } - cg->pop (); - - // make the upcall - *ss << "impl = (" << intf->full_skel_name () << "_ptr) _tao_object_reference->get_subclass ();" - << nl; - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - cg->push (TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS); - s = cg->make_state (); - // emit code to assign to retval - if (!s || (s->gen_code (rt, this) == -1)) - { - return -1; - } - *ss << " = impl->" << this->local_name () << "("; - cg->pop (); - } - else - { - // void return type - *ss << "impl->" << this->local_name () << "("; - } - - cg->push (TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - argument in upcall\n"), - -1); - } - cg->pop (); - *ss << "_tao_environment);" << nl; - - cg->push (TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS); - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_operation::gen_server_skeletons - argument gen code failed\n"), - -1); - } - cg->pop (); - - // if there is any return type, send it via the ServerRequest - if (!bpd || (bpd->pt () != AST_PredefinedType::PT_void)) - { - cg->push (TAO_CodeGen::TAO_OPERATION_RESULT_SS); - s = cg->make_state (); - if (!s || (s->gen_code (rt, this) == -1)) - return -1; - cg->pop (); - *ss << "_tao_server_request.result (result, _tao_environment);" << nl; - } - *ss << "\n"; - ss->decr_indent (); - *ss << "}\n\n"; - - return 0; -} - -// Generates the client-side inline information -int -be_operation::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_operation::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_operation, AST_Operation, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_operation) -IMPL_NARROW_FROM_SCOPE (be_operation) diff --git a/TAO/TAO_IDL/be/be_predefined_type.cpp b/TAO/TAO_IDL/be/be_predefined_type.cpp deleted file mode 100644 index e869f9889db..00000000000 --- a/TAO/TAO_IDL/be/be_predefined_type.cpp +++ /dev/null @@ -1,413 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_predefined_type.cpp -// -// = DESCRIPTION -// Extension of class AST_PredefinedType that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_PredefinedType - */ -be_predefined_type::be_predefined_type (void) -{ -} - -be_predefined_type::be_predefined_type (AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, UTL_StrList *p) - : AST_PredefinedType (t, n, p), - AST_Decl (AST_Decl::NT_pre_defined, n, p) -{ - // generate a new Scoped Name for us such that we belong to the CORBA - // namespace - if (this->pt () != AST_PredefinedType::PT_void) - { - - UTL_ScopedName *new_name = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, - I_FALSE), - NULL); - switch (this->pt ()) - { - case AST_PredefinedType::PT_long: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Long", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulong: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("ULong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_short: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Short", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ushort: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("UShort", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_float: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Float", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_double: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Double", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_char: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Char", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_octet: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Octet", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_wchar: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("WChar", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_boolean: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Boolean", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_any: - { - new_name->nconc (new UTL_ScopedName (new Identifier ("Any", 1, 0, - I_FALSE), NULL)); - // we are variable length type - this->size_type (be_decl::VARIABLE); - } - break; - default: - { - new_name->nconc (new UTL_ScopedName (this->local_name (), NULL)); - } - } - this->set_name (new_name); - } - - // computes the repoID - compute_repoID (); - - // computes the fully scoped name - compute_fullname (); - - // computes the fully scoped typecode name - compute_tc_name (); - - // compute the flattened fully scoped name - compute_flatname (); -} - -// overriden method -void -be_predefined_type::compute_tc_name (void) -{ - // start with the head as the CORBA namespace - this->tc_name_ = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, I_FALSE), - NULL); - - switch (this->pt ()) - { - case AST_PredefinedType::PT_void: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_void", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_long: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_long", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longlong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_longlong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ulong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ulonglong: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ulonglong", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_short: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_short", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_ushort: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_ushort", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_float: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_float", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_double: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_double", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_longdouble: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_longdouble", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_char: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_char", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_wchar: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_wchar", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_octet: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_octet", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_boolean: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_boolean", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_any: - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_any", 1, 0, - I_FALSE), NULL)); - } - break; - case AST_PredefinedType::PT_pseudo: - // TODO: This is a kind of hack, there are other things that are - // pseudo objects, not only objref (aka CORBA::Object). - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_Object", 1, 0, - I_FALSE), NULL)); - } - break; - default: - ACE_ERROR ((LM_WARNING, "Unknown or invalid predefined type")); - break; - } -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the predefined type -int -be_predefined_type::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - ch->indent (); - *ch << this->name (); - return 0; -} - -// Generates the client-side stubs for the predefined type -int -be_predefined_type::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - return 0; -} - -// Generates the server-side header information for the predefined type -int -be_predefined_type::gen_server_header (void) -{ - TAO_OutStream *sh; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - sh = cg->server_header (); - - return 0; -} - -// Generates the server-side skeletons for the predefined type -int -be_predefined_type::gen_server_skeletons (void) -{ - TAO_OutStream *ss; // output stream - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ss = cg->server_skeletons (); - - return 0; -} - -// Generates the client-side inline information -int -be_predefined_type::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_predefined_type::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_predefined_type::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - cs = cg->client_stubs (); - cs->indent (); // start from the current indentation level - - switch (this->pt ()) - { - case AST_PredefinedType::PT_void: - *cs << "CORBA::tk_void,\n\n"; - break; - case AST_PredefinedType::PT_short: - *cs << "CORBA::tk_short,\n\n"; - break; - case AST_PredefinedType::PT_ushort: - *cs << "CORBA::tk_ushort,\n\n"; - break; - case AST_PredefinedType::PT_long: - *cs << "CORBA::tk_long,\n\n"; - break; - case AST_PredefinedType::PT_ulong: - *cs << "CORBA::tk_ulong,\n\n"; - break; - case AST_PredefinedType::PT_longlong: - *cs << "CORBA::tk_longlong,\n\n"; - break; - case AST_PredefinedType::PT_ulonglong: - *cs << "CORBA::tk_ulonglong,\n\n"; - break; - case AST_PredefinedType::PT_float: - *cs << "CORBA::tk_float,\n\n"; - break; - case AST_PredefinedType::PT_double: - *cs << "CORBA::tk_double,\n\n"; - break; - case AST_PredefinedType::PT_longdouble: - *cs << "CORBA::tk_longdouble,\n\n"; - break; - case AST_PredefinedType::PT_boolean: - *cs << "CORBA::tk_boolean,\n\n"; - break; - case AST_PredefinedType::PT_char: - *cs << "CORBA::tk_char,\n\n"; - break; - case AST_PredefinedType::PT_octet: - *cs << "CORBA::tk_octet,\n\n"; - break; - case AST_PredefinedType::PT_any: - *cs << "CORBA::tk_any,\n\n"; - break; - case AST_PredefinedType::PT_wchar: - *cs << "CORBA::tk_wchar,\n\n"; - break; - } - return 0; -} - -long -be_predefined_type::tc_size (void) -{ - return 4; // for the enum value -} - -long -be_predefined_type::tc_encap_len (void) -{ - // XXXASG - TODO what if it was of type Object? or one of the pseudo-objects - return 0; // no encapsulation -} - -int -be_predefined_type::gen_encapsulation (void) -{ - // XXXASG - TODO what if it was of type Object? or one of the pseudo-objects - return 0; // nothing to be done -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_predefined_type, AST_PredefinedType, be_type) -IMPL_NARROW_FROM_DECL (be_predefined_type) diff --git a/TAO/TAO_IDL/be/be_produce.cpp b/TAO/TAO_IDL/be/be_produce.cpp deleted file mode 100644 index 15691d84164..00000000000 --- a/TAO/TAO_IDL/be/be_produce.cpp +++ /dev/null @@ -1,129 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// BE_produce.cc - Produce the work of the BE - does nothing in the -// dummy BE - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * Do the work of this BE. This is the dummy BE so we dont do anything in - * particular here - */ -void -BE_produce() -{ - -#if 0 - // let us print all the global values - cout << "filename is " << endl; - idl_global->filename()->dump(cout); - cout << endl; - cout << "main filename is " << endl; - idl_global->main_filename()->dump(cout); - cout << endl; - cout << "real filename is " << endl; - idl_global->real_filename()->dump(cout); - cout << endl; - cout << "stripped filename is " << endl; - idl_global->stripped_filename()->dump(cout); - cout << endl; - cout << "IDL source filename is " << endl; - idl_global->idl_src_file()->dump(cout); - cout << endl; - cout << "prog_name is " << idl_global->prog_name() << endl; -#endif - be_root *root; // root of the AST made up of BE nodes - AST_Decl *d = idl_global->root (); - root = be_root::narrow_from_decl (d); - if (root == NULL) - { - cerr << "No root" << endl; - BE_abort(); - } - -#if 0 - // this was just for debugging - root->dump (cerr); -#endif - - // start the code generation process - if (root->gen_idl2cplusplus_mapping() == -1) - { - cerr << "Mapping process failed" << endl; - BE_abort(); - } -} - -/* - * Abort this run of the BE - */ -void -BE_abort() -{ - cerr << "Fatal Error" << endl; - exit (1); -} diff --git a/TAO/TAO_IDL/be/be_root.cpp b/TAO/TAO_IDL/be/be_root.cpp deleted file mode 100644 index 4fbe89ebf3a..00000000000 --- a/TAO/TAO_IDL/be/be_root.cpp +++ /dev/null @@ -1,308 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_root.cpp -// -// = DESCRIPTION -// Extension of class AST_Root that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// Default Constructor -be_root::be_root (void) -{ -} - -// Constructor used to build the root of the abstract syntax tree (AST) -be_root::be_root (UTL_ScopedName *n, UTL_StrList *p) - : AST_Root (n, p), - AST_Decl (AST_Decl::NT_root, n, p), - UTL_Scope (AST_Decl::NT_root) - -{ -} - -// ===================================================== -// CODE GENERATION METHODS -// ===================================================== - -// Starting point for the code generation. Called inside BE_produce () -int be_root::gen_idl2cplusplus_mapping (void) -{ - // this is the main starting point from which the files are generated. We - // delegate the task of code generation to a special Code Generation - // object. This allows a number of different front ends to access the services - // of a single code generator - - // C++ mapping involves producing 6 files. These include the client and - // server side headers, the client and server side inlines, as well as client - // stubs and server skeletons. - if (this->gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client header file: %s\n", - idl_global->be_get_client_hdr_fname ())); - return -1; - } - if (this->gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client inline file: %s\n", - idl_global->be_get_client_inline_fname ())); - return -1; - } - if (this->gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating client stubs file: %s\n", - idl_global->be_get_client_stub_fname ())); - return -1; - } - if (this->gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server header file: %s\n", - idl_global->be_get_server_hdr_fname ())); - return -1; - } - if (this->gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server inline file: %s\n", - idl_global->be_get_server_inline_fname ())); - return -1; - } - if (this->gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error generating server skeleton file: %s\n", - idl_global->be_get_server_skeleton_fname ())); - return -1; - } - - return 0; -} - -// generate client header -int be_root::gen_client_header (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CH); // set the code generation state - - // open the client-side header file - if (cg->client_header (idl_global->be_get_client_hdr_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client header\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - (void) cg->end_client_header (); // generate the last #endif - return 0; -} - -// Generates the client-side stubs for the root -int be_root::gen_client_stubs (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CS); // set the code generation state - - // open the client-side stub file - if (cg->client_stubs (idl_global->be_get_client_stub_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client stubs file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the client-side inlines for the root -int be_root::gen_client_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_CI); // set the code generation state - - // open the client-side inline file - if (cg->client_inline (idl_global->be_get_client_inline_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening client inline file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the server-side header information for the root -int be_root::gen_server_header (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SH); // set the code generation state - - // open the server-side header file - if (cg->server_header (idl_global->be_get_server_hdr_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server header\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_header () == -1) - { - ACE_ERROR ((LM_ERROR, - "be_root: server code generation for scope failed\n")); - return -1; - } - - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - (void) cg->end_server_header (); // generate the last #endif statement - return 0; -} - -// Generates the server-side skeletons for the root -int be_root::gen_server_skeletons (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SS); // set the code generation state - - // open the server-side skeleton file - if (cg->server_skeletons (idl_global->be_get_server_skeleton_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server skeletons file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_skeletons () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// Generates the server-side inlines for the root -int be_root::gen_server_inline (void) -{ - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_ROOT_SI); // set the code generation state - - // open the server-side inline file - if (cg->server_inline (idl_global->be_get_server_inline_fname ()) == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: Error opening server inline file\n")); - return -1; - } - // delegate the task of code generation to the scope - if (be_scope::gen_server_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_root: code generation for scope failed\n")); - return -1; - } - cg->pop (); - - // at this point, we must be in the initial state - // ACE_ASSERT (cg->state () == TAO_CodeGen::TAO_INITIAL); - - return 0; -} - -// We had to provide these since the AST_Root::fe_* method was setting the -// names of these three to "local type" - -/* - * Add this AST_Sequence to the locally defined types in this scope - */ -AST_Sequence * -be_root::fe_add_sequence (AST_Sequence *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types(t); - return t; -} - -/* - * Add this AST_String to the locally defined types in this scope - */ -AST_String * -be_root::fe_add_string (AST_String *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types (t); - - return t; -} - -/* - * Add this AST_Array to the locally defined types in this scope - */ -AST_Array * -be_root::fe_add_array (AST_Array *t) -{ - if (t == NULL) - return NULL; - - add_to_local_types (t); - - return t; -} - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS3 (be_root, AST_Root, be_scope, be_decl) -IMPL_NARROW_FROM_DECL (be_root) -IMPL_NARROW_FROM_SCOPE (be_root) diff --git a/TAO/TAO_IDL/be/be_scope.cpp b/TAO/TAO_IDL/be/be_scope.cpp deleted file mode 100644 index 4b653b0a2a1..00000000000 --- a/TAO/TAO_IDL/be/be_scope.cpp +++ /dev/null @@ -1,413 +0,0 @@ -// -// $Id$ -// -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// Default Constructor -be_scope::be_scope (void) -{ -} - -// Constructor -be_scope::be_scope (AST_Decl::NodeType type) - : UTL_Scope (type) -{ -} - -be_scope::~be_scope (void) -{ -} - -// Code generation methods -int -be_scope::gen_client_header (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - - // NOTE: Our assumption here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - // The FE does some strange things in which items get added to - // the enclosing scope as well as the scope that encloses the - // enclosing scope. We do not want to generate code for items - // that do not belong to the appropriate scope - - bd = be_decl::narrow_from_decl (d); - // @@ Despite the comment above the following code will - // crash without the if() around it. - if (bd != 0) - { - if (bd->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_header failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_header - " - "narrow_from_decl returned 0\n")); - } - } // no imported - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_client_stubs (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - // @@ Despite the comment above the following code will - // crash without the if() around it. - if (bd != 0) - { - if (bd->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_stubs failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_stubs - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_client_inline (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_client_inline failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_client_inline - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_header (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - // we are not imported. - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_header failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l) be_scope::gen_server_header - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_skeletons (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - // we are not imported. - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_skeletons () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_skeletons failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::gen-server_skeletons - " - "narrow_from_decl returned 0\n")); - } - } // not imported - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_server_inline (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - - if (!d->imported ()) - { - // we are not imported. - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - if (bd->gen_server_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_scope::gen_server_inline failed\n"), - -1); - } - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::gen_server_inline - " - "narrow_from_decl returned 0\n")); - } - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -int -be_scope::gen_encapsulation (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - bd = be_decl::narrow_from_decl (d); - if (bd->gen_encapsulation () == -1) - { - // failure - return -1; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -long -be_scope::tc_encap_len (void) -{ - UTL_ScopeActiveIterator *si; - AST_Decl *d; - be_decl *bd; - long encap_len = 0; - - if (this->nmembers () > 0) - { - // if there are elements in this scope - - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - // instantiate a scope iterator. - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - - // NOTE: Our assumptin here is that whatever scope we are in, the - // node type that shows up here *MUST* be valid according to the - // IDL grammar. We do not check for this since the front end must - // have taken care of weeding out such errors - - bd = be_decl::narrow_from_decl (d); - if (bd != 0) - { - encap_len += bd->tc_encap_len (); - } - else - { - ACE_DEBUG ((LM_DEBUG, - "WARNING (%N:%l): be_scope::tc_encap_len - " - "narrow_from_decl returned 0\n")); - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return encap_len; -} - -// narrowing methods -IMPL_NARROW_METHODS1 (be_scope, UTL_Scope) -IMPL_NARROW_FROM_SCOPE (be_scope) diff --git a/TAO/TAO_IDL/be/be_sequence.cpp b/TAO/TAO_IDL/be/be_sequence.cpp deleted file mode 100644 index 96dc38d0182..00000000000 --- a/TAO/TAO_IDL/be/be_sequence.cpp +++ /dev/null @@ -1,1406 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sequence.cpp -// -// = DESCRIPTION -// Extension of class AST_Sequence that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Sequence - */ -be_sequence::be_sequence (void) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -be_sequence::be_sequence (AST_Expression *v, AST_Type *t) - : AST_Sequence (v, t), - AST_Decl (AST_Decl::NT_sequence, - NULL, - NULL), - seq_node_ (NULL) -{ - // check if we are bounded or unbounded. An expression value of 0 means - // unbounded - if (v->ev ()->u.ulval == 0) - { - this->unbounded_ = I_TRUE; - } - else - { - this->unbounded_ = I_FALSE; - } - - this->size_type (be_decl::VARIABLE); // a sequence data type is always - // VARIABLE -} - -int -be_sequence::create_name (void) -{ - static char namebuf [200]; - UTL_ScopedName *n = NULL; - be_decl *d; // may point to a typedef node - be_decl *scope; // scope in which we are defined - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - - d = cg->node (); // retrieve the node that was passed in via the CodeGen - // object - - if (!d) - return -1; // error, we cannot be free standing. - - // we generate a name for ourselves. Start by generating a local name - - ACE_OS::memset (namebuf, '\0', 200); - ACE_OS::sprintf (namebuf, "_tao__seq_%s", d->local_name ()->get_string ()); - - if (d->node_type () == AST_Decl::NT_sequence) - { - // this means that we are an anonymous sequence who happens to be a - // base type of the sequence denoted by the node "d". - // Hence we set our enclosing scope to be the node "d" - this->set_defined_in (DeclAsScope (d)); - } - - // now set our fully scoped name - - // now see if we have a fully scoped name. - scope = be_decl::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - if (scope != NULL) - { - // make a copy of the enclosing scope's name - n = (UTL_ScopedName *)scope->name ()->copy () ; - - // add our local name as the last component - n->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), - NULL)); - // set the fully scoped name - this->set_name (n); - } - else - { - // We better be not here because we must be inside some scope, - // atleast the ROOT scope. - return -1; - } - return 0; -} - -void -be_sequence::compute_scoped_name (void) -{ - UTL_ScopedName *n = (UTL_ScopedName *)this->seq_node_->name ()->copy (); - n->nconc (this->name ()); - this->set_name (n); -} - -int -be_sequence::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // state based code gen object - - if (!this->cli_hdr_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // first create a name for ourselves. We defer name creation for - // ourselves to this point since named sequences should get the name - // of the typedef node, else some other technique of name generation - // should be used. - if (this->create_name () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_header - name creation failed\n"), - -1); - } - - ch = cg->client_header (); - - // generate the ifdefined macro for the sequence type - ch->gen_ifdef_macro (this->flatname ()); - - ch->indent (); // start with the current indentation level - - *ch << "// *************************************************************" - << nl; - *ch << "// class " << this->local_name () << nl; - *ch << "// *************************************************************" - << nl << nl; - - *ch << "class " << this->local_name () << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (0); - - // retrieve the base type since we may need to do some code - // generation for the base type. - bt = be_type::narrow_from_decl (this->base_type ()); - if (bt == NULL) - { - ACE_ERROR ((LM_ERROR, "be_sequence: base type NULL\n")); - return -1; - } - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CH); // set current code gen - // state - s = cg->make_state (); - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_sequence: base type codegen failed\n")); - return -1; - } - cg->pop (); - - // now generate the sequence body - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - - // generate constructors - ch->indent (); - *ch << this->local_name () << " (void); // default constructor" << nl; - // check whether we are bounded or not. Depending on that the mapping is - // slightly different as shown below - if (this->unbounded_) - { - *ch << local_name () << " (CORBA::ULong max);" << nl; - *ch << local_name () << " (CORBA::ULong max, CORBA::ULong length, " << nl; - } - else - { - // bounded seq does not take the "max" argument - *ch << local_name () << " (CORBA::ULong length, " << nl; - } - - *ch << "\t"; - // generate the type info for the element type - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " *value, CORBA::Boolean release=CORBA::B_FALSE);" << nl; - *ch << local_name () << "(const " << local_name () << - " &); // copy constructor" << nl; - *ch << "~" << this->local_name () << " (void);" << nl; - *ch << this->local_name () << " &operator= (const " << - this->local_name () << " &);" << nl; - *ch << "CORBA::ULong maximum (void) const;" << nl; - *ch << "void length (CORBA::ULong);" << nl; - *ch << "CORBA::ULong length (void) const;" << nl; - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " &operator[] (CORBA::ULong index);" << nl; - *ch << "const "; - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " &operator[] (CORBA::ULong index) const;" << nl; - - // generate the static allocbuf and freebuf methods - *ch << "static "; - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " *allocbuf (CORBA::ULong nelems);" << nl; - *ch << "static void freebuf ("; - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " *);\n" ; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << "CORBA::ULong maximum_;" << nl; - *ch << "CORBA::ULong length_;" << nl; - if (s->gen_code (bt, this) == -1) - return -1; - *ch << " *buffer_;" << nl; - *ch << "CORBA::Boolean release_;\n"; - ch->decr_indent (); - *ch << "};\n"; - ch->indent (); - *ch << "typedef " << this->local_name () << "* " - << this->local_name () << "_ptr;\n"; - - // Generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - - ch->gen_endif (); // endif macro - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_var"); - - // generate the var and out types - if (this->gen_var_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_hdr - _var defn failed\n"), -1); - } - ch->gen_endif (); - - // generate the ifdefined macro for the var type - ch->gen_ifdef_macro (this->flatname (), "_out"); - - if (this->gen_out_defn () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_hdr - _out defn failed\n"), -1); - } - ch->gen_endif (); - - cg->pop (); - - this->cli_hdr_gen_ = I_TRUE; - } // if (cli_hdr_gen_) - return 0; -} - -int -be_sequence::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; // base type - be_state *s; //state object - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); // retrieve the client stubs stream - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - return -1; - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CS); - s = cg->make_state (); - - // generate stubs for our base type if it itself is a sequence - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_stubs - base type code gen\n"), -1); - } - cg->pop (); - - // generate the methods of the sequence C++ mapping - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CS); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_stubs - invalid state\n"), -1); - } - - *cs << "// *************************************************************" - << nl; - *cs << "// class " << this->name () << nl; - *cs << "// *************************************************************\n\n"; - - // copy constructor - cs->indent (); - *cs << "// copy constructor" << nl; - *cs << this->name () << "::" << this->local_name () << - " (const " << this->name () << " &seq)" << nl; - *cs << "\t: maximum_ (seq.maximum_)," << nl; - *cs << "\t length_ (seq.length_)," << nl; - *cs << "\t buffer_ (" << this->name () << "::allocbuf (seq.maximum_))," - << nl; - *cs << "\t release_ (1) // we always own it" << nl; - *cs << "{\n"; - cs->incr_indent (); - // copy each element - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "\tthis->buffer_[i] = seq.buffer_[i];\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // destructor - cs->indent (); - *cs << "// destructor" << nl; - *cs << this->name () << "::~" << this->local_name () << " (void)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "if (this->release_) // we own the buffer" << nl; - *cs << "{\n"; - cs->incr_indent (); - // only for obj references and strings, we need to free each individual - // element - switch (bt->node_type ()) - { - case AST_Decl::NT_interface: - case AST_Decl::NT_interface_fwd: - case AST_Decl::NT_string: - { - // XXXASG - TODO (tricky) - } - break; - default: - break; - } - // call freebuf - *cs << this->name () << "::freebuf (this->buffer_);\n"; - cs->decr_indent (); - *cs << "}\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // assignment operator - cs->indent (); - *cs << "// assignment operator" << nl; - *cs << this->name () << "& " << nl; - *cs << this->name () << "::operator=" << - " (const " << this->name () << " &seq)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // check for equality - *cs << "if (this == &seq) return *this;" << nl; - // otherwise, if release flag, free the buffer - *cs << "if (this->release_)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << this->name () << "::freebuf (this->buffer_);\n"; - cs->decr_indent (); - *cs << "}" << nl; - - *cs << "this->length_ = seq.length_;" << nl; - *cs << "this->maximum_ = seq.maximum_;" << nl; - *cs << "this->buffer_ = " << this->name () << "::allocbuf (seq.maximum_)," - << nl; - *cs << "this->release_ =1; // we always own it" << nl; - // copy each element - *cs << "for (CORBA::ULong i=0; i < seq.length_; i++)" << nl; - *cs << "\tthis->buffer_[i] = seq.buffer_[i];" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // set the length - cs->indent (); - *cs << "void" << nl; - *cs << this->name () << "::length (CORBA::ULong length)" << nl; - *cs << "{\n"; - cs->incr_indent (); - if (this->max_size () == 0) - { - // The sequence has a maximum length, check that the new - // length is valid before changing anything. - *cs << "if (length > this->maximum_)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "// @@ throw something?" << nl; - *cs << "return;" << nl; - cs->decr_indent (); - *cs << "}" << nl; - *cs << "this->length_ = length;\n"; - } - else - { - // Reallocate the buffer. - *cs << "if (length > this->maximum_)" << nl; - *cs << "{\n"; - cs->incr_indent (); - if (s->gen_code (bt, this) == -1) - return -1; - *cs << " *tmp = " << this->name () - << "::allocbuf (length);" << nl; - *cs << "if (tmp == 0)\n"; - cs->incr_indent (); - *cs << "return;\n"; - cs->decr_indent (); - - *cs << "for (CORBA::ULong i = 0; i < this->length_; ++i)" << nl; - *cs << "{\n"; - cs->incr_indent (); - *cs << "tmp[i] = this->buffer_[i];\n"; - cs->decr_indent (); - *cs << "}" << nl; - *cs << "if (this->release_)\n"; - cs->incr_indent (); - *cs << this->name () << "::freebuf (this->buffer_);\n"; - cs->decr_indent (); - *cs << "this->buffer_ = tmp;" << nl; - *cs << "this->release_ = 1;" << nl; - *cs << "this->maximum_ = length;\n"; - cs->decr_indent (); - *cs << "}\n"; - *cs << "this->length_ = length;\n"; - } - cs->decr_indent (); - *cs << "}\n\n"; - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_sequence:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_sequence, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - cg->pop (); - this->cli_stub_gen_ = I_TRUE; - } - return 0; -} - -// Generates the client-side inline information -int -be_sequence::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - be_state *s; // code gen state - be_type *bt; // base type - - if (!this->cli_inline_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - return -1; - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BASE_CI); - s = cg->make_state (); - - // generate inline methods for our base type if it itself is a sequence - if (!s || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_inline - base type code gen\n"), -1); - } - cg->pop (); - - // generate the methods of the sequence C++ mapping - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_client_inline - invalid state\n"), -1); - } - - // the allocbuf method - ci->indent (); - *ci << "ACE_INLINE "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence - base type code gen failure\n"), -1); - } - *ci << " *" << nl; - *ci << this->name () << "::allocbuf (CORBA::ULong nelems)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return new "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence - base type code gen failure\n"), -1); - } - *ci << "[nelems]; // allocate from heap\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // freebuf method - ci->indent (); - *ci << "ACE_INLINE void" << nl; - *ci << this->name () << "::freebuf ("; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence - base type code gen failure\n"), -1); - } - *ci << " *seq)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete [] seq;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // default constructor - ci->indent (); - *ci << "//default constructor" << nl; - *ci << "ACE_INLINE " << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - // for bounded and unbounded, initialize the data members differently - if (this->unbounded_) - { - *ci << "\t: maximum_ (0)," << nl; - *ci << "\t length_ (0)," << nl; - *ci << "\t buffer_ (0)," << nl; - *ci << "\t release_ (0) // does not own" << nl; - } - else - { - *ci << "\t: maximum_ (" << this->max_size () << ")," << nl; - *ci << "\t length_ (0)," << nl; - *ci << "\t buffer_ (" << this->name () << "::allocbuf (" << - this->max_size () << "))," << nl; - *ci << "\t release_ (1) // owns" << nl; - } - *ci << "{}\n\n"; - - // constructor only for unbounded seq. This takes in "max length" - if (this->unbounded_) - { - ci->indent (); - *ci << "// constructor for unbounded seq" << nl; - *ci << "ACE_INLINE " << nl; - *ci << this->name () << "::" << this->local_name () << - "(CORBA::ULong max )" << nl; - *ci << "\t: maximum_ (max)," << nl; - *ci << "\t length_ (0)," << nl; - *ci << "\t buffer_ (" << this->name () << "::allocbuf (max))," << nl; - *ci << "\t release_ (1) // owns" << nl; - *ci << "{}\n\n"; - } - - // constructor that takes in the data buffer - // XXXASG - may not work for seq of strings or obj refs - ci->indent (); - *ci << "// constructor from data buffer" << nl; - *ci << "ACE_INLINE " << nl; - *ci << this->name () << "::" << this->local_name (); - // depending on whether we are bounded ot not, the constructor has - // different sets of parameters - if (this->unbounded_) - { - *ci << " (CORBA::ULong max, CORBA::ULong length, " << nl; - } - else - { - // bounded seq does not take the "max" argument - *ci << " (CORBA::ULong length, " << nl; - } - *ci << "\t"; - if (s->gen_code (bt, this) == -1) - return -1; - *ci << " *value, CORBA::Boolean release)" << nl; - // for unbounded we have the additional max parameter - if (this->unbounded_) - { - *ci << "\t: maximum_ (max)," << nl; - } - else - { - *ci << "\t: maximum_ (" << this->max_size () << ")," << nl; - } - *ci << "\t length_ (length)," << nl; - *ci << "\t buffer_ (value)," << nl; - *ci << "\t release_ (release) // ownership depends on release" << nl; - *ci << "{}\n\n"; - - // the maximum method - ci->indent (); - *ci << "ACE_INLINE CORBA::ULong" << nl; - *ci << this->name () << "::maximum (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->maximum_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the length method - ci->indent (); - *ci << "ACE_INLINE CORBA::ULong" << nl; - *ci << this->name () << "::length (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->length_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // subscript operators (1) read-only, (2) read/write - ci->indent (); - *ci << "ACE_INLINE "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence - base type code gen failure\n"), -1); - } - *ci << " &" << nl; - *ci << this->name () << "::operator[] (CORBA::ULong index) // read/write" - << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->buffer_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE const "; - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence - base type code gen failure\n"), -1); - } - *ci << " &" << nl; - *ci << this->name () << "::operator[] (CORBA::ULong index) const // read" - << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->buffer_[index];\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // generate the implementations for the _var and _impl classes - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_sequence: _var impl code gen failed\n")); - return -1; - } - if (this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_sequence: _out impl code gen failed\n")); - return -1; - } - - this->cli_inline_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -int -be_sequence::gen_server_header (void) -{ - return 0; -} - -int -be_sequence::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the server-side inline -int -be_sequence::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the _var definition for ourself -int -be_sequence::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - be_state *s; // code gen state - be_type *bt; // base type - - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - *ch << "// *************************************************************" - << nl; - *ch << "// class " << this->name () << "_var" << nl; - *ch << "// *************************************************************\n\n"; - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_defn - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << this->local_name () << " *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << this->local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << - " &);" << nl; - - // arrow operator - *ch << this->local_name () << " *operator-> (void);" << nl; - *ch << "const " << this->local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - - // cast operator - *ch << "operator const " << this->local_name () << " &() const;" << nl; - *ch << "operator " << this->local_name () << " &();" << nl; - *ch << "operator " << this->local_name () << " &() const;" << nl; - - // overloaded [] operator. The const version is not required for sequences - - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_impl - base type codegen failed\n"), -1); - } - *ch << " &operator[] (CORBA::ULong index);" << nl; - - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - *ch << "const " << this->local_name () << " &in (void) const;" << nl; - *ch << this->local_name () << " &inout (void);" << nl; - *ch << this->local_name () << " *&out (void);" << nl; - *ch << this->local_name () << " *_retn (void);" << nl; - - // generate an additional member function that returns the underlying pointer - *ch << this->local_name () << " *ptr (void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << this->local_name () << " *ptr_;\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - cg->pop (); - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_sequence::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - be_state *s; // code gen state - be_type *bt; // base type - - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_impl - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate the var implementation in the inline file - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a _ptr - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << "_ptr p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (p.ptr_)" << nl; - *ci << "\tthis->ptr_ = new " << this->name () << "(*p.ptr_);" << nl; - *ci << "else" << nl; - *ci << "\tthis->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from a pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p) // deep copy" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = new " << this->name () << " (*p.ptr_);\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two arrow operators - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - 3 cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - " &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() const// cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator [] - ci->indent (); - *ci << "ACE_INLINE "; - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_impl - base type codegen failed\n"), -1); - } - *ci << "&" << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_->operator[] (index);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << name () << " &" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "// mapping for variable size " << nl; - *ci << "ACE_INLINE " << name () << " *&" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << " *tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - cg->pop (); - - return 0; -} - -// generate the _out definition -int -be_sequence::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - be_state *s; // code gen state - be_type *bt; // base type - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CH); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_out_defn - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << this->local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << this->local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << this->local_name () << " *);" << nl; - // operator () - *ch << "operator " << this->local_name () << " *&();" << nl; - // ptr fn - *ch << this->local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << this->local_name () << " *operator-> (void);" << nl; - - // overloaded [] operator only for sequence. The const version is not - // required - - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_var_impl - base type codegen failed\n"), -1); - } - *ch << " &operator[] (CORBA::ULong index);" << nl; - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - - *ch << this->local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << this->local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - cg->pop (); - return 0; -} - -int -be_sequence::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - be_state *s; // code gen state - be_type *bt; // base type - - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - - cg->push (TAO_CodeGen::TAO_SEQUENCE_BODY_CI); - s = cg->make_state (); - - if (!s) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_out_impl - invalid state obj\n"), -1); - } - - // retrieve base type - bt = be_type::narrow_from_decl (this->base_type ()); - - // generate the out implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *&p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - " *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // sequence has an additional method - ci->indent (); - *ci << "ACE_INLINE "; - // gen code for base return type - if (s->gen_code (bt, this) == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_sequence::gen_out_impl - base type codegen failed\n"), -1); - } - *ci << "& " << nl; - *ci << fname << "::operator[] (CORBA::ULong index)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_->operator[] (index);\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - cg->pop (); - return 0; -} - -// generate typecode. -// Typecode for sequences comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_sequence::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_sequence, // typecode kind" << nl; - *cs << this->tc_size () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description - -int -be_sequence::gen_encapsulation (void) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // base type - - os = cg->client_stubs (); - os->indent (); // start from the current indentation level - - *os << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - - // emit typecode of element type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR ((LM_ERROR, "be_sequence::gen_typecode - bad base type\n")); - return -1; - } - - // emit the length - os->indent (); - *os << this->max_size () << ",\n"; - return 0; -} - -// compute typecode size -long -be_sequence::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_sequence::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - - this->encap_len_ = 4; // holds the byte order flag - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_sequence::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - this->encap_len_ += 4; // to hold the max size - - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_sequence, AST_Sequence, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_sequence) diff --git a/TAO/TAO_IDL/be/be_state.cpp b/TAO/TAO_IDL/be/be_state.cpp deleted file mode 100644 index 5d762a189c5..00000000000 --- a/TAO/TAO_IDL/be/be_state.cpp +++ /dev/null @@ -1,61 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state.cpp -// -// = DESCRIPTION -// state based code generation. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// constructor -be_state::be_state (void) -{ -} - -// destructor -be_state::~be_state (void) -{ -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton<be_state_struct_ch, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_union_disctypedefn_ch, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_union_disctypedefn_ci, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_union_public_ch, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_union_public_ci, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_union_private_ch, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_operation, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_argument, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_typedef, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_array, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_sequence, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<be_state_attribute, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<TAO_CodeGen, ACE_SYNCH_RECURSIVE_MUTEX>; -template class ACE_Singleton<TAO_OutStream_Factory, ACE_SYNCH_RECURSIVE_MUTEX>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton<be_state_struct_ch, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_union_disctypedefn_ch, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_union_disctypedefn_ci, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_union_public_ch, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_union_public_ci, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_union_private_ch, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_operation, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_argument, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_typedef, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_array, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_sequence, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<be_state_attribute, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<TAO_CodeGen, ACE_SYNCH_RECURSIVE_MUTEX> -#pragma instantiate ACE_Singleton<TAO_OutStream_Factory, ACE_SYNCH_RECURSIVE_MUTEX> -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ diff --git a/TAO/TAO_IDL/be/be_state_argument.cpp b/TAO/TAO_IDL/be/be_state_argument.cpp deleted file mode 100644 index c42831e448b..00000000000 --- a/TAO/TAO_IDL/be/be_state_argument.cpp +++ /dev/null @@ -1,1973 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_argument.cpp -// -// = DESCRIPTION -// state based code generation for arguments. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for argument -be_state_argument::be_state_argument (void) -{ -} - -// generate code for the mapping of the argument. -// The different cases below have the following meaning: -// TAO_ARGUMENT_CH -// TAO_ARGUMENT_CS -// TAO_ARGUMENT_SH -- all three generate the arguments in the signature of the -// method . The CH case uses the ACE_NESTED_CLASS macro to -// keep the MSVC++ compiler happy -// The rest of the enumerated constants are self-explanatory -// -// There are 3 levels of nested switch statements -// Level (1): The "type" of each argument, e.g., predefined, structure, ... -// Level (2): The direction - in, inout, out -// Level (3): The current state we are in - -int -be_state_argument::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_argument *arg; // argument node - be_interface *bif; // interface inside which the operation that uses this - // argument was defined - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_ARGUMENT_SS: - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - os = cg->server_skeletons (); - break; - } - - // retrieve the argument node - arg = be_argument::narrow_from_decl (d); - if (!arg) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument.cpp - " - "Bad argument\n"), - -1); - } - - // get the scope of the arg which is the operation. Its scope is the - // interface node. We need this interface node for generating the - // ACE_NESTED_CLASS macro - bif = be_interface::narrow_from_scope (ScopeAsDecl (arg->defined_in - ())->defined_in ()); - if (!bif) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument.cpp - " - "Bad interface\n"), - -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // find the direction of the argument. Depending on the direction and the - // type, generate the mapping - switch (type->node_type ()) // LEVEL (1) switch on node type of the "type" - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - // what state are we in - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << "; // cast it" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // pass the cast value - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing for in parameters - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &_tao_base_" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing for an in parameter - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // switch state - break; - case AST_Argument::dir_INOUT: // inout - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << " = " << arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // reassign to the inout parameter doing a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", env);" - << nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr *_tao_base_" << arg->local_name () - << " = new CORBA::Object_ptr;" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (*_tao_base_" << arg->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // assign modified interface obj ref to object_ptr - *os << "*_tao_base_" << arg->local_name () << " = " << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << arg->local_name () - << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // reassign to the inout parameter doing a _narrow - *os << arg->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << arg->local_name () << ", env);" - << nl; - *os << "// free the Object_ptr" << nl; - *os << "CORBA::release (_tao_base_" << arg->local_name () << - ");" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - *os << bt->name () << "_out " << arg->local_name () << - "_out (" << arg->local_name () << ");" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr *_tao_base_" << arg->local_name () - << " = new CORBA::Object_ptr;" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // out parameter is cast to Object_ptr - *os << "*_tao_base_" << arg->local_name () << " = " << - arg->local_name () << "_out;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end of case interface/interface_fwd - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - *os << bt->name () << " "; - // declare a variable - *os << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " &" << arg->local_name - () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " "; - *os << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG - TODO very similar to ObjRef - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *"; - *os << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end of if - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // no casting necessary as we already are object_ptr - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing to be done as we are Object_ptr - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_ptr") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr *" << arg->local_name () << - " = new " << bt->name () << "_ptr;" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_ptr") << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_ptr &" << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << arg->local_name () << ";" << nl; - *os << bt->name () << "_out "; - *os << arg->local_name () << "_out (" << arg->local_name - () << ");" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // declare a variable - *os << bt->name () << "_ptr _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // assign to the _out parameter - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end else if - else // simple predefined types - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB owns " << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << - " = new " << bt->name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << "*" << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << - ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch - break; - } // end switch direction - } // end of else - } // end of case predefined - break; - case AST_Decl::NT_string: // type is a string - { - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - *os << "const "; - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif); - else - *os << "char *"; - *os << " " << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - case TAO_CodeGen::TAO_ARGUMENT_CS: - { - *os << "const "; - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_INOUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif); - else - *os << "char *"; - *os << " " << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_SH: - case TAO_CodeGen::TAO_ARGUMENT_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - case AST_Argument::dir_OUT: - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << arg->local_name () << ";" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name () << "_out"; - else - *os << "CORBA::String_out"; - *os << " " << arg->local_name () << "_out (" << - arg->local_name () << ");" << nl; - // we also declare a corresponding char* - // passed to the decoder - *os << "char **_tao_base_" << arg->local_name () - << " = new char*;" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", _tao_base_" << arg->local_name () << - ", 1); // ORB owns" << nl; - - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // declare a string variable - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name (); - else - *os << "char *"; - *os << " _tao_base_" << arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &_tao_base_" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // assign the _tao_base_<string> variable to the out - // parameter - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << "_out, "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // out parameter is cast - *os << "*_tao_base_" << arg->local_name () << " = " << - arg->local_name () << "_out;" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->nested_type_name (bif, "_out"); - else - *os << "CORBA::String_out"; - *os << " " << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - *os << bt->name () << "_out"; - else - *os << "CORBA::String_out"; - *os << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - break; - } // end switch direction - } // end case string - break; - case AST_Decl::NT_array: // type is an array - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () - << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " " << arg->local_name () - << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name (); - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "_slice *"; - } - *os << " " << arg->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->nested_type_name (bif, "_slice") << " *" << - arg->local_name () << ", "; - } - else - { - *os << bt->nested_type_name (bif) << " " << - arg->local_name () << ", "; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name (); - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "_slice *"; - } - *os << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << "_slice *" << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // TODO XXXASG - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } - break; - } // end of switch direction - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << - ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " &" << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << "const " << bt->name () << " &" << arg->local_name () - << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << - ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " &" << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - // declare a variable - *os << bt->name () << " *" << arg->local_name () << ";" << - nl; - *os << bt->name () << "_out " << arg->local_name () << - "_out (" << arg->local_name () << ");" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", " << arg->local_name () << - ", 1); // ORB owns" << nl; - } - else - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - ", 1); // ORB owns" << nl; - } // end else - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // declare a variable. We need this only if we are variable - // sized. If we are fixed sized, we already know our size and - // hence we have already been allocated - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *_tao_base_" << arg->local_name - () << " = new " << bt->name () << ";" << nl; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << ", _tao_base_" << arg->local_name (); - } - else - { - // simply pass our address - *os << ", &" << arg->local_name (); - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << arg->local_name () << " = _tao_base_" << - arg->local_name () << ";" << nl; - } - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - if (bt->size_type () == be_decl::VARIABLE) - *os << arg->local_name () << "_out, "; - else - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - break; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - } // end switch direction - break; - case AST_Decl::NT_enum: // type is an enum - switch (arg->direction ()) - { - case AST_Argument::dir_IN: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " " << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end of switch state - } // end case - break; - case AST_Argument::dir_INOUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " &" << arg->local_name - () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << " &" << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Argument::dir_OUT: - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARGUMENT_VARDECL_SS: - { - // declare a variable - *os << bt->name () << " " << arg->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << arg->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << arg->local_name () << " (" << - bt->tc_name () << ", &" << arg->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_DOCALL_CS: - { - *os << ", &" << arg->local_name (); - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_UPCALL_SS: - { - *os << arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_out") << " " << - arg->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ARGUMENT_CS: - case TAO_CodeGen::TAO_ARGUMENT_SH: - { - *os << bt->name () << "_out " << arg->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_argument - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - } // end switch direction - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of case - break; - } //end switch node type - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_array.cpp b/TAO/TAO_IDL/be/be_state_array.cpp deleted file mode 100644 index 618c891bc7b..00000000000 --- a/TAO/TAO_IDL/be/be_state_array.cpp +++ /dev/null @@ -1,118 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_array.cpp -// -// = DESCRIPTION -// state based code generation for arrays. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for array -be_state_array::be_state_array (void) -{ -} - -// generate code for array type -int -be_state_array::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - // get the appropriate stream - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ARRAY_DEFN_CH: - case TAO_CodeGen::TAO_ARRAY_OTHER_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ARRAY_DEFN_CI: - os = cg->client_inline (); - break; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - *os << bt->name () << "_var "; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - *os << bt->name (); - } - break; - case AST_Decl::NT_string: // type is a string - { - *os << "CORBA::String_var "; - } - break; - case AST_Decl::NT_array: - // type is an array. This is possible only if we - // are here thru the typedef node - { - *os << bt->name () << "_slice *"; - } - break; - // these are all anonymous types - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // based on what state we are in, we may have to generate the definition - // of the type first - if (cg->state () == TAO_CodeGen::TAO_ARRAY_DEFN_CH) - if (bt->gen_client_header () == -1) // generate the defn - return -1; - - *os << bt->name (); - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of switch - //break; unreachable statement! - } - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_attribute.cpp b/TAO/TAO_IDL/be/be_state_attribute.cpp deleted file mode 100644 index 73fb5819be5..00000000000 --- a/TAO/TAO_IDL/be/be_state_attribute.cpp +++ /dev/null @@ -1,1080 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_attribute.cpp -// -// = DESCRIPTION -// state based code generation for attributes. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// constructor -be_state_attribute::be_state_attribute (void) -{ -} - -int -be_state_attribute::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_attribute *attr; // attribute node - be_interface *bif; // enclosing scope which is an interface - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - os = cg->server_skeletons (); - break; - } - - // retrieve the ATTRIBUTE node - attr = be_attribute::narrow_from_decl (d); - if (!attr) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute.cpp - " - "Bad attribute node\n"), - -1); - } - - // get the enclosing interface scope to be used in the NESTED_CLASS macro - bif = be_interface::narrow_from_decl (ScopeAsDecl (attr->defined_in ())); - if (!bif) - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute.cpp - " - "Bad interface\n"), - -1); - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // Two level switching - // (1) switch on node type - // (2) switch on current code generation state - - switch (type->node_type ()) // LEVEL (1) switch based on node type - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - // what state are we in - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_ptr") << " "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif, "_ptr") << " " << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "_ptr "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << bt->name () << "_ptr " << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << "CORBA::Object_ptr retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return " << bt->name () << "::_nil ();\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return " << bt->name () << "::_narrow (retval, env);" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << "CORBA::Object_ptr *retval =" - " new CORBA::Object_ptr;" << nl; - *os << "*retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; // assign to retval - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // assign to a CORBA::Object_ptr - *os << "CORBA::Object_ptr _tao_base_" << attr->local_name () - << " = " << attr->local_name () << "; // cast it" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // pass the cast value - *os << ", &_tao_base_" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing for in parameters - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << attr->local_name () << ";" << nl; - // we also declare a corresponding CORBA::Object_ptr to be - // passed to the decoder - *os << "CORBA::Object_ptr _tao_base_" << attr->local_name () - << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &_tao_base_" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // convert from the CORBA::Object_ptr to the interface type - // using a _narrow - *os << attr->local_name () << " = " << bt->name () << - "::_narrow (_tao_base_" << attr->local_name () << ", " << - "_tao_environment);" << nl; - *os << "if (_tao_environment.exception ()) return;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing for an in parameter - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // switch state - } // end of case interface/interface_fwd - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - // if it is an any, return a pointer to it - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - // if it is an any, return a pointer to it - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - // if it is an any, return a pointer to it - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - *os << bt->name () << " "; - // declare a variable - *os << attr->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // XXXASG - TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "* "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of if - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) // e.g., CORBA::Object - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - // pseudo object, return a pointer - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr *retval = new " << bt->name () << - "_ptr;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - // pseudo object, return a pointer - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - // pseudo object, return a pointer - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << "_ptr "; - *os << attr->local_name () << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // no casting necessary as we already are object_ptr - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing to be done as we are Object_ptr - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end of switch state - } // end else if - else // simple predefined types - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << " *retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // keep MSVC++ happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name - (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of else - } // end of case predefined - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " retval = 0;" << nl; - } - else - { - *os << "char *retval = 0;" << nl; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *retval = new " << bt->name () << "*;" << nl; - } - else - { - *os << "char **retval = new char*;" << nl; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << "char *" << attr->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - else - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name (); - } - else - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - { - *os << "const char *" << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case string - break; - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () - << ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", " << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // XXXASG TODO - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_slice") << " *"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name () << "_slice *"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " " << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " " << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end of case array - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << - ";" << nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - *os << ", &" << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " *retval = 0;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - if (bt->size_type () == be_decl::VARIABLE) - // to keep MSVC++ happy - *os << bt->nested_type_name (bif) << " *"; - else - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - if (bt->size_type () == be_decl::VARIABLE) - *os << bt->name () << " *"; - else - *os << bt->name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << "const " << bt->nested_type_name (bif) << " &" << - attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << "const " << bt->name () << " &" << attr->local_name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SS: - { - // declare a variable - *os << bt->name () << " " << attr->local_name () << ";" << - nl; - // now define a NamedValue_ptr - *os << "CORBA::NamedValue_ptr nv_" << attr->local_name () << - ";" << nl; - // declare an Any - *os << "CORBA::Any \t any_" << attr->local_name () << " (" << - bt->tc_name () << ", &" << attr->local_name () << - "); // ORB does not own" << nl; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_DOCALL_CS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_UPCALL_SS: - { - *os << attr->local_name () << ", "; - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_PRE_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_POST_UPCALL_SS: - { - // nothing - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CH: - { - // to keep the MSVC++ compiler happy - *os << bt->nested_type_name (bif) << " " << attr->local_name - (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_INPARAM_TYPE_SH: - { - *os << bt->name () << " " << attr->local_name (); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_ATTRIBUTE_RETURN_TYPE_SH: - { - *os << bt->name (); - } - break; - default: - { - ACE_ERROR_RETURN ((LM_ERROR, - "(%N:%l) be_state_attribute - unknown state\n"), -1); - } - } // end switch state - } // end case - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of case - break; - } //end switch node type - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_operation.cpp b/TAO/TAO_IDL/be/be_state_operation.cpp deleted file mode 100644 index bd6894d4d1c..00000000000 --- a/TAO/TAO_IDL/be/be_state_operation.cpp +++ /dev/null @@ -1,658 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_operation.cpp -// -// = DESCRIPTION -// state based code generation for operations. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for operation -be_state_operation::be_state_operation (void) -{ -} - -// generate code for return type of operation -int -be_state_operation::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_operation *bop; - be_interface *bif; // interface in which the operation was defined - - bop = be_operation::narrow_from_decl (d); - if (!bop) - return -1; - - bif = be_interface::narrow_from_scope (bop->defined_in ()); - if (!bif) - return -1; - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_CH: - os = cg->client_header (); - break; - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - os = cg->client_stubs (); - break; - case TAO_CodeGen::TAO_OPERATION_SH: - os = cg->server_header (); - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - os = cg->server_skeletons (); - break; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << "_ptr "; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << "CORBA::Object_ptr retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return " << bt->name () << "::_nil ();\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return " << bt->name () << "::_narrow (retval, env);" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << "CORBA::Object_ptr *retval =" - " new CORBA::Object_ptr;" << nl; - *os << "*retval = CORBA::Object::_nil ();" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; // assign to retval - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_ptr") << " "; - } - break; - default: - { - *os << bt->name () << "_ptr "; - } - } - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - be_predefined_type *bpd = be_predefined_type::narrow_from_decl (type); - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr "; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "void "; - } - else - { - *os << bt->name () << " "; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - // no return variable - } - else - { - *os << bt->name () << " retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "return 0;\n"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "return 0;\n"; - } - else if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "return;\n"; - } - else - { - *os << "return retval;\n"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - if (bpd->pt () == AST_PredefinedType::PT_void) - { - *os << "return; // no value" << nl; - } - else - { - *os << "return retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << bt->name () << " *retval;" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << bt->name () << "_ptr *retval = new " << bt->name () << - "_ptr;" << nl; - } - else - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "retval"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "*retval"; - } - else - { - *os << " *retval"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - else - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - } - break; - default: - { - *os << bt->name (); - // check if the type is an any - if (bpd->pt () == AST_PredefinedType::PT_any) - { - // if it is an any, return a pointer to it - *os << " *"; - } - else if (bpd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object, return a pointer - *os << "_ptr"; - } - } - } // end switch (cg->state()) - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name (); - } - else - { - *os << "char *"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " retval = 0;" << nl; - } - else - { - *os << "char *retval = 0;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->name () << " *retval = new " << bt->name () << "*;" << nl; - } - else - { - *os << "char **retval = new char*;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - if (bt->node_type () == AST_Decl::NT_typedef) - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - else - { - *os << "char *"; - } - } - break; - default: - { - *os << "char *"; - } - } // end of switch cg->state - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << "_slice *"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << "_slice *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif, "_slice") << " *"; - } - break; - default: - { - // return a pointer to slice - *os << bt->name () << "_slice *"; - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_sequence: // type is a sequence - // return type is a pointer to sequence - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " *"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << " *retval = 0;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return 0;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif) << " *"; - } - break; - default: - { - *os << bt->name () << " *"; - } - } // end of swithc cg->state - } - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " "; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - *os << bt->name () << " retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - *os << "return retval;\n"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - *os << bt->name () << " *retval = new " << bt->name () << ";" << - nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - *os << "*retval"; - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - } - break; - default: - { - *os << bt->name (); - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_OPERATION_RETURN_TYPE_CS: - { - *os << bt->name () << " "; - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "*"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *retval;" << nl; - } - else - { - *os << bt->name () << " retval;" << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_EXCEPTION_CS: - { - if (bt->size_type () == be_decl::VARIABLE) - { - *os << "return 0;\n"; - } - else - { - *os << "return retval;\n"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_RETURN_CS: - { - *os << "return retval;" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_DECL_SS: - { - if (type->size_type () == be_decl::VARIABLE) - { - *os << bt->name () << " *retval;" << nl; - } - else - { - *os << bt->name () << " *retval = new " << bt->name () << ";" - << nl; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RETVAL_ASSIGN_SS: - { - if (type->size_type () == be_decl::VARIABLE) - { - *os << "retval"; - } - else - { - *os << "*retval"; - } - } - break; - case TAO_CodeGen::TAO_OPERATION_RESULT_SS: - { - *os << "result = new CORBA::Any (" << bt->tc_name () << - ", retval, 1); // ORB owns" << nl; - } - break; - case TAO_CodeGen::TAO_OPERATION_CH: - { - // to keep MSVC++ happy - *os << bt->nested_type_name (bif); - // check if we are fixed size or variable sized. Depending on that we - // return a pointer or the aggregate itself - if (type->size_type () == be_decl::VARIABLE) - *os << " *"; - } - break; - default: - { - *os << bt->name (); - // check if we are fixed size or variable sized. Depending on that we - // return a pointer or the aggregate itself - if (type->size_type () == be_decl::VARIABLE) - *os << " *"; - } - } // end of switch cg->state - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } // end of switch - //break; unreachable statement! - } // switch of main switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_sequence.cpp b/TAO/TAO_IDL/be/be_state_sequence.cpp deleted file mode 100644 index f4628bb6eff..00000000000 --- a/TAO/TAO_IDL/be/be_state_sequence.cpp +++ /dev/null @@ -1,171 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_sequence.cpp -// -// = DESCRIPTION -// state based code generation for sequences. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for sequence -be_state_sequence::be_state_sequence (void) -{ -} - -// generate code for sequence type -int -be_state_sequence::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os = 0; // output stream - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_sequence *seq; - - seq = be_sequence::narrow_from_decl (d); - if (!seq) - return -1; - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - os = cg->client_header (); // get client header stream - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - os = cg->client_stubs (); // get client stubs stream - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - os = cg->client_inline (); // get client inline stream - break; - default: - return -1; - } - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // enclosing scope in which the typedef occurs - be_decl *scope = - be_decl::narrow_from_decl (ScopeAsDecl (bt->defined_in ())); - - // for sequences, all we do is generate the type - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, "_var"); - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - default: - *os << bt->name () << "_var"; - } - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, ""); - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - default: - *os << bt->name (); - } - } - break; - case AST_Decl::NT_sequence: // type is a sequence - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_SEQUENCE_BASE_CH: - { - // generate the base type sequence - if (bt->gen_client_header () == -1) - { - return -1; - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CS: - { - // generate the base type sequence - if (bt->gen_client_stubs () == -1) - { - return -1; - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BASE_CI: - { - // generate the base type sequence - if (bt->gen_client_inline () == -1) - { - return -1; - } - } - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CH: - *os << bt->nested_type_name (scope, ""); - break; - case TAO_CodeGen::TAO_SEQUENCE_BODY_CS: - case TAO_CodeGen::TAO_SEQUENCE_BODY_CI: - default: - *os << bt->name (); - } - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, d, temp); - } - //break; unreachable statement! - } // end of switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_structure.cpp b/TAO/TAO_IDL/be/be_state_structure.cpp deleted file mode 100644 index 2226d3b131f..00000000000 --- a/TAO/TAO_IDL/be/be_state_structure.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_struct.cpp -// -// = DESCRIPTION -// state based code generation for structs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_state_struct_ch::be_state_struct_ch (void) -{ -} - -// generate code for structure member -int -be_state_struct_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_field *f; // field node - be_structure *bs; // enclosing structure node - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - os = cg->client_header (); // get client header stream - f = be_field::narrow_from_decl (d); // downcast to field node - if (!f) - return -1; - - bs = be_structure::narrow_from_scope (f->defined_in ()); - if (bs == NULL) - return -1; - - // pass the field node just incase it is needed - cg->node (f); - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bs, "_var") << " " << f->local_name () << - ";\n\n"; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bs) << " " << f->local_name () << ";\n\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->nested_type_name (bs, "_var") << " " << f->local_name () << ";\n\n"; - } - else - { - *os << "CORBA::String_var " << f->local_name () << ";\n\n"; - } - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // We first need to generate code for this aggregate type. Check if we - // are not called recursively thru a typedef - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_header () == -1) - return -1; - - os->indent (); - *os << bt->nested_type_name (bs) << " " << f->local_name () << ";\n\n"; - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, f, temp); - } // end of switch - //break; unreachable statement! - } - // the enclosing structure will be variable length the field is variable - // length - bs->size_type (type->size_type ()); - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_typedef.cpp b/TAO/TAO_IDL/be/be_state_typedef.cpp deleted file mode 100644 index f1d6879a5f6..00000000000 --- a/TAO/TAO_IDL/be/be_state_typedef.cpp +++ /dev/null @@ -1,321 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_typedef.cpp -// -// = DESCRIPTION -// state based code generation for typedefs. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -// return type for typedef -be_state_typedef::be_state_typedef (void) -{ -} - -// generate code for structure member -int -be_state_typedef::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_typedef *tdef; // typedef node - be_decl *scope; // enclosing scope in which the typedef occurs - - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - os = cg->client_header (); // set the stream to be the client header - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - os = cg->client_inline (); - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - os = cg->client_stubs (); - break; - default: - return -1; - } // end of outermost switch - - - tdef = be_typedef::narrow_from_decl (d); // downcast to typedef node - if (!tdef) - return -1; - - // pass the typedef node, just in case it is needed - cg->node (tdef); - - scope = be_decl::narrow_from_decl (ScopeAsDecl (tdef->defined_in ())); - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // the typedef node has the same size type as its base type - tdef->size_type (bt->size_type ()); - - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_interface_fwd: // type is an obj reference - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - - // typedef of an interface results in 3 typedefs as shown below - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_ptr") << " " << - d->local_name () << "_ptr;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << " " << - d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " << - d->local_name () << "_out;\n\n"; - } - break; - default: // nothing to do for other cases - break; - } // end of switch state - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - be_predefined_type *pd = be_predefined_type::narrow_from_decl (type); - - if (!pd) - return -1; - os->indent (); // start from current indentation - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";"; - // if the predefined type is an ANY, we also define a typedef to _var - if (pd->pt () == AST_PredefinedType::PT_any) - { - *os << nl; - *os << "typedef " << bt->name () << "_var " << d->local_name - () << "_var;"; - } - else if (pd->pt () == AST_PredefinedType::PT_pseudo) - { - // pseudo object - *os << "typedef " << bt->nested_type_name (scope, "_ptr") << - " " << d->local_name () << "_ptr;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << - " " << d->local_name () << "_var;" << nl; - } - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } // end of case - break; - default: // nothing to do for other cases - break; - } // end switch - } - break; - case AST_Decl::NT_string: // type is a string - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << - " " << d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << - " " << d->local_name () << "_out;\n\n"; - } - else - { - *os << "typedef CORBA::String " << d->local_name () << ";" << - nl; - *os << "typedef CORBA::String_var " << d->local_name - () << "_var;" << nl; - *os << "typedef CORBA::String_out " << d->local_name - () << "_out;\n\n"; - } - } - break; - default: // nothing to do for the rest of the cases - break; - } // end switch state - } - break; - case AST_Decl::NT_enum: // type is an enum - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - os->indent (); // start from current indentation - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - enum gen failed\n"), -1); - } - } - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } - break; - default: - break; - } // end of switch - } - break; - // these are all anonymous types - case AST_Decl::NT_array: // type is an array - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - array gen failed\n"), -1); - } - } - os->indent (); - *os << "typedef " << bt->name () << " " << d->local_name () << - ";" << nl; - *os << "typedef " << bt->name () << "_forany " << d->local_name - () << "_forany;" << nl; - // typedefs for the auxiliary methods. If we are nested inside - // some scope, these methods become static to the enclosing scope - if (d->is_nested ()) - *os << "static "; - *os << d->name () << "_slice* " << d->local_name () << - "_alloc (void);" << nl; - if (d->is_nested ()) - *os << "static "; - *os << d->name () << "_slice* " << d->local_name () << "_dup (" - << d->name () << "_slice* " << ");" << nl; - if (d->is_nested ()) - *os << "static "; - *os << "void " << d->name () << "_free (" << d->name () << - "_slice *);\n\n"; - } - break; - default: - break; - } // end of switch - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - switch (cg->state ()) - { - case TAO_CodeGen::TAO_TYPEDEF_CH: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_header () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - os->indent (); // start from current indentation - *os << "typedef " << bt->nested_type_name (scope) << " " << - d->local_name () << ";" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_var") << " " - << d->local_name () << "_var;" << nl; - *os << "typedef " << bt->nested_type_name (scope, "_out") << " " - << d->local_name () << "_out;\n\n"; - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CI: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_inline () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - case TAO_CodeGen::TAO_TYPEDEF_CS: - { - // if we are not here recursively, then we need to generate the - // definition first - if (bt->node_type () != AST_Decl::NT_typedef) - { - if (bt->gen_client_stubs () == -1) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_state_typedef - struct/union/seq gen failed\n"), - -1); - } - } - } - break; - default: - break; - } // end of switch state - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG TODO: is this allowed ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, tdef, temp); - } // end of case - //break; unreachable statement! - } // end of switch - - return 0; -} diff --git a/TAO/TAO_IDL/be/be_state_union.cpp b/TAO/TAO_IDL/be/be_state_union.cpp deleted file mode 100644 index 0cdb3150b95..00000000000 --- a/TAO/TAO_IDL/be/be_state_union.cpp +++ /dev/null @@ -1,855 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state_union.cpp -// -// = DESCRIPTION -// state based code generation for unions. -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_state_union_disctypedefn_ch::be_state_union_disctypedefn_ch (void) -{ -} - -// generate code for union discriminant type in client header -int -be_state_union_disctypedefn_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union *bu; - - bu = be_union::narrow_from_decl (d); // downcast to union type - if (!bu) - return -1; - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - os = cg->client_header (); // get client header stream - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_string: // type is a string - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - case AST_Decl::NT_except: // type is an exception - // all these cases are syntax errors which the front-end should have - // flagged as error cases - return -1; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - { - // if the discriminant is an enum, first generate the enum - // definition. However, check that we are not inside a recursive call - if (bt->node_type () == AST_Decl::NT_enum) - if (bt->gen_client_header () == -1) - return -1; - - os->indent (); - // the set method - *os << "void _d (" << bt->nested_type_name (bu) << ");" << nl; - // the get method - *os << bt->nested_type_name (bu) << " _d (void) const;\n\n"; - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - // a scoped name must result in one of the allowed types. Hopefully the - // front-end has done a good job of ensuring this. - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - if (!t) - return -1; - temp = t->primitive_base_type (); - return this->gen_code (t, d, temp); - } - //break; unreachable statement! - } // end of switch - return 0; -} - -be_state_union_disctypedefn_ci::be_state_union_disctypedefn_ci (void) -{ -} - -// generate code for union discriminant type in client inline -int -be_state_union_disctypedefn_ci::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union *bu; - - bu = be_union::narrow_from_decl (d); // downcast to union type - if (!bu) - return -1; - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - os = cg->client_inline (); // get client inline stream - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - case AST_Decl::NT_string: // type is a string - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - case AST_Decl::NT_except: // type is an exception - // all these cases are syntax errors which the front-end should have - // flagged as error - return -1; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_typedef: // type is a typedef - { - os->indent (); - // the set method - *os << "// accessor to set the discriminant" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::_d (" << bt->name () << - " discval)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "this->disc_ = discval;\n"; - os->decr_indent (); - *os << "}" << nl; - // the get method - *os << "// accessor to get the discriminant" << nl; - *os << "ACE_INLINE " << bt->name () << nl; - *os << bu->name () << "::_d (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->disc_;\n"; - os->decr_indent (); - *os << "}\n\n"; - } - break; - } // end of switch - return 0; -} - -be_state_union_public_ch::be_state_union_public_ch (void) -{ -} - -// generate code for union branch members in client header. This involves -// generating the set/get methods corresponding to the members -int -be_state_union_public_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_header (); // get client header stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - return -1; - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (bu == NULL) - return -1; - - // pass the union branch node just incase it is needed - cg->node (ub); - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu, "_ptr") << ");// set" << nl; - *os << bt->nested_type_name (bu, "_ptr") << " " << ub->local_name () << - " (void) const; // get method\n\n"; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - { - // if the type is an enum, we generate its defn first - if (bt->node_type () == AST_Decl::NT_enum) - if (bt->gen_client_header () == -1) - return -1; - - os->indent (); // start from current indentation - *os << "void " << ub->local_name () << " (" << bt->nested_type_name (bu) - << ");// set" << nl; - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - " (void) const; // get method\n\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - os->indent (); // start from current indentation - if (bt->node_type () == AST_Decl::NT_typedef) - { - // three methods to set the string value - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << "); // set" << nl; - *os << "void " << ub->local_name () << " (const " << - bt->nested_type_name (bu) << "); // set" - << nl; - *os << "void " << ub->local_name () << - " (const " << bt->nested_type_name (bu, "_var") << " &); // set" << - nl; - *os << "const " << bt->nested_type_name (bu) << " " << - ub->local_name () << " (void) const; // get method\n\n"; - } - else - { - // three methods to set the string value - *os << "void " << ub->local_name () << " (char *); // set" << nl; - *os << "void " << ub->local_name () << " (const char *); // set" - << nl; - *os << "void " << ub->local_name () << - " (const CORBA::String_var&); // set" << nl; - *os << "const char *" << ub->local_name () << - " (void) const; // get method\n\n"; - } - } - break; - case AST_Decl::NT_array: // type is an array - { - // generate code for the array. So let the array handle code - // generation. Check if this is not a recursive call - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_header () == -1) - return -1; - - os->indent (); - *os << "void " << ub->local_name () << " (" << bt->nested_type_name - (bu) << ");// set" << nl; - *os << bt->nested_type_name (bu, "_slice") << " *" << ub->local_name () << - " (void) const; // get method\n\n"; - - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_struct: // type is a struct - case AST_Decl::NT_union: // type is a union - { - // generate defn for this aggregate unless we are recursively called - if (bt->node_type () != AST_Decl::NT_typedef) - if (bt->gen_client_header () == -1) - return -1; - os->indent (); - *os << "void " << ub->local_name () << " (const " << - bt->nested_type_name (bu) << " &);// set" << nl; - *os << "const " << bt->nested_type_name (bu) << " &" << ub->local_name - () << " (void) const; // get method (read only)" << nl; - *os << bt->nested_type_name (bu) << " &" << ub->local_name () << - " (void); // get method (read/write only)\n\n"; - - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - //break; unreachable statement! - } // end of switch - - // enclosing union is variable if the member is variable - bu->size_type (type->size_type ()); - - return 0; -} - -be_state_union_public_ci::be_state_union_public_ci (void) -{ -} - -// generate code for union branch members in client inline. This involves -// generating the set/get methods corresponding to the members -int -be_state_union_public_ci::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - os = cg->client_inline (); // get client inline stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - return -1; - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (bu == NULL) - return -1; - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - switch (type->node_type ()) - { - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - case AST_Decl::NT_array: // type is an array - case AST_Decl::NT_interface: // type is an obj reference - { - // set method - os->indent (); // start from current indentation - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << " (" << bt->name (); - if (type->node_type () == AST_Decl::NT_interface) - { - // if it is an interface node, we use _ptr as a suffix for the type - *os << "_ptr"; - } - *os << " val)// set" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - if (type->node_type () == AST_Decl::NT_interface) - { - // the private data member is a pointer type - *os << "*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - *os << "this->" << ub->local_name () << "_ = val;\n"; - } - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // get method - *os << "// retrieve the member" << nl; - *os << "ACE_INLINE " << bt->name (); - if (type->node_type () == AST_Decl::NT_interface) - { - // for interface type, return a _ptr type - *os << "_ptr"; - } - else if (type->node_type () == AST_Decl::NT_array) - { - // for an array, return a _slice* type - *os << "_slice *"; - } - *os << nl; - *os << bu->name () << "::" << ub->local_name () << - " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - if (type->node_type () == AST_Decl::NT_interface) - { - *os << "return *this->" << ub->local_name () << "_;\n"; - } - else - { - *os << "return this->" << ub->local_name () << "_;\n"; - } - os->decr_indent (); - *os << "}\n\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - // three methods to set the string value - - // (1) set method from char* - os->indent (); // start from current indentation - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (" << bt->name - () << " val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << " (char *val)" - << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << "\tthis->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << "\t*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // (2) set method from const char * - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (const " << - bt->name () << " val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << - " (const char *val)" << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << "\tthis->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << "\t*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // (3) set from const String_var& - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bu->name () << "::" << ub->local_name () << " (const " << - bt->name () << "_var &val)" << nl; - } - else - { - *os << bu->name () << "::" << ub->local_name () << - " (const CORBA::String_var &val)" << nl; - } - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "if (!this->" << ub->local_name () << "_) // does not exist" - << nl ; - *os << "\tthis->" << ub->local_name () << - "_ = new CORBA::String_var (val);" << nl; - *os << "else" << nl; - *os << "\t*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // return const char* - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << "ACE_INLINE " << bt->name () << nl; - } - else - { - *os << "ACE_INLINE const char *" << nl; - } - *os << bu->name () << "::" << ub->local_name () << - " (void) const // get method" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}\n\n"; - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_union: // type is a union - { - os->indent (); - // This case has to be handled differently from structs because the data - // member is a pointer - - // (1) set from a const - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << - " (const " << bt->name () << " &val)" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "*this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // readonly get method - *os << "// readonly get method " << nl; - *os << "ACE_INLINE const " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - // read/write get method - *os << "// read/write get method " << nl; - *os << "ACE_INLINE " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return *this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - } - break; - case AST_Decl::NT_struct: // type is a struct - { - os->indent (); - - // (1) set from a const - *os << "// accessor to set the member" << nl; - *os << "ACE_INLINE void" << nl; - *os << bu->name () << "::" << ub->local_name () << - " (const " << bt->name () << " &val)" << nl; - *os << "{\n"; - os->incr_indent (); - // set the discriminant to the appropriate label - if (ub->label ()->label_kind () == AST_UnionLabel::UL_label) - { - // valid label - *os << "// set the discriminant val" << nl; - // check if the case label is a symbol or a literal - if (ub->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *os << "this->disc_ = " << ub->label ()->label_val ()->n () - << ";" << nl; - } - else - { - *os << "this->disc_ = " << ub->label ()->label_val () << ";" << - nl; - } - *os << "// set the value" << nl; - *os << "this->" << ub->local_name () << "_ = val;\n"; - } - else - { - // default label - // XXXASG - TODO - } - os->decr_indent (); - *os << "}" << nl; - - // readonly get method - *os << "// readonly get method " << nl; - *os << "ACE_INLINE const " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void) const" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - // read/write get method - *os << "// read/write get method " << nl; - *os << "ACE_INLINE " << bt->name () << " &" << nl; - *os << bu->name () << "::" << ub->local_name () << " (void)" << nl; - *os << "{\n"; - os->incr_indent (); - *os << "return this->" << ub->local_name () << "_;\n"; - os->decr_indent (); - *os << "}" << nl; - - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - //break; unreachable statement! - } // end of switch - - return 0; -} - -be_state_union_private_ch::be_state_union_private_ch (void) -{ -} - -int -be_state_union_private_ch::gen_code (be_type *bt, be_decl *d, be_type *type) -{ - TAO_OutStream *os; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_union_branch *ub; // union branch member - be_union *bu; // enclosing union - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (nl); - - os = cg->client_header (); // get client header stream - ub = be_union_branch::narrow_from_decl (d); // downcast to union branch node - if (!ub) - return -1; - - bu = be_union::narrow_from_scope (ub->defined_in ()); - if (bu == NULL) - return -1; - - if (!type) // not a recursive call - type = bt; - else // recursively called thru a typedef. "type" will have the most primitive - // base class of the typedef - ACE_ASSERT (bt->node_type () == AST_Decl::NT_typedef); - - // generate code based on type. For every case, first downcast to the - // appropriate type. If the downcast fails, return error, else proceed. In - // some cases, the type itself may need code generation, e.g., anonymous - // struct types. - switch (type->node_type ()) - { - case AST_Decl::NT_interface: // type is an obj reference - { - os->indent (); // start from current indentation - // C++ does not allow an object declaration inside a union. Hence we - // must have a pointer. This changes some of the methods - *os << bt->nested_type_name (bu, "_var") << " *" << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_pre_defined: // type is predefined type - case AST_Decl::NT_enum: // type is an enum - { - os->indent (); // start from current indentation - *os << bt->nested_type_name (bu) << " " << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_string: // type is a string - { - os->indent (); // start from current indentation - // C++ does not allow an object declaration inside a union. Hence we - // must have a pointer. This changes some of the methods - if (bt->node_type () == AST_Decl::NT_typedef) - { - *os << bt->nested_type_name (bu, "_var") << " *" << ub->local_name () << - "_;\n"; - } - else - { - *os << "CORBA::String_var *" << ub->local_name () << "_;\n"; - } - } - break; - case AST_Decl::NT_array: // type is an array - { - os->indent (); - *os << bt->nested_type_name (bu, "_slice") << " *" << ub->local_name () << - "_;\n"; - } - break; - case AST_Decl::NT_sequence: // type is a sequence - case AST_Decl::NT_union: // type is a union - { - os->indent (); - // C++ doesn't allow object instances inside unions, so we need a - // pointer - *os << bt->nested_type_name (bu) << " *" << ub->local_name () << "_;\n"; - } - break; - case AST_Decl::NT_struct: // type is a struct - { - os->indent (); - *os << bt->nested_type_name (bu) << " " << ub->local_name () << "_;\n"; - } - break; - case AST_Decl::NT_except: // type is an exception - { - // XXXASG: Is this case valid ??? - } - break; - case AST_Decl::NT_typedef: // type is a typedef - { - be_type *temp; // most primitive base type - be_typedef *t = be_typedef::narrow_from_decl (bt); - - if (!t) - return -1; - - temp = t->primitive_base_type (); - // make a recursive call - return this->gen_code (t, ub, temp); - } - //break; unreachable statement!! - } // end of switch - return 0; -} diff --git a/TAO/TAO_IDL/be/be_string.cpp b/TAO/TAO_IDL/be/be_string.cpp deleted file mode 100644 index 811c83166e8..00000000000 --- a/TAO/TAO_IDL/be/be_string.cpp +++ /dev/null @@ -1,162 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_string.cpp -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_String - */ -be_string::be_string (void) -{ -} - -be_string::be_string (AST_Expression *v) - : AST_String (v), - AST_Decl (AST_Decl::NT_string, - new UTL_ScopedName(new Identifier("string", 1, 0, I_FALSE), - NULL), - NULL) -{ - this->size_type (be_decl::VARIABLE); // we are always variable length -} - -// overriden method -void -be_string::compute_tc_name (void) -{ - // start with the head as the CORBA namespace - this->tc_name_ = new UTL_ScopedName (new Identifier ("CORBA", 1, 0, I_FALSE), - NULL); - - this->tc_name_->nconc (new UTL_ScopedName (new Identifier ("_tc_string", 1, 0, - I_FALSE), NULL)); -} - -be_string::be_string (AST_Expression *v, long wide) - : AST_String (v, wide), - AST_Decl (AST_Decl::NT_string, - wide == 1 - ? new UTL_ScopedName(new Identifier("string",1,0,I_FALSE), - NULL) - : new UTL_ScopedName(new Identifier("wstring_t", - 1, - 0, - I_FALSE), - NULL), - NULL) -{ - this->size_type (be_decl::VARIABLE); // always the case -} - -// Code generation - -int -be_string::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - ch->indent (); - *ch << "char *"; - - return 0; -} - -int -be_string::gen_client_stubs (void) -{ - return 0; -} - -int -be_string::gen_server_header (void) -{ - return 0; -} - -int -be_string::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the client-side inline information -int -be_string::gen_client_inline (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side inline -int -be_string::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_string::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from the current indentation level - // emit the enumeration - *cs << "CORBA::tk_string, " << nl; - *cs << this->max_size () << ", // string length" << nl; - return 0; -} - -// compute typecode size -long -be_string::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing string length - return 4 + 4; -} - -int -be_string::gen_encapsulation (void) -{ - return 0; -} - -long -be_string::tc_encap_len (void) -{ - if (this->encap_len_ == -1) - { - this->encap_len_ = 0; // no encapsulation - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_string, AST_String, be_type) -IMPL_NARROW_FROM_DECL (be_string) diff --git a/TAO/TAO_IDL/be/be_structure.cpp b/TAO/TAO_IDL/be/be_structure.cpp deleted file mode 100644 index 4dfe3446dff..00000000000 --- a/TAO/TAO_IDL/be/be_structure.cpp +++ /dev/null @@ -1,844 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_structure.cpp -// -// = DESCRIPTION -// Extension of class AST_Structure that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Structure - */ -be_structure::be_structure (void) -{ -} - -be_structure::be_structure (UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (AST_Decl::NT_struct, n, p), - UTL_Scope (AST_Decl::NT_struct), - member_count_ (-1) -{ -} - -// compute total number of members -int -be_structure::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - this->member_count_++; - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_structure::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the structure -int -be_structure::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CH); // set current code gen state - - ch = cg->client_header (); - // pass info - cg->node (this); - cg->outstream (ch); - - ch->indent (); // start from whatever indentation level we were at - *ch << "struct " << local_name () << nl; - *ch << "{\n"; - ch->incr_indent (0); - - // generate code for field members - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "code generation for fields failed\n")); - return -1; - } - - ch->decr_indent (); - *ch << "};\n\n"; - - // generate var defn - this->gen_var_defn (); - - // a class is generated for an out defn only for a variable length struct - if (this->size_type () == be_decl::VARIABLE) - { - this->gen_out_defn (); - } - else - { - ch->indent (); - *ch << "typedef " << this->local_name () << " &" << this->local_name - () << "_out;\n\n"; - } - - // generate the typecode decl - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - this->cli_hdr_gen_ = I_TRUE; - cg->pop (); // pop up the current state - } - return 0; -} - -// Generates the client-side stubs for the structure -int -be_structure::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_STRUCT_CS); // set current code gen state - - cs = cg->client_stubs (); - // pass info - cg->outstream (cs); - cg->node (this); - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - // note that we just need the parameters here and hence we generate the - // encapsulation for the parameters - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_struct, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -// Generates the server-side header information for the structure -int -be_structure::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the structure -int -be_structure::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_structure::gen_client_inline (void) -{ - if (!this->cli_inline_gen_) - { - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: _var impl code gen failed\n")); - return -1; - } - if (this->size_type () == be_decl::VARIABLE && this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: _out impl code gen failed\n")); - return -1; - } - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: code gen failed for scope\n")); - return -1; - } - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -// Generates the server-side inline -int -be_structure::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate the _var definition for ourself -int -be_structure::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << " *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - *ch << local_name () << " *operator-> (void);" << nl; - *ch << "const " << local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << " &() const;" << nl; - *ch << "operator " << local_name () << " &();" << nl; - *ch << "operator " << local_name () << " &() const;" << nl; - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " &out (void);" << nl; - *ch << local_name () << " _retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << " *ptr(void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *ptr_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_structure::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (p.ptr_)" << nl; - *ci << "\tthis->ptr_ = new " << this->name () << "(*p.ptr_);" << nl; - *ci << "else" << nl; - *ci << "\tthis->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from a pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = new " << this->name () << " (*p.ptr_);\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two arrow operators - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - 3 cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - " &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() const// cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << name () << " &" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the out is handled differently based on our size type - ci->indent (); - if (this->size_type () == be_decl::VARIABLE) - { - *ci << "// mapping for variable size " << nl; - *ci << "ACE_INLINE " << name () << " *&" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << " *tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else - { - *ci << "// mapping for fixed size " << nl; - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - - return 0; -} - -// generate the _out definition -int -be_structure::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // operator () - *ch << "operator " << local_name () << " *&();" << nl; - // ptr fn - *ch << local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << local_name () << " *operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_structure::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *&p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - " *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - - return 0; -} - -// generate typecode. -// Typecode for structures comprises the enumerated value followed by the -// encapsulation of the parameters - -int -be_structure::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_struct, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - return -1; - } - cs->decr_indent (); - return 0; -} - -// generate encapsulation -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description -int -be_structure::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_structure: cannot generate typecode for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_structure::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -// compute encapsulation length -long -be_structure::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_structure, AST_Structure, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_structure) -IMPL_NARROW_FROM_SCOPE (be_structure) diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp deleted file mode 100644 index f6bbac39a76..00000000000 --- a/TAO/TAO_IDL/be/be_sunsoft.cpp +++ /dev/null @@ -1,108 +0,0 @@ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" -#include "be_sunsoft.h" - -TAO_SunSoft_OutStream::TAO_SunSoft_OutStream (void) - : TAO_OutStream () -{ -} - -TAO_SunSoft_OutStream::~TAO_SunSoft_OutStream (void) -{ -} - -TAO_OutStream & -TAO_SunSoft_OutStream::print (Identifier *id) -{ - ACE_OS::fprintf (this->fp_, id->get_string ()); - return *this; -} - -TAO_OutStream & -TAO_SunSoft_OutStream::print (UTL_IdList *idl) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator (idl); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done ())) - { - if (!first) - *this << "::"; - else if (second) - first = second = I_FALSE; - // print the identifier - *this << i->item (); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "") != 0) - // does not start with a "" - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } - return *this; -} - -TAO_OutStream& -TAO_SunSoft_OutStream::print (AST_Expression *expr) -{ - AST_Expression::AST_ExprValue *ev = expr->ev (); - - if (ev) - { - switch (ev->et) - { - case AST_Expression::EV_short: - this->TAO_OutStream::print ("%hd", ev->u.sval); - break; - case AST_Expression::EV_ushort: - this->TAO_OutStream::print ("%hu", ev->u.usval); - break; - case AST_Expression::EV_long: - this->TAO_OutStream::print ("%ld", ev->u.lval); - break; - case AST_Expression::EV_ulong: - this->TAO_OutStream::print ("%ld", ev->u.ulval); - break; - case AST_Expression::EV_longlong: - break; - case AST_Expression::EV_ulonglong: - break; - case AST_Expression::EV_float: - this->TAO_OutStream::print ("%f", ev->u.fval); - break; - case AST_Expression::EV_double: - this->TAO_OutStream::print ("%f", ev->u.dval); - break; - case AST_Expression::EV_longdouble: - break; - case AST_Expression::EV_char: - this->TAO_OutStream::print ("'%c'", ev->u.cval); - break; - case AST_Expression::EV_wchar: - break; - case AST_Expression::EV_octet: - this->TAO_OutStream::print ("%c", ev->u.oval); - break; - case AST_Expression::EV_bool: - this->TAO_OutStream::print ("%ld", ev->u.bval); - break; - case AST_Expression::EV_string: - this->TAO_OutStream::print ("\"%s\"", ev->u.strval->get_string ()); - break; - case AST_Expression::EV_wstring: - break; - default: - break; - } - } - else // - { - // XXXASG: need to add code here - } - return *this; -} diff --git a/TAO/TAO_IDL/be/be_type.cpp b/TAO/TAO_IDL/be/be_type.cpp deleted file mode 100644 index 5c7bcab5cfc..00000000000 --- a/TAO/TAO_IDL/be/be_type.cpp +++ /dev/null @@ -1,191 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_type.cpp -// -// = DESCRIPTION -// Extension of class AST_Type that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Type - */ - -be_type::be_type (void) - : tc_name_ (0), - type_name_ (0) -{ -} - -be_type::be_type (AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Decl (nt, n, p), - tc_name_ (0), - type_name_ (0) -{ -} - -// compute the typecode name. The idea is to use the fully scoped name, -// however, prepend a _tc_ to the last component. A slightly different approach -// is required of the predefined types. Hence this method is overridden for -// predefined types. - -void -be_type::compute_tc_name (void) -{ - static char namebuf [200]; - UTL_ScopedName *n; - - this->tc_name_ = NULL; - ACE_OS::memset (namebuf, '\0', 200); - n = this->name (); - while (n->tail () != NULL) - { - if (!this->tc_name_) - { - // does not exist - this->tc_name_ = new UTL_ScopedName (n->head (), NULL); - } - else - { - this->tc_name_->nconc (new UTL_ScopedName (n->head (), NULL)); - } - n = (UTL_ScopedName *)n->tail (); - } - ACE_OS::sprintf (namebuf, "_tc_%s", n->last_component ()->get_string ()); - if (!this->tc_name_) - { - // does not exist - this->tc_name_ = new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, 0, I_FALSE), NULL); - } - else - { - this->tc_name_->nconc (new UTL_ScopedName (new Identifier (ACE_OS::strdup - (namebuf), 1, - 0, I_FALSE), NULL)); - } - return; -} - -// retrieve typecode name -UTL_ScopedName * -be_type::tc_name (void) -{ - if (!this->tc_name_) - compute_tc_name (); - - return this->tc_name_; -} - -// return the type name using the ACE_NESTING macro -char * -be_type::nested_type_name (be_decl *d, char *suffix) -{ - // some compilers do not like generating a fully scoped name for a type that - // was defined in the same enclosing scope in which it was defined. For such, - // we emit a macro defined in the ACE library. - // - - // The tricky part here is that it is not enough to check if the - // typename we are using was defined in the current scope. But we - // need to ensure that it was not defined in any of our ancestor - // scopes as well. If that is the case, then we can generate a fully - // scoped name for that type, else we use the ACE_NESTED_CLASS macro - - static char macro [NAMEBUFSIZE]; - be_decl *t = 0; // our enclosing scope - - // d : This is the node in whose scope we are generating a declaration - // t : This is our enclosing scope (if one exists) - // - - ACE_OS::memset (macro, '\0', NAMEBUFSIZE); - if (this->is_nested ()) // if we are nested - { - // get our enclosing scope - t = be_decl::narrow_from_decl (ScopeAsDecl (this->defined_in ())); - - // now check if the scope in which we were defined is the same - // as the current scope in which we are used or one of its ancestors - while (d->node_type () != AST_Decl::NT_root) // keep moving up - // the chain - { - // now we need to make sure that "t" is not the same as "d" i.e., the - // scope in which we are using ourselves. - if (!ACE_OS::strcmp (t->fullname (), d->fullname ())) - { - // we are the same, generate the ACE_NESTED_CLASS macro - ACE_OS::sprintf (macro, "ACE_NESTED_CLASS ("); - ACE_OS::strcat (macro, t->fullname ()); - ACE_OS::strcat (macro, ","); - ACE_OS::strcat (macro, this->local_name ()->get_string ()); - if (suffix) - { - ACE_OS::strcat (macro, suffix); - } - ACE_OS::strcat (macro, ")"); - return macro; - } - d = be_decl::narrow_from_decl (ScopeAsDecl (d->defined_in ())); - } - } // end of if is_nested - - // not nested OR not defined in the same scope as "d" or its - // ancestors - ACE_OS::sprintf (macro, "%s", this->fullname ()); - if (suffix) - { - ACE_OS::strcat (macro, suffix); - } - return macro; -} - -// ***************************** -// CODE GENERATION -// ***************************** - -// generate the _var definition for ourself -int -be_type::gen_var_defn (void) -{ - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_type::gen_var_impl (void) -{ - return 0; -} - -// generate the _out definition -int -be_type::gen_out_defn (void) -{ - return 0; -} - -int -be_type::gen_out_impl (void) -{ - return 0; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_type, AST_Type, be_decl) -IMPL_NARROW_FROM_DECL (be_type) diff --git a/TAO/TAO_IDL/be/be_typedef.cpp b/TAO/TAO_IDL/be/be_typedef.cpp deleted file mode 100644 index e02ecaf0bbc..00000000000 --- a/TAO/TAO_IDL/be/be_typedef.cpp +++ /dev/null @@ -1,316 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_typedef.cpp -// -// = DESCRIPTION -// Extension of class AST_Typedef that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -be_typedef::be_typedef (void) -{ -} - -be_typedef::be_typedef (AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Typedef (bt, n, p), - AST_Decl (AST_Decl::NT_typedef, n, p) -{ -} - -// given a typedef node, traverse the chain of base types until they are no -// more typedefs, and return that most primitive base type -be_type * -be_typedef::primitive_base_type (void) -{ - be_type *d; - - d = this; - while (d && d->node_type () == AST_Decl::NT_typedef) - { - be_typedef *temp; // temporary - - temp = be_typedef::narrow_from_decl (d); - d = be_type::narrow_from_decl (temp->base_type ()); - } - return d; -} - -int -be_typedef::gen_client_header (void) -{ - be_type *bt; // type node - be_state *s; // state based code gen object - TAO_OutStream *ch; // client header - - if (!this->cli_hdr_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ch = cg->client_header (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CH); - cg->node (this); // pass ourselves. For typedefs, this is very important, - // because other nodes's code generation may depend on - // whether they were typedefed or not. - cg->outstream (cg->client_header ()); - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type. As a side effect, also - // generate the mapping for the typedef - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - // generate the typecode decl for this typedef node - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; -} - -int -be_typedef::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - be_type *bt; - be_state *s; // state based code gen object - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CS); // set current code gen state - - cs = cg->client_stubs (); - - cg->node (this); // pass ourselves. For typedefs, this is very important, - // because other nodes's code generation may depend on - // whether they were typedefed or not. - - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type. As a side effect, also - // generate the mapping for the typedef - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "Error generating typecode\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_alias, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - - - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - - return 0; -} - -// Generates the client-side inline information -int -be_typedef::gen_client_inline (void) -{ - be_type *bt; // type node - be_state *s; // state based code gen object - - if (!this->cli_inline_gen_) // not already generated - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_TYPEDEF_CI); - cg->node (this); // pass ourselves - cg->outstream (cg->client_inline ()); - s = cg->make_state (); - - bt = be_type::narrow_from_decl (this->base_type ()); - // first generate the mapping for our type - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_typedef: error generating code for base type\n")); - return -1; - } - - cg->pop (); - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -int -be_typedef::gen_server_header (void) -{ - return 0; -} - -int -be_typedef::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the server-side inline -int -be_typedef::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_typedef::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_alias, // typecode kind for typedefs" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - return -1; - } - - cs->decr_indent (0); - return 0; -} - -// generate encapsulation. A typedef is an alias to its base type -int -be_typedef::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - be_type *bt; // base type - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // generate typecode for the base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt || (bt->gen_typecode () == -1)) - { - ACE_ERROR_RETURN ((LM_ERROR, - "be_typedef::gen_encapsulation failed for base type\n"), - -1); - } - return 0; -} - -long -be_typedef::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_typedef::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - be_type *bt; // base type - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); - - // add the encapsulation length of our base type - bt = be_type::narrow_from_decl (this->base_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, - "be_typedef::tc_encap_len - bad base type\n")); - return 0; - } - this->encap_len_ += bt->tc_size (); - - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_typedef, AST_Typedef, be_type) -IMPL_NARROW_FROM_DECL (be_typedef) diff --git a/TAO/TAO_IDL/be/be_union.cpp b/TAO/TAO_IDL/be/be_union.cpp deleted file mode 100644 index e8f0fbe83c1..00000000000 --- a/TAO/TAO_IDL/be/be_union.cpp +++ /dev/null @@ -1,1056 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union.cpp -// -// = DESCRIPTION -// Extension of class AST_Union that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_Union - */ - -be_union::be_union (void) -{ -} - -be_union::be_union (AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p) - : AST_Union (dt, n, p), - AST_Structure (AST_Decl::NT_union, n, p), - AST_Decl (AST_Decl::NT_union, n, p), - UTL_Scope (AST_Decl::NT_union), - member_count_ (-1), - default_index_ (-2) -{ -} - -// compute total number of members -int -be_union::compute_member_count (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - - this->member_count_ = 0; - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - this->member_count_++; - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// compute total number of members -int -be_union::compute_default_index (void) -{ - UTL_ScopeActiveIterator *si; // iterator - AST_Decl *d; // temp node - be_union_branch *bub; // union branch node - int i = 0; // counter - - this->default_index_ = -1; // if not used at all, this is the value it will - // take - - // if there are elements in this scope - if (this->nmembers () > 0) - { - // instantiate a scope iterator. - si = new UTL_ScopeActiveIterator (this, UTL_Scope::IK_decls); - - while (!(si->is_done ())) - { - // get the next AST decl node - d = si->item (); - if (!d->imported ()) - { - bub = be_union_branch::narrow_from_decl (d); - if (bub->label ()->label_kind () == AST_UnionLabel::UL_default) - this->default_index_ = i; // zero based indexing - i++; - } - si->next (); - } // end of while - delete si; // free the iterator object - } - return 0; -} - -// return the member count -int -be_union::member_count (void) -{ - if (this->member_count_ == -1) - this->compute_member_count (); - - return this->member_count_; -} - -// return the default_index -int -be_union::default_index (void) -{ - if (this->default_index_ == -2) - this->compute_default_index (); - - return this->default_index_; -} - - -// **************************** -// code generation -// **************************** - -int -be_union::gen_client_header (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // code generation state - - - if (!this->cli_hdr_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - cg->node (this); // pass ourselves - - ch->indent (); // start with the current indentation level - *ch << "class " << local_name () << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // generate default and copy constructors - *ch << local_name () << " (void); // default constructor" << nl; - *ch << local_name () << " (const " << local_name () << - " &); // copy constructor" << nl; - // generate destructor - *ch << "~" << local_name () << " (void); // destructor" << nl; - // generate assignment operator - *ch << local_name () << " &operator= (const " << local_name () << - " &); // copy constructor\n\n"; - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - cg->push (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CH); // set current code gen state - bt = be_type::narrow_from_decl (this->disc_type ()); - - s = cg->make_state (); // get the code gen object for the current state - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Discriminant type generation failure\n")); - return -1; - } - cg->pop (); - - // now generate the public defn for the union branch members - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CH); // set current code gen state - - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "member generation failure\n")); - return -1; - } - cg->pop (); - - // now generate the private data members of the union - cg->push (TAO_CodeGen::TAO_UNION_PRIVATE_CH); // set current code gen state - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << bt->nested_type_name (this) << " disc_;" << nl; // emit the - // ACE_NESTED_CLASS macro - - // the members are inside of a union - *ch << "union" << nl; - *ch << "{\n"; - ch->incr_indent (0); - if (be_scope::gen_client_header () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "data member generation failure\n")); - return -1; - } - ch->decr_indent (); - *ch << "}; // end of union\n\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - - // generate var defn - this->gen_var_defn (); - - // a class is generated for an out defn only for a variable length struct - if (this->size_type () == be_decl::VARIABLE) - { - this->gen_out_defn (); - } - else - { - ch->indent (); - *ch << "typedef " << this->local_name () << " &" << this->local_name - () << "_out;\n\n"; - } - - // Generate the typecode decl - // All names in the root scope have length 2 (for the root and - // ourself). The children have length greater than 2. Thus, if our name - // length is 2 or less, we are outermost and our typecode decl must be - // extern, else we are defined static inside the enclosing scope. - if (this->is_nested ()) - { - // we have a scoped name - ch->indent (); - *ch << "static CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - else - { - // we are in the ROOT scope - ch->indent (); - *ch << "extern CORBA::TypeCode_ptr " << this->tc_name - ()->last_component () << ";\n\n"; - } - cg->pop (); - this->cli_hdr_gen_ = I_TRUE; - } - return 0; - } - -int -be_union::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CS); // set current code gen state - - cs = cg->client_stubs (); - - *cs << "// *************************************************************" - << nl; - *cs << "// Operations for union " << this->name () << nl; - *cs << "// *************************************************************\n\n"; - - // generate the copy constructor and the assignment operator here - cs->indent (); - *cs << "// copy constructor" << nl; - *cs << this->name () << "::" << this->local_name () << " (const " << - this->name () << " &u)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // first set the discriminant - *cs << "this->disc_ = u.disc_;" << nl; - // now switch based on the disc value - *cs << "switch (this->disc_)" << nl; - *cs << "{\n"; - cs->incr_indent (0); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "constructor codegen failure\n")); - return -1; - } - cs->decr_indent (); - *cs << "}\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - cs->indent (); - *cs << "// assignment operator" << nl; - *cs << this->name () << " &" << nl; // return type - *cs << this->name () << "::operator= (const " << - this->name () << " &u)" << nl; - *cs << "{\n"; - cs->incr_indent (); - // first set the discriminant - *cs << "this->disc_ = u.disc_;" << nl; - // now switch based on the disc value - *cs << "switch (this->disc_)" << nl; - *cs << "{\n"; - cs->incr_indent (0); - if (be_scope::gen_client_stubs () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_stubs\n")); - ACE_ERROR ((LM_ERROR, "assignment op codegen failure\n")); - return -1; - } - cs->decr_indent (); - *cs << "}" << nl; - *cs << "return *this;\n"; - cs->decr_indent (); - *cs << "}\n\n"; - - // generate the typecode information here - cs->indent (); // start from current indentation level - *cs << "static const CORBA::Long _oc_" << this->flatname () << "[] =" << - nl; - *cs << "{\n"; - cs->incr_indent (0); - if (this->gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union:Error generating encapsulation\n\n")); - return -1; - } - cs->decr_indent (); - *cs << "};" << nl; - - *cs << "static CORBA::TypeCode _tc__tc_" << this->flatname () << - " (CORBA::tk_union, sizeof (_oc_" << this->flatname () << - "), (unsigned char *) &_oc_" << this->flatname () << - ", CORBA::B_FALSE);" << nl; - *cs << "CORBA::TypeCode_ptr " << this->tc_name () << " = &_tc__tc_" << - this->flatname () << ";\n\n"; - this->cli_stub_gen_ = I_TRUE; - cg->pop (); - } - return 0; -} - -int -be_union::gen_server_header (void) -{ - return 0; -} - -int -be_union::gen_server_skeletons (void) -{ - return 0; -} - -// Generates the client-side inline information -int -be_union::gen_client_inline (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - be_type *bt; // type node - be_state *s; // code generation state - - - if (!this->cli_inline_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - ci = cg->client_inline (); - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for union " << this->name () << nl; - *ci << "// *************************************************************\n\n"; - - // generate the default constructor and the destructor here - ci->indent (); - *ci << "// default constructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::" << this->local_name () << " (void)" << nl; - *ci << "{" << nl; - *ci << "}" << nl << nl; - - *ci << "// destructor" << nl; - *ci << "ACE_INLINE" << nl; - *ci << this->name () << "::~" << this->local_name () << " (void)" << nl; - *ci << "{" << nl; - *ci << "}\n\n"; - - // the discriminant type may have to be defined here if it was an enum - // declaration inside of the union statement. - - cg->push (TAO_CodeGen::TAO_UNION_DISCTYPEDEFN_CI); // set current code gen state - bt = be_type::narrow_from_decl (this->disc_type ()); - - s = cg->make_state (); // get the code gen object for the current state - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_header\n")); - ACE_ERROR ((LM_ERROR, "Discriminant type generation failure\n")); - return -1; - } - cg->pop (); - - // now generate the implementation of the access methods - cg->push (TAO_CodeGen::TAO_UNION_PUBLIC_CI); // set current code gen state - if (be_scope::gen_client_inline () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union::gen_client_inline\n")); - ACE_ERROR ((LM_ERROR, "accessor generation failure\n")); - return -1; - } - cg->pop (); - - if (this->gen_var_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: _var impl code gen failed\n")); - return -1; - } - if (this->size_type () == be_decl::VARIABLE && this->gen_out_impl () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: _out impl code gen failed\n")); - return -1; - } - this->cli_inline_gen_ = I_TRUE; - } - return 0; -} - -// Generates the server-side inline -int -be_union::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -// generate typecode. -// Typecode for union comprises the enumerated value followed by the -// encapsulation of the parameters - -// generate the _var definition for ourself -int -be_union::gen_var_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // names - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_var", this->local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the var definition (always in the client header). - // Depending upon the data type, there are some differences which we account - // for over here. - - ch->indent (); // start with whatever was our current indent level - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - // default constr - *ch << namebuf << " (void); // default constructor" << nl; - // constr - *ch << namebuf << " (" << local_name () << " *);" << nl; - // copy constructor - *ch << namebuf << " (const " << namebuf << - " &); // copy constructor" << nl; - // destructor - *ch << "~" << namebuf << " (void); // destructor" << nl; - *ch << nl; - // assignment operator from a pointer - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // assignment from _var - *ch << namebuf << " &operator= (const " << namebuf << " &);" << nl; - - // arrow operator - *ch << local_name () << " *operator-> (void);" << nl; - *ch << "const " << local_name () << " *operator-> (void) const;" << nl; - *ch << nl; - - // other extra types (cast operators, [] operator, and others) - *ch << "operator const " << local_name () << " &() const;" << nl; - *ch << "operator " << local_name () << " &();" << nl; - *ch << "operator " << local_name () << " &() const;" << nl; - *ch << "// in, inout, out, _retn " << nl; - // the return types of in, out, inout, and _retn are based on the parameter - // passing rules and the base type - if (this->size_type () == be_decl::FIXED) - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " &out (void);" << nl; - *ch << local_name () << " _retn (void);" << nl; - } - else - { - *ch << "const " << local_name () << " &in (void) const;" << nl; - *ch << local_name () << " &inout (void);" << nl; - *ch << local_name () << " *&out (void);" << nl; - *ch << local_name () << " *_retn (void);" << nl; - } - - // generate an additional member function that returns the underlying pointer - *ch << local_name () << " *ptr(void) const;\n"; - - *ch << "\n"; - ch->decr_indent (); - - // generate the private section - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *ptr_;\n"; - ch->decr_indent (); - *ch << "};\n\n"; - - return 0; -} - -// implementation of the _var class. All of these get generated in the inline -// file -int -be_union::gen_var_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _var names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_var", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_var", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // default constr - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << - " (void) // default constructor" << nl; - *ci << "\t" << ": ptr_ (0)" << nl; - *ci << "{}\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (const " << fname << - " &p) // copy constructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (p.ptr_)" << nl; - *ci << "\tthis->ptr_ = new " << this->name () << "(*p.ptr_);" << nl; - *ci << "else" << nl; - *ci << "\tthis->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // destructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::~" << lname << " (void) // destructor" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from a pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment operator from _var - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (const " << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "if (this != &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = new " << this->name () << " (*p.ptr_);\n"; - ci->decr_indent (); - *ci << "}" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // two arrow operators - ci->indent (); - *ci << "ACE_INLINE const " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - 3 cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator const " << name () << - " &() const // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() // cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << name () << " &() const// cast " << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // in, inout, out, and _retn - ci->indent (); - *ci << "ACE_INLINE const " << name () << " &" << nl; - *ci << fname << "::in (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::inout (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the out is handled differently based on our size type - ci->indent (); - if (this->size_type () == be_decl::VARIABLE) - { - *ci << "// mapping for variable size " << nl; - *ci << "ACE_INLINE " << name () << " *&" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << this->name () << " *tmp = this->ptr_;" << nl; - *ci << "this->ptr_ = 0;" << nl; - *ci << "return tmp;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - else - { - *ci << "// mapping for fixed size " << nl; - *ci << "ACE_INLINE " << name () << " &" << nl; - *ci << fname << "::out (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - ci->indent (); - *ci << "ACE_INLINE " << name () << nl; - *ci << fname << "::_retn (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return *this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // the additional ptr () member function - ci->indent (); - *ci << "ACE_INLINE " << name () << " *" << nl; - *ci << fname << "::ptr (void) const" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - } - - return 0; -} - -// generate the _out definition -int -be_union::gen_out_defn (void) -{ - TAO_OutStream *ch; // output stream - TAO_NL nl; // end line - char namebuf [NAMEBUFSIZE]; // to hold the _out name - - ACE_OS::memset (namebuf, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (namebuf, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ch = cg->client_header (); - - // generate the out definition (always in the client header) - ch->indent (); // start with whatever was our current indent level - - *ch << "class " << namebuf << nl; - *ch << "{" << nl; - *ch << "public:\n"; - ch->incr_indent (); - - // No default constructor - - // constructor from a pointer - *ch << namebuf << " (" << local_name () << " *&);" << nl; - // constructor from a _var & - *ch << namebuf << " (" << local_name () << "_var &);" << nl; - // constructor from a _out & - *ch << namebuf << " (" << namebuf << " &);" << nl; - // assignment operator from a _out & - *ch << namebuf << " &operator= (" << namebuf << " &);" << nl; - // assignment operator from a pointer &, cast operator, ptr fn, operator - // -> and any other extra operators - // assignment - *ch << namebuf << " &operator= (" << local_name () << " *);" << nl; - // operator () - *ch << "operator " << local_name () << " *&();" << nl; - // ptr fn - *ch << local_name () << " *&ptr (void);" << nl; - // operator -> - *ch << local_name () << " *operator-> (void);" << nl; - - *ch << "\n"; - ch->decr_indent (); - *ch << "private:\n"; - ch->incr_indent (); - *ch << local_name () << " *&ptr_;" << nl; - *ch << "// assignment from T_var not allowed" << nl; - *ch << "void operator= (const " << local_name () << "_var &);\n"; - - ch->decr_indent (); - *ch << "};\n\n"; - return 0; -} - -int -be_union::gen_out_impl (void) -{ - TAO_OutStream *ci; // output stream - TAO_NL nl; // end line - char fname [NAMEBUFSIZE]; // to hold the full and - char lname [NAMEBUFSIZE]; // local _out names - - ACE_OS::memset (fname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (fname, "%s_out", this->fullname ()); - - ACE_OS::memset (lname, '\0', NAMEBUFSIZE); - ACE_OS::sprintf (lname, "%s_out", local_name ()->get_string ()); - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - ci = cg->client_inline (); - cg->outstream (ci); - - // generate the var implementation in the inline file - - ci->indent (); // start with whatever was our current indent level - - *ci << "// *************************************************************" - << nl; - *ci << "// Inline operations for class " << fname << nl; - *ci << "// *************************************************************\n\n"; - - // constr from a pointer - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << name () << " *&p)" << nl; - *ci << "\t: ptr_ (p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // constructor from _var & - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << this->name () << - "_var &p) // constructor from _var" << nl; - *ci << "\t: ptr_ (p.out ())" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "delete this->ptr_;" << nl; - *ci << "this->ptr_ = 0;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // copy constructor - ci->indent (); - *ci << "ACE_INLINE" << nl; - *ci << fname << "::" << lname << " (" << fname << - " &p) // copy constructor" << nl; - *ci << "\t: ptr_ (p.ptr_)" << nl; - *ci << "{}\n\n"; - - // assignment operator from _out & - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << fname << - " &p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p.ptr_;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // assignment from _var is not allowed by a private declaration - - // assignment operator from pointer - ci->indent (); - *ci << "ACE_INLINE " << fname << " &" << nl; - *ci << fname << "::operator= (" << this->name () << - " *p)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "this->ptr_ = p;" << nl; - *ci << "return *this;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // other extra methods - cast operator () - ci->indent (); - *ci << "ACE_INLINE " << nl; - *ci << fname << "::operator " << this->name () << - " *&() // cast" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // ptr function - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *&" << nl; - *ci << fname << "::ptr (void) // ptr" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - // operator -> - ci->indent (); - *ci << "ACE_INLINE " << this->name () << " *" << nl; - *ci << fname << "::operator-> (void)" << nl; - *ci << "{\n"; - ci->incr_indent (); - *ci << "return this->ptr_;\n"; - ci->decr_indent (); - *ci << "}\n\n"; - - - return 0; -} - -int -be_union::gen_typecode (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "CORBA::tk_union, // typecode kind" << nl; - *cs << this->tc_encap_len () << ", // encapsulation length\n"; - // now emit the encapsulation - return this->gen_encapsulation (); -} - -// generate encapsulation. -// An encapsulation for ourselves will be necessary when we are part of some -// other IDL type and a typecode for that other type is being generated. This -// will comprise our typecode kind. IDL types with parameters will additionally -// have the encapsulation length and the entire typecode description - -int -be_union::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - be_type *discrim; - - cs = cg->client_stubs (); - cs->indent (); // start from whatever indentation level we were at - - *cs << "TAO_ENCAP_BYTE_ORDER, // byte order" << nl; - // generate repoID - *cs << (ACE_OS::strlen (this->repoID ())+1) << ", "; - (void)this->tc_name2long (this->repoID (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // repository ID = " << this->repoID () << nl; - // generate name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << ",\n"; - - // generate typecode for discriminant - discrim = be_type::narrow_from_decl (this->disc_type ()); - if (discrim->gen_typecode () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate typecode for discriminant\n")); - return -1; - } - - // generate the default used flag - cs->indent (); - *cs << this->default_index () << ", // default used index" << nl; - // generate the member count - *cs << this->member_count () << ", // member count\n"; - cs->incr_indent (0); - // hand over to the scope to generate the typecode for elements - if (be_scope::gen_encapsulation () == -1) - { - ACE_ERROR ((LM_ERROR, "be_union: cannot generate code for members\n")); - return -1; - } - cs->decr_indent (0); - return 0; -} - -// compute typecode size -long -be_union::tc_size (void) -{ - // 4 bytes for enumeration, 4 bytes for storing encap length val, followed by the - // actual encapsulation length - return 4 + 4 + this->tc_encap_len (); -} - -long -be_union::tc_encap_len (void) -{ - if (this->encap_len_ == -1) // not computed yet - { - long slen; - be_type *discrim; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (slen); - - this->encap_len_ = 4; // holds the byte order flag - - this->encap_len_ += this->repoID_encap_len (); // for repoID - - // do the same thing for the local name - this->encap_len_ += this->name_encap_len (); // for name - - // add encapsulation size of discriminant typecode - discrim = be_type::narrow_from_decl (this->disc_type ()); - this->encap_len_ += discrim->tc_size (); - - this->encap_len_ += 4; // to hold the "default used" flag - this->encap_len_ += 4; // to hold the member count - - // compute encap length for members - this->encap_len_ += be_scope::tc_encap_len (); - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS3 (be_union, AST_Union, be_scope, be_type) -IMPL_NARROW_FROM_DECL (be_union) -IMPL_NARROW_FROM_SCOPE (be_union) diff --git a/TAO/TAO_IDL/be/be_union_branch.cpp b/TAO/TAO_IDL/be/be_union_branch.cpp deleted file mode 100644 index dc5477e00cf..00000000000 --- a/TAO/TAO_IDL/be/be_union_branch.cpp +++ /dev/null @@ -1,207 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union_branch.cpp -// -// = DESCRIPTION -// Extension of class AST_UnionBranch that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_UnionBranch - */ -be_union_branch::be_union_branch (void) -{ -} - -be_union_branch::be_union_branch (AST_UnionLabel *lab, AST_Type *ft, - UTL_ScopedName *n, UTL_StrList *p) - : AST_UnionBranch (lab, ft, n, p), - AST_Field (AST_Decl::NT_union_branch, ft, n, p), - AST_Decl (AST_Decl::NT_union_branch, n, p) -{ -#if 0 - // computes the repoID - compute_repoID (); - - // computes the fully scoped name - compute_fullname (); - - // compute the flattened fully scoped name - compute_flatname (); -#endif -} - -// ---------------------------------------- -// CODE GENERATION METHODS -// ---------------------------------------- - -// Generates the client-side header information for the union_branch -int -be_union_branch::gen_client_header (void) -{ - be_type *bt; // the union_branch type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, "be_union_branch: error generating type\n")); - return -1; - } - return 0; -} - -// Generates the client-side stubs for the union_branch -int -be_union_branch::gen_client_stubs (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - - if (!this->cli_stub_gen_) - { - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - cs = cg->client_stubs (); - - cs->indent (); - // generate a case stmt - if (this->label ()->label_val ()->ec () == AST_Expression::EC_symbol) - { - *cs << "case " << this->label ()->label_val ()->n () << ":\n"; - } - else - { - *cs << "case " << this->label ()->label_val () << ":\n"; - } - cs->incr_indent (); - *cs << "this->" << this->local_name () << "_ = u." << this->local_name () - << "_;" << nl; - *cs << "break;\n"; - cs->decr_indent (0); - } - return 0; -} - -// Generates the server-side header information for the union_branch -int -be_union_branch::gen_server_header (void) -{ - // nothing to be done - return 0; -} - -// Generates the server-side skeletons for the union_branch -int -be_union_branch::gen_server_skeletons (void) -{ - // nothing to be done - return 0; -} - -// Generates the client-side inline information -int -be_union_branch::gen_client_inline (void) -{ - be_type *bt; // the union_branch type - be_state *s; // state based code gen object - - // retrieve a singleton instance of the code generator - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - - bt = be_type::narrow_from_decl (this->field_type ()); - s = cg->make_state (); - if (!s || !bt || (s->gen_code (bt, this) == -1)) - { - ACE_ERROR ((LM_ERROR, - "be_union_branch: error generating impl of access methods\n")); - return -1; - } - return 0; -} - -// Generates the server-side inline -int -be_union_branch::gen_server_inline (void) -{ - // nothing to be done - return 0; -} - -int -be_union_branch::gen_encapsulation (void) -{ - TAO_OutStream *cs; // output stream - TAO_NL nl; // end line - TAO_CodeGen *cg = TAO_CODEGEN::instance (); - be_type *bt; // our type node - long i, arrlen; - long *arr; // an array holding string names converted to array of longs - - cs = cg->client_stubs (); - cg->node (this); // pass ourselves in case we are needed - cs->indent (); // start from whatever indentation level we were at - - // emit the case label value - *cs << this->label ()->label_val (); - *cs << ", // union case label (evaluated)" << nl; - // emit name - *cs << (ACE_OS::strlen (this->local_name ()->get_string ())+1) << ", "; - (void)this->tc_name2long(this->local_name ()->get_string (), arr, arrlen); - for (i=0; i < arrlen; i++) - { - cs->print ("0x%x, ", arr[i]); - } - *cs << " // name = " << this->local_name () << "\n"; - - // hand over code generation to our type node - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - return -1; - return bt->gen_typecode (); -} - -long -be_union_branch::tc_encap_len (void) -{ - if (this->encap_len_ == -1) - { - be_type *bt; - - this->encap_len_ = 4; // case label; - this->encap_len_ += this->name_encap_len (); // for name - bt = be_type::narrow_from_decl (this->field_type ()); - if (!bt) - { - ACE_ERROR ((LM_ERROR, "be_union_branch: bad field type\n")); - return -1; - } - this->encap_len_ += bt->tc_size (); // note that we add the typecode size - // of the type - } - return this->encap_len_; -} - -// Narrowing -IMPL_NARROW_METHODS2 (be_union_branch, AST_UnionBranch, be_decl) -IMPL_NARROW_FROM_DECL (be_union_branch) diff --git a/TAO/TAO_IDL/be/be_union_label.cpp b/TAO/TAO_IDL/be/be_union_label.cpp deleted file mode 100644 index 54c34769d76..00000000000 --- a/TAO/TAO_IDL/be/be_union_label.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include "idl.h" -#include "idl_extern.h" -#include "be.h" - -/* - * BE_UnionLabel - */ -be_union_label::be_union_label() -{ -} -be_union_label::be_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *v) - : AST_UnionLabel(ul, v) -{ -} - diff --git a/TAO/TAO_IDL/be_include/be.h b/TAO/TAO_IDL/be_include/be.h deleted file mode 100644 index b89376d8347..00000000000 --- a/TAO/TAO_IDL/be_include/be.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_BE_HH -#define _BE_BE_HH - -// be.h -// - -#if defined (ACE_WIN32) -#pragma warning(disable:4250) -#endif /* ACE_WIN32 */ - -// ACE includes - -#include "ace/ACE.h" -#include "ace/OS.h" -#include "ace/Singleton.h" -#include "ace/Synch.h" -#include "ace/Log_Msg.h" - -/* - * BE includes - */ - -#include "be_decl.h" // class BE_Decl -#include "be_scope.h" // class BE_Scope -#include "be_generator.h" // BE generator class -#include "be_type.h" -#include "be_predefined_type.h" // class BE_PredefinedType -#include "be_module.h" // class BE_Module -#include "be_interface.h" // class BE_Interface -#include "be_interface_fwd.h" // class BE_InterfaceFwd -#include "be_structure.h" // class BE_Structure -#include "be_exception.h" // class BE_Exception -#include "be_expression.h" // class BE_Expr_val -#include "be_enum.h" // class BE_Enum -#include "be_operation.h" // class BE_Operation -#include "be_field.h" // class BE_Field -#include "be_argument.h" // class BE_Argument -#include "be_attribute.h" // class BE_Attribute -#include "be_union.h" // class BE_Union -#include "be_union_branch.h" // class BE_UnionBranch -#include "be_union_label.h" // class BE_UnionLabel -#include "be_constant.h" // class BE_Constant -#include "be_enum_val.h" // class BE_EnumVal -#include "be_array.h" // class BE_Array -#include "be_sequence.h" // class BE_Sequence -#include "be_string.h" // class BE_String -#include "be_typedef.h" // class BE_Typedef -#include "be_root.h" // class BE_Root - -#include "be_helper.h" // helper functions -#include "be_state.h" // code generation states -#include "be_codegen.h" // code generator -#include "be_factory.h" // factory - -#endif // _BE_BE_HH diff --git a/TAO/TAO_IDL/be_include/be_argument.h b/TAO/TAO_IDL/be_include/be_argument.h deleted file mode 100644 index a20676a1c82..00000000000 --- a/TAO/TAO_IDL/be_include/be_argument.h +++ /dev/null @@ -1,62 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_argument.h -// -// = DESCRIPTION -// Extension of class AST_Argument that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_ARGUMENT_H) -#define BE_ARGUMENT_H - -/* - * BE_Argument - */ -class be_argument : public virtual AST_Argument, - public virtual be_decl -{ -public: - // =Operations - - be_argument (void); - // default constructor - - be_argument (AST_Argument::Direction d, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // generate client header for the argument - - virtual int gen_client_stubs (void); - // generate client side stubs for the argument - - virtual int gen_server_header (void); - // generate server header for the argument - - virtual int gen_server_skeletons (void); - // generate server skeletons for the argument - - virtual int gen_client_inline (void); - // Generates the client-side inline for the argument - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the argument - - // Narrowing - DEF_NARROW_METHODS2 (be_argument, AST_Argument, be_decl); - DEF_NARROW_FROM_DECL (be_argument); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_array.h b/TAO/TAO_IDL/be_include/be_array.h deleted file mode 100644 index d03d20e03fe..00000000000 --- a/TAO/TAO_IDL/be_include/be_array.h +++ /dev/null @@ -1,91 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_array.h -// -// = DESCRIPTION -// Extension of class AST_Array that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_ARRAY_H) -#define BE_ARRAY_H - -/* - * BE_Array - */ -class be_array : public virtual AST_Array, - public virtual be_type -{ -public: - // =Operations - - be_array (void); - // default constructor - - be_array (UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims); - // constructor - - virtual int gen_client_header (void); - // generate client header for array - - virtual int gen_client_stubs (void); - // generate client side stubs for array - - virtual int gen_server_header (void); - // generate server header for array - - virtual int gen_server_skeletons (void); - // generate server skeletons for array - - virtual int gen_client_inline (void); - // Generates the client-side inline for the array - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the array - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_forany_defn (void); - // the forany class - - virtual int gen_forany_impl (void); - // the forany impl - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_array, AST_Array, be_type); - DEF_NARROW_FROM_DECL (be_array); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_attribute.h b/TAO/TAO_IDL/be_include/be_attribute.h deleted file mode 100644 index 2461013a402..00000000000 --- a/TAO/TAO_IDL/be_include/be_attribute.h +++ /dev/null @@ -1,61 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_attribute.h -// -// = DESCRIPTION -// Extension of class AST_Attribute that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_ATTRIBUTE_H) -#define BE_ATTRIBUTE_H - -/* - * BE_Attribute - */ -class be_attribute : public virtual AST_Attribute, - public virtual be_decl -{ -public: - // =Operations - - be_attribute (void); - // default constructor - - be_attribute (idl_bool ro, AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // generate client header for the attribute - - virtual int gen_client_stubs (void); - // generate client side stubs for the attribute - - virtual int gen_server_header (void); - // generate server header for the attribute - - virtual int gen_server_skeletons (void); - // generate server skeletons for the attribute - - virtual int gen_client_inline (void); - // Generates the client-side inline for the attribute - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the attribute - - // Narrowing - DEF_NARROW_METHODS2 (be_attribute, AST_Attribute, be_decl); - DEF_NARROW_FROM_DECL (be_attribute); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_codegen.h b/TAO/TAO_IDL/be_include/be_codegen.h deleted file mode 100644 index c4176c2e93d..00000000000 --- a/TAO/TAO_IDL/be_include/be_codegen.h +++ /dev/null @@ -1,342 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_codegen.h -// -// = DESCRIPTION -// The Code generator class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_CODEGEN_H) -#define TAO_BE_CODEGEN_H - -#define NAMEBUFSIZE 1024 -// maximum length of static buffers used to store names - -class TAO_CodeGen -{ - // = TITLE - // TAO_CodeGen - // - // = DESCRIPTION - // Holds global parameters for the Back End and generates the C++ mapping - // -public: - - // define all the code generation states. The first letter C/S of the suffix stands - // for client/server-side and the second letter H/I/S stands for - // header/inline/impl file. - enum CG_STATE - { - // initial state - TAO_INITIAL, - - // emitting code for root - TAO_ROOT_CH, - TAO_ROOT_CI, - TAO_ROOT_CS, - TAO_ROOT_SH, - TAO_ROOT_SI, - TAO_ROOT_SS, - - // emitting code for the module - TAO_MODULE_CH, - TAO_MODULE_CI, - TAO_MODULE_CS, - TAO_MODULE_SH, - TAO_MODULE_SI, - TAO_MODULE_SS, - - // emitting code for the interface - TAO_INTERFACE_CH, - TAO_INTERFACE_CI, - TAO_INTERFACE_CS, - TAO_INTERFACE_SH, - TAO_INTERFACE_SI, - TAO_INTERFACE_SS, - - // emitting code for the constants - TAO_CONSTANT_CH, - TAO_CONSTANT_CI, - TAO_CONSTANT_CS, - TAO_CONSTANT_SH, - TAO_CONSTANT_SI, - TAO_CONSTANT_SS, - - // emitting code for sequence base type - TAO_SEQUENCE_BASE_CH, - TAO_SEQUENCE_BASE_CI, - TAO_SEQUENCE_BASE_CS, - TAO_SEQUENCE_BASE_SH, - TAO_SEQUENCE_BASE_SI, - TAO_SEQUENCE_BASE_SS, - - // emitting code for sequence body - TAO_SEQUENCE_BODY_CH, - TAO_SEQUENCE_BODY_CI, - TAO_SEQUENCE_BODY_CS, - TAO_SEQUENCE_BODY_SH, - TAO_SEQUENCE_BODY_SI, - TAO_SEQUENCE_BODY_SS, - - // emitting code for the discriminant - TAO_UNION_DISCTYPEDEFN_CH, - TAO_UNION_DISCTYPEDEFN_CI, - TAO_UNION_DISCTYPEDEFN_CS, - TAO_UNION_DISCTYPEDEFN_SH, - TAO_UNION_DISCTYPEDEFN_SI, - TAO_UNION_DISCTYPEDEFN_SS, - - // emitting code for the public members of the union - TAO_UNION_PUBLIC_CH, - TAO_UNION_PUBLIC_CI, - TAO_UNION_PUBLIC_CS, - TAO_UNION_PUBLIC_SH, - TAO_UNION_PUBLIC_SI, - TAO_UNION_PUBLIC_SS, - - // emitting code for private members of the union - TAO_UNION_PRIVATE_CH, - TAO_UNION_PRIVATE_CI, - TAO_UNION_PRIVATE_CS, - TAO_UNION_PRIVATE_SH, - TAO_UNION_PRIVATE_SI, - TAO_UNION_PRIVATE_SS, - - // emitting code for struct and its members - TAO_STRUCT_CH, - TAO_STRUCT_CI, - TAO_STRUCT_CS, - TAO_STRUCT_SH, - TAO_STRUCT_SI, - TAO_STRUCT_SS, - - // emitting code for exceptions - TAO_EXCEPTION_CH, - TAO_EXCEPTION_CI, - TAO_EXCEPTION_CS, - TAO_EXCEPTION_SH, - TAO_EXCEPTION_SI, - TAO_EXCEPTION_SS, - - // emitting code for enums - TAO_ENUM_CH, - TAO_ENUM_CI, - TAO_ENUM_CS, - TAO_ENUM_SH, - TAO_ENUM_SI, - TAO_ENUM_SS, - - // emitting code for array defn - TAO_ARRAY_DEFN_CH, - TAO_ARRAY_DEFN_CI, - TAO_ARRAY_DEFN_CS, - TAO_ARRAY_DEFN_SH, - TAO_ARRAY_DEFN_SI, - TAO_ARRAY_DEFN_SS, - - // emitting code for rest of the array decl - TAO_ARRAY_OTHER_CH, - TAO_ARRAY_OTHER_CI, - TAO_ARRAY_OTHER_CS, - TAO_ARRAY_OTHER_SH, - TAO_ARRAY_OTHER_SI, - TAO_ARRAY_OTHER_SS, - - // emitting code for strings - TAO_STRING_CH, - TAO_STRING_CI, - TAO_STRING_CS, - TAO_STRING_SH, - TAO_STRING_SI, - TAO_STRING_SS, - - // emitting code for an operation. - TAO_OPERATION_CH, - TAO_OPERATION_CI, - TAO_OPERATION_RETURN_TYPE_CS, - TAO_OPERATION_RETVAL_DECL_CS, - TAO_OPERATION_RETVAL_EXCEPTION_CS, - TAO_OPERATION_RETVAL_RETURN_CS, - TAO_OPERATION_SH, - TAO_OPERATION_SI, - TAO_OPERATION_RETVAL_DECL_SS, - TAO_OPERATION_RETVAL_ASSIGN_SS, - TAO_OPERATION_RESULT_SS, - - // emitting code for arguments of an operation. No distinction between - // headers, inclines, stubs. - TAO_ARGUMENT_CH, - TAO_ARGUMENT_CI, - TAO_ARGUMENT_CS, - TAO_ARGUMENT_DOCALL_CS, - TAO_ARGUMENT_PRE_DOCALL_CS, - TAO_ARGUMENT_POST_DOCALL_CS, - TAO_ARGUMENT_SH, - TAO_ARGUMENT_SI, - TAO_ARGUMENT_SS, - TAO_ARGUMENT_VARDECL_SS, - TAO_ARGUMENT_UPCALL_SS, - TAO_ARGUMENT_PRE_UPCALL_SS, - TAO_ARGUMENT_POST_UPCALL_SS, - - // emitting code for attributes - TAO_ATTRIBUTE_RETURN_TYPE_CH, - TAO_ATTRIBUTE_INPARAM_TYPE_CH, - TAO_ATTRIBUTE_RETURN_TYPE_CS, - TAO_ATTRIBUTE_RETVAL_DECL_CS, - TAO_ATTRIBUTE_RETVAL_EXCEPTION_CS, - TAO_ATTRIBUTE_RETVAL_RETURN_CS, - TAO_ATTRIBUTE_INPARAM_TYPE_CS, - TAO_ATTRIBUTE_PRE_DOCALL_CS, - TAO_ATTRIBUTE_DOCALL_CS, - TAO_ATTRIBUTE_POST_DOCALL_CS, - TAO_ATTRIBUTE_RETURN_TYPE_SH, - TAO_ATTRIBUTE_INPARAM_TYPE_SH, - TAO_ATTRIBUTE_RETVAL_DECL_SS, - TAO_ATTRIBUTE_RETVAL_ASSIGN_SS, - TAO_ATTRIBUTE_RESULT_SS, - TAO_ATTRIBUTE_INPARAM_TYPE_SS, - TAO_ATTRIBUTE_PRE_UPCALL_SS, - TAO_ATTRIBUTE_UPCALL_SS, - TAO_ATTRIBUTE_POST_UPCALL_SS, - - // emitting code for typedefs - TAO_TYPEDEF_CH, - TAO_TYPEDEF_CI, - TAO_TYPEDEF_CS, - TAO_TYPEDEF_SH, - TAO_TYPEDEF_SI, - TAO_TYPEDEF_SS - }; - - TAO_CodeGen (void); - // Constructor - - ~TAO_CodeGen (void); - // destructor - - be_state *make_state (void); - // factory method returning appropriate subclass of the be_state object - // based on the current code generation state - - int gen_cplusplus_mapping (void); - // generate the C++ mapping for CORBA IDL - - int client_header (const char *fname); - // set the client header stream - - TAO_OutStream *client_header (void); - // get the client header stream - - int client_stubs (const char *fname); - // set the client stub stream - - TAO_OutStream *client_stubs (void); - // get the client stubs stream - - int client_inline (const char *fname); - // set the client inline stream - - TAO_OutStream *client_inline (void); - // get the client inline stream - - int server_header (const char *fname); - // set the server header stream - - TAO_OutStream *server_header (void); - // get the server header stream - - int server_skeletons (const char *fname); - // set the server skeletons stream - - TAO_OutStream *server_skeletons (void); - // get the server skeletons stream - - int server_inline (const char *fname); - // set the server inline stream - - TAO_OutStream *server_inline (void); - // get the server inline stream - - void outstream (TAO_OutStream *os); - // set current out stream - - TAO_OutStream *outstream (void); - // retrieve current out stream being used - - int end_client_header (void); - // put a last #endif in the client header - - int end_server_header (void); - // put a last #endif in the server header - - void push (CG_STATE s); - // set the code generation state - - void pop (void); - // out of the current state - - void reset (void); - // reset the stack to 1 - - CG_STATE state (void); - // return the current state - - void node (be_decl *n); - // pass info - - be_decl *node (void); - // retrieve passed info - - const char *upcase (const char *str); - // convert input string to all upcase - -private: - TAO_OutStream *client_header_; - // client header stream - - TAO_OutStream *client_stubs_; - // client stub file stream - - TAO_OutStream *client_inline_; - // client side inline definitions - - TAO_OutStream *server_header_; - // server header stream - - TAO_OutStream *server_skeletons_; - // server skeleton stream - - TAO_OutStream *server_inline_; - // server side inline file - - TAO_OutStream *curr_os_; - // currently used out stream - - CG_STATE *state_; - // code generation state stack - - int top_; - // top of state stack - - int size_; - // size of allocated stack - - be_decl *node_; - // save current node in this -}; - -typedef ACE_Singleton<TAO_CodeGen, ACE_SYNCH_RECURSIVE_MUTEX> TAO_CODEGEN; -// Singleton instance of the BE code generator - - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_constant.h b/TAO/TAO_IDL/be_include/be_constant.h deleted file mode 100644 index e59426cfc5e..00000000000 --- a/TAO/TAO_IDL/be_include/be_constant.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_constant.h -// -// = DESCRIPTION -// Extension of class AST_Constant that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_CONSTANT_H) -#define BE_CONSTANT_H - -/* - * BE_Constant - */ -class be_constant : public virtual AST_Constant , public virtual be_decl -{ -public: - // Operations - - be_constant (void); - // constructor - - be_constant (AST_Expression::ExprType et, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the constant - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the constant - - virtual int gen_server_header (void); - // Generates the server-side header information for the constant - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the constant - - virtual int gen_client_inline (void); - // Generates the client-side inline for the constant - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the constant - - // Narrowing - DEF_NARROW_METHODS2 (be_constant, AST_Constant, be_decl); - DEF_NARROW_FROM_DECL (be_constant); - -private: - char *exprtype_to_string (void); - // returns the appropriate type -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_decl.h b/TAO/TAO_IDL/be_include/be_decl.h deleted file mode 100644 index b351042b521..00000000000 --- a/TAO/TAO_IDL/be_include/be_decl.h +++ /dev/null @@ -1,147 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_decl.h -// -// = DESCRIPTION -// Extension of the AST_Decl class. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_DECL_H) -#define TAO_BE_DECL_H - -/* - * BE_Decl - */ -class be_decl : public virtual AST_Decl -{ - // = TITLE - // be_decl - // = DESCRIPTION - // The back end extension of the AST_Decl class. Provides an abstract - // interface - // -public: - enum SIZE_TYPE - { - FIXED, - VARIABLE - }; - // indicates if we are fixed size or variable. Most useful for structs, - // unions, and arrays. - - // =Operations - - be_decl (void); - // Default constructor - - be_decl (AST_Decl::NodeType type, UTL_ScopedName *n, UTL_StrList *pragmas); - // constructor that sets the node type - - ~be_decl (void); - // destructor - - virtual int gen_client_header (void) = 0; - // Generates the client-side header information for the decl - - virtual int gen_client_stubs (void) = 0; - // Generates the client-side stubs for the decl - - virtual int gen_server_header (void) = 0; - // Generates the server-side header information for the decl - - virtual int gen_server_skeletons (void) = 0; - // Generates the server-side skeletons for the decl - - virtual int gen_client_inline (void) = 0; - // Generates the client-side inline for the decl - - virtual int gen_server_inline (void) = 0; - // Generates the server-side inlines for the decl - - virtual void size_type (SIZE_TYPE); - // set the size type - - virtual SIZE_TYPE size_type (void) const; - // return our size type - - const char *repoID (void); - // retrieve the repository ID - - const char *fullname (void); - // return the stringified full name - - const char *flatname (void); - // return the flattened full scoped name - - virtual idl_bool is_nested (void); - // determines if we are inside of a nested scope or not - - virtual int gen_encapsulation (void); - // encapsulation of parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS1 (be_decl, AST_Decl); - DEF_NARROW_FROM_DECL (be_decl); - -protected: - // =helper - - virtual void compute_repoID (void); - // computes the repoID - - virtual void compute_fullname (void); - // computes the fully scoped name - - virtual void compute_flatname (void); - // compute the flattened fully scoped name - - virtual int tc_name2long (const char *name, long *&, long &); - // name represented as a padded array of longs - - virtual long repoID_encap_len (void); - // return encapsulation length required to hold repository ID - - virtual long name_encap_len (void); - // return encapsulation length required to hold IDL name - - // variables that indicate if the code generation for that node is already - // been done. This way we avoid regenerating same code. - idl_bool cli_hdr_gen_; - idl_bool cli_stub_gen_; - idl_bool cli_inline_gen_; - idl_bool srv_hdr_gen_; - idl_bool srv_skel_gen_; - idl_bool srv_inline_gen_; - - char *fullname_; - // our full scoped name - - char *flatname_; - // flattened fully scoped name - - char *repoID_; - // repository ID - - SIZE_TYPE size_type_; - // whether we are fixed or variable size (by default fixed) - - long encap_len_; - // encapsulation length - required for typecodes - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_enum.h b/TAO/TAO_IDL/be_include/be_enum.h deleted file mode 100644 index 9ae63caba05..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum.h +++ /dev/null @@ -1,88 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum.h -// -// = DESCRIPTION -// Extension of class AST_Enum that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_ENUM_H) -#define BE_ENUM_H - -/* - * BE_Enum - */ -class be_enum : public virtual AST_Enum, - public virtual be_scope, - public virtual be_type -{ -public: - // Operations - - be_enum (void); - // default constructor - - be_enum (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the enum - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the enum - - virtual int gen_server_header (void); - // Generates the server-side header information for the enum - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the enum - - virtual int gen_client_inline (void); - // Generates the client-side inline for the enum - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the enum - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - virtual int member_count (void); - // return the count of members - - // Narrowing - DEF_NARROW_METHODS3 (be_enum, AST_Enum, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_enum); - DEF_NARROW_FROM_SCOPE (be_enum); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_enum_val.h b/TAO/TAO_IDL/be_include/be_enum_val.h deleted file mode 100644 index 4a52ea0501f..00000000000 --- a/TAO/TAO_IDL/be_include/be_enum_val.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_enum_val.h -// -// = DESCRIPTION -// Extension of class AST_EnumVal that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_ENUM_VAL_H) -#define BE_ENUM_VAL_H - -/* - * BE_EnumVal - */ -class be_enum_val : public virtual AST_EnumVal, - public virtual be_decl -{ -public: - // =Operations - - be_enum_val (void); - // default constructor - - be_enum_val (unsigned long v, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the EnumVal - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the EnumVal - - virtual int gen_server_header (void); - // Generates the server-side header information for the EnumVal - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the EnumVal - - virtual int gen_client_inline (void); - // Generates the client-side inline for the EnumVal - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the EnumVal - - virtual int gen_encapsulation (void); - // generate the typecode - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_enum_val, AST_EnumVal, be_decl); - DEF_NARROW_FROM_DECL (be_enum_val); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_exception.h b/TAO/TAO_IDL/be_include/be_exception.h deleted file mode 100644 index d28a35f7389..00000000000 --- a/TAO/TAO_IDL/be_include/be_exception.h +++ /dev/null @@ -1,70 +0,0 @@ -#if !defined (BE_EXCEPTION_H) -#define BE_EXCEPTION_H - -/* - * BE_Exception - */ -class be_exception : public virtual AST_Exception, - public virtual be_scope, - public virtual be_type - -{ -public: - // Operations - be_exception (void); - // default constructor - - be_exception (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - // =code generation - - virtual int gen_client_header (void); - // generate client header - - virtual int gen_client_inline (void); - // generate client inline - - virtual int gen_client_stubs (void); - // generate client stubs - - virtual int gen_server_header (void); - // generate server header - - virtual int gen_server_inline (void); - // generate server inline - - virtual int gen_server_skeletons (void); - // generate server skeletons - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - virtual int member_count (void); - // return the count of members - - // Narrowing - DEF_NARROW_METHODS3 (be_exception, AST_Exception, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_exception); - DEF_NARROW_FROM_SCOPE (be_exception); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members -}; - -#endif // end of if !defined (...) diff --git a/TAO/TAO_IDL/be_include/be_expression.h b/TAO/TAO_IDL/be_include/be_expression.h deleted file mode 100644 index ae3d90d2164..00000000000 --- a/TAO/TAO_IDL/be_include/be_expression.h +++ /dev/null @@ -1,43 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_expression.h -// -// = DESCRIPTION -// Extension of class AST_Expression that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_EXPRESSION_H) -#define BE_EXPRESSION_H - -/* - * BE_Expression - */ -class be_expression : public virtual AST_Expression -{ -public: - // Operations - be_expression (UTL_ScopedName *n); - be_expression (AST_Expression *b, AST_Expression::ExprType t); - be_expression (AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - be_expression (long l); - be_expression (long l, AST_Expression::ExprType t); - be_expression (unsigned long l); - be_expression (String *s); - be_expression (char c); - be_expression (double d); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_factory.h b/TAO/TAO_IDL/be_include/be_factory.h deleted file mode 100644 index a45affafb94..00000000000 --- a/TAO/TAO_IDL/be_include/be_factory.h +++ /dev/null @@ -1,55 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL Backend -// -// = FILENAME -// be_factory.h -// -// = DESCRIPTION -// Defines a factory that returns a specialized output stream object that -// understands a specific Front End -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_FACTORY_H) -#define TAO_BE_FACTORY_H - -class TAO_OutStream_Factory -{ - // =TITLE - // TAO_OutStream_Factory - // =DESCRIPTION - // factory to produce specialized instances of the output stream objects -public: - enum TAO_OutStream_Type - { - TAO_SUNSOFT, - TAO_FLICK - }; - - TAO_OutStream_Factory (void); - // constructor - - ~TAO_OutStream_Factory (void); - // destructor - - TAO_OutStream *make_outstream (void); - // make the specialized out stream class - - int set_stream_type (TAO_OutStream_Type t); - // set the stream type - -private: - TAO_OutStream_Type strm_type_; -}; - -typedef ACE_Singleton<TAO_OutStream_Factory, ACE_SYNCH_RECURSIVE_MUTEX> TAO_OUTSTREAM_FACTORY; -// Singleton instance of the OutStream factory - -#endif // if !defined - diff --git a/TAO/TAO_IDL/be_include/be_field.h b/TAO/TAO_IDL/be_include/be_field.h deleted file mode 100644 index 1da3a2a23a8..00000000000 --- a/TAO/TAO_IDL/be_include/be_field.h +++ /dev/null @@ -1,68 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_field.h -// -// = DESCRIPTION -// Extension of class AST_Field that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_FIELD_H) -#define BE_FIELD_H - -/* - * BE_Field - */ -class be_field : public virtual AST_Field, - public virtual be_decl -{ -public: - // =Operations - - be_field (void); - // default constructor - - be_field (AST_Type *ft, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the field - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the field - - virtual int gen_server_header (void); - // Generates the server-side header information for the field - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the field - - virtual int gen_client_inline (void); - // Generates the client-side inline for the field - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the field - - virtual int gen_encapsulation (void); - // generate the typecode - - virtual long tc_encap_len (void); - // return the total byte length of ourselves represented as an encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_field, AST_Field, be_decl); - DEF_NARROW_FROM_DECL (be_field); - -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_generator.h b/TAO/TAO_IDL/be_include/be_generator.h deleted file mode 100644 index 2b8c91cabfa..00000000000 --- a/TAO/TAO_IDL/be_include/be_generator.h +++ /dev/null @@ -1,160 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_GENERATOR_BE_GENERATOR_HH -#define _BE_GENERATOR_BE_GENERATOR_HH - -// be_generator.hh -// -// Defines BE class for generator -// -// This defines the same protocol as the AST_Generator class but actually -// is implemented to create nodes of AST classes subclassed in this BE - -/* -** DEPENDENCIES: AST_Generator.h -** -** USE: Included from be.h -*/ - -class be_generator : public AST_Generator { -public: - virtual AST_Root *create_root(UTL_ScopedName *n, - UTL_StrList *p); - // Create a node representing a module which is the root of an AST made up of - // BE nodes - - // Operations - virtual AST_PredefinedType - *create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p); - - virtual AST_Module *create_module(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Interface *create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - virtual AST_InterfaceFwd *create_interface_fwd(UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Exception *create_exception(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Structure *create_structure(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Enum *create_enum(UTL_ScopedName *n, UTL_StrList *p); - virtual AST_Operation *create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Field *create_field(AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Argument *create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Attribute *create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Union *create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_UnionBranch *create_union_branch(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_UnionLabel *create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv); - virtual AST_Constant *create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p); - - virtual AST_Expression *create_expr(UTL_ScopedName *n); - virtual AST_Expression *create_expr(AST_Expression *v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - virtual AST_Expression *create_expr(long v); - virtual AST_Expression *create_expr(long v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(unsigned long v); - virtual AST_Expression *create_expr(String *s); - virtual AST_Expression *create_expr(char c); - virtual AST_Expression *create_expr(double d); - - virtual AST_EnumVal *create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p); - virtual AST_Array *create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims); - virtual AST_Sequence *create_sequence(AST_Expression *v, AST_Type *bt); - virtual AST_String *create_string(AST_Expression *v); - virtual AST_String *create_wstring(AST_Expression *v); - virtual AST_Typedef *create_typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p); -}; - -#endif // _BE_GENERATOR_BE_GENERATOR_HH diff --git a/TAO/TAO_IDL/be_include/be_helper.h b/TAO/TAO_IDL/be_include/be_helper.h deleted file mode 100644 index 32af2898748..00000000000 --- a/TAO/TAO_IDL/be_include/be_helper.h +++ /dev/null @@ -1,133 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_helper.h -// -// = DESCRIPTION -// Defines the abstract class for outputting the C++ mapping. This is a -// helper class to the singleton TAO_CodeGen class -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_OUTSTRM_H) -#define TAO_BE_OUTSTRM_H - -// a dummy structure to inform TAO_OutStream's << operator to put a newline -// and use the current indentation for the succeeding line -struct TAO_NL -{ -public: - TAO_NL (void); -}; - -class TAO_OutStream -{ - // =TITLE - // TAO_OutStream - // =DESCRIPTION - // Defines an interface by which the backend code generator can print its - // output to the underlying I/O handle. This is a helper class that will be - // used by the TAO_CodeGen class. However, this is an abstract class and - // classes that understand specific front ends must derive from this - // class. -public: - - // Enumerated type to indicate the stream type - enum STREAM_TYPE - { - TAO_CLI_HDR, - TAO_CLI_INL, - TAO_CLI_IMPL, - TAO_SVR_HDR, - TAO_SVR_INL, - TAO_SVR_IMPL - }; - - TAO_OutStream (void); - // constructor. - - virtual ~TAO_OutStream (void); - // destructor - - int open (const char *fname, TAO_OutStream::STREAM_TYPE st=TAO_OutStream::TAO_CLI_HDR); - // open the underlying low-level handle for output - - void stream_type (TAO_OutStream::STREAM_TYPE); - // set the stream type - - TAO_OutStream::STREAM_TYPE stream_type (void); - // return the stream type - - int incr_indent (unsigned short flag=1); - // increment the indentation level and by default actually indent the output - // accordingly - - int decr_indent (unsigned short flag=1); - // decrease the indentation level and by default actually indent the output - // accordingly - - int reset (void); - // reset indentation level to 0 - - int indent (void); - // indent starting next line - - int nl (void); - // put a newline and indent on the next line - - int print (const char *format, ...); - // "printf" style variable argument print - - int gen_ifdef_macro (const char *flatname, const char *suffix=0); - // generate a #if !defined, #defined macro - - int gen_endif (void); - // generate an endif statement - - // =overloaded operators - - TAO_OutStream &operator<< (const char *str); - // output the char string and return a reference to ourselves - - TAO_OutStream &operator<< (const long num); - // output the integer and return a reference to ourselves - - TAO_OutStream &operator<< (const TAO_NL nl); - // The following will be provided by specialized classes - - TAO_OutStream &operator<< (Identifier *id); - // output an Identifier node - - TAO_OutStream &operator<< (UTL_IdList *idl); - // output a scoped name - - TAO_OutStream &operator<< (AST_Expression *expr); - // output an AST_Expression node - - // provided by specialized classes - virtual TAO_OutStream &print (Identifier *id) = 0; - - virtual TAO_OutStream &print (UTL_IdList *idl) = 0; - - virtual TAO_OutStream &print (AST_Expression *idl) = 0; - -protected: - FILE *fp_; - // the underlying low-level I/O handle - - TAO_OutStream::STREAM_TYPE st_; - // stream type - - int indent_level_; - // indentation level - -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_interface.h b/TAO/TAO_IDL/be_include/be_interface.h deleted file mode 100644 index 2e997dc0685..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface.h +++ /dev/null @@ -1,106 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_INTERFACE_H) -#define TAO_BE_INTERFACE_H - -/* - * BE_Interface - */ -class be_interface : public virtual AST_Interface, - public virtual be_scope, - public virtual be_type -{ - // = TITLE - // The back end extension of the AST_Interface class - // - // = DESCRIPTION - // -public: - // Operations - be_interface (void); - // Default constructor - - be_interface (UTL_ScopedName *n, AST_Interface **ih, long nih, - UTL_StrList *p); - // Constructor that sets its scoped name <n>, a list of inherited interfaces - // <ih>, the number of inherited interfaces <nih>, and any prgmas <p> - - virtual int gen_client_header (void); - // Generates the client-side header information for the interface - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the interface - - virtual int gen_server_header (void); - // Generates the server-side header information for the interface - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the interface - - virtual int gen_client_inline (void); - // Generates the client-side inline for the interface - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the interface - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - const char *full_skel_name (void); - // retrieve the fully scoped skel class name - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS3 (be_interface, AST_Interface, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_interface); - DEF_NARROW_FROM_SCOPE (be_interface); - -private: - void compute_fullskelname (void); - // compute the fully scoped skel class name - - // helper methods for the C++ mapping process - int gen_operation_table (void); - - char *full_skel_name_; // fully scoped skeleton name -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_interface_fwd.h b/TAO/TAO_IDL/be_include/be_interface_fwd.h deleted file mode 100644 index 1453bfeb95d..00000000000 --- a/TAO/TAO_IDL/be_include/be_interface_fwd.h +++ /dev/null @@ -1,84 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_interface.h -// -// = DESCRIPTION -// Extension of class AST_Interface_Fwd that provides additional means for C++ -// mapping of an interface. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_INTERFACE_FWD_H) -#define BE_INTERFACE_FWD_H - -/* - * BE_InterfaceFwd - */ -class be_interface_fwd : public virtual AST_InterfaceFwd, - public virtual be_type -{ - // =TITLE - // be_interface_fwd - // =DESCRIPTION - // Extensions to the AST_Interface_Fwd class -public: - // Operations - - be_interface_fwd (void); - // default constructor - - be_interface_fwd (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the interface - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the interface - - virtual int gen_server_header (void); - // Generates the server-side header information for the interface - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the interface - - virtual int gen_client_inline (void); - // Generates the client-side inline for the interface - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the interface - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void); - // generate the typecode - - virtual long tc_size (void); - // return typecode size - - // Narrowing - DEF_NARROW_METHODS2 (be_interface_fwd, AST_InterfaceFwd, be_type); - DEF_NARROW_FROM_DECL (be_interface_fwd); -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_module.h b/TAO/TAO_IDL/be_include/be_module.h deleted file mode 100644 index b4089e066e5..00000000000 --- a/TAO/TAO_IDL/be_include/be_module.h +++ /dev/null @@ -1,65 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_module.h -// -// = DESCRIPTION -// Extension of class AST_Module that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (_BE_MODULE_H) -#define _BE_MODULE_H - -/* - * BE_Module - */ - -class be_module : public virtual AST_Module, - public virtual be_scope, - public virtual be_decl -{ -public: - // =Operations - - be_module (void); - // default constructor - - be_module (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the module - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the module - - virtual int gen_server_header (void); - // Generates the server-side header information for the module - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the module - - virtual int gen_client_inline (void); - // Generates the client-side inline for the module - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the module - - // Narrowing - DEF_NARROW_METHODS3 (be_module, AST_Module, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_module); - DEF_NARROW_FROM_SCOPE (be_module); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_operation.h b/TAO/TAO_IDL/be_include/be_operation.h deleted file mode 100644 index 64b449ea758..00000000000 --- a/TAO/TAO_IDL/be_include/be_operation.h +++ /dev/null @@ -1,64 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_operation.h -// -// = DESCRIPTION -// Extension of class AST_Operation that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_OPERATION_H) -#define BE_OPERATION_H - -/* - * BE_Operation - */ -class be_operation : public virtual AST_Operation, - public virtual be_scope, - public virtual be_decl -{ -public: - // =Operations - - be_operation (void); - // default constructor - - be_operation (AST_Type *rt, AST_Operation::Flags fl, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // generate client header - - virtual int gen_client_stubs (void); - // generate client side stubs - - virtual int gen_server_header (void); - // generate server header - - virtual int gen_server_skeletons (void); - // generate server skeletons - - virtual int gen_client_inline (void); - // Generates the client-side inline for the operation - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the operation - - // Narrowing - DEF_NARROW_METHODS3 (be_operation, AST_Operation, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_operation); - DEF_NARROW_FROM_SCOPE (be_operation); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_predefined_type.h b/TAO/TAO_IDL/be_include/be_predefined_type.h deleted file mode 100644 index b5235968184..00000000000 --- a/TAO/TAO_IDL/be_include/be_predefined_type.h +++ /dev/null @@ -1,83 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_predefined_type.h -// -// = DESCRIPTION -// Extension of class AST_PredefinedType that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (_BE_PREDEFINED_TYPE_H) -#define _BE_PREDEFINED_TYPE_H - -// be_classes.hh -// -// Defines all classes for dummy BE - -/* - * BE_PredefinedType - */ -class be_predefined_type : public virtual AST_PredefinedType, - public virtual be_type -{ -public: - // =Operations - - be_predefined_type (void); - // default constructor - - be_predefined_type (AST_PredefinedType::PredefinedType t, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the predefined type - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the predefined type - - virtual int gen_server_header (void); - // Generates the server-side header information for the predefined type - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the predefined type - - virtual int gen_client_inline (void); - // Generates the client-side inline for the predefined type - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the predefined type - - virtual int gen_typecode (void); - // generate the typecode - - virtual long tc_size (void); - // return typecode size - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_predefined_type, AST_PredefinedType, be_type); - DEF_NARROW_FROM_DECL (be_predefined_type); - -protected: - virtual void compute_tc_name (void); - // overridden method -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_root.h b/TAO/TAO_IDL/be_include/be_root.h deleted file mode 100644 index f1b16b8e22f..00000000000 --- a/TAO/TAO_IDL/be_include/be_root.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_root.h -// -// = DESCRIPTION -// Extension of class AST_Root that provides the backend -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_ROOT_H) -#define TAO_BE_ROOT_H - -class be_root : public virtual AST_Root, - public virtual be_scope, - public virtual be_decl -{ - // = TITLE - // The back end extension of the AST_Root class - // - // = DESCRIPTION - // -public: - // Operations - be_root (void); - // Default constructor - - be_root (UTL_ScopedName *n, UTL_StrList *p); - // Constructor that sets its scoped name <n>, and any pragmas <p> - - int gen_idl2cplusplus_mapping (void); - // generates the IDL to C++ mapping - - virtual int gen_client_header (void); - // Generates the client-side header information for the root - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the root - - virtual int gen_server_header (void); - // Generates the server-side header information for the root - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the root - - virtual int gen_client_inline (void); - // Generates the client-side inline for the root - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the root - - // =Scope management functions that override the AST scope management methods - // since the AST methods set the names of the sequences, strings, and arrays - // to a fixed value which interferes with our back-end code generation - AST_Sequence *fe_add_sequence (AST_Sequence *); - AST_String *fe_add_string (AST_String *); - AST_Array *fe_add_array (AST_Array *); - - // Narrowing - DEF_NARROW_METHODS3 (be_root, AST_Root, be_scope, be_decl); - DEF_NARROW_FROM_DECL (be_root); - DEF_NARROW_FROM_SCOPE (be_root); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_scope.h b/TAO/TAO_IDL/be_include/be_scope.h deleted file mode 100644 index d515264c238..00000000000 --- a/TAO/TAO_IDL/be_include/be_scope.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_scope.h -// -// = DESCRIPTION -// Extension of the UTL_Scope CFE class -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_SCOPE_H) -#define TAO_BE_SCOPE_H - -/* - * BE_Scope - */ -class be_scope : public virtual UTL_Scope -{ - // = TITLE - // be_scope - // = DESCRIPTION - // The back end extension of the UTL_Scope class - // -public: - // Operations - - be_scope (void); - // Default constructor - - be_scope (AST_Decl::NodeType nt); - // constructor that sets the node type - - virtual ~be_scope (void); - // destructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the scope - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the scope - - virtual int gen_server_header (void); - // Generates the server-side header information for the scope - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the scope - - virtual int gen_client_inline (void); - // Generates the client-side inline for the scope - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the scope - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS1 (be_scope, UTL_Scope); - DEF_NARROW_FROM_SCOPE (be_scope); -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_sequence.h b/TAO/TAO_IDL/be_include/be_sequence.h deleted file mode 100644 index ba95b7f41aa..00000000000 --- a/TAO/TAO_IDL/be_include/be_sequence.h +++ /dev/null @@ -1,106 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sequence.h -// -// = DESCRIPTION -// Extension of class AST_Sequence that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_SEQUENCE_H) -#define BE_SEQUENCE_H - -/* - * BE_Sequence - */ - -// A sequence in OMG IDL does not define a scoping construct just as a struct -// or union or an interface do. However, in the C++ mapping, a sequence becomes -// a class. If the base type of a sequence is another anonymous sequence, then -// the base type is defined in the scope of this sequence. Hence we define -// be_sequence to possess the additional characteristics of a scope -class be_sequence : public virtual AST_Sequence, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_sequence (void); - // default constructor - - be_sequence (AST_Expression *v, AST_Type *bt); - // constructor - - virtual int create_name (void); - // create a name for ourselves. If we are typedefed, then we get the name of - // the typedef node, else we generate a name for ourselves - - virtual int gen_client_header (void); - // Generates the client-side header information for the sequence - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the sequence - - virtual int gen_server_header (void); - // Generates the server-side header information for the sequence - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the sequence - - virtual int gen_client_inline (void); - // Generates the client-side inline for the sequence - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the sequence - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS3 (be_sequence, AST_Sequence, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_sequence); - -private: - void compute_scoped_name (void); - // for anonymous sequences, we compute our scoped name - - idl_bool unbounded_; - // whether we are bounded or unbounded - - be_sequence *seq_node_; - // if we enclose a sequence node -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_state.h b/TAO/TAO_IDL/be_include/be_state.h deleted file mode 100644 index 0a368967ae0..00000000000 --- a/TAO/TAO_IDL/be_include/be_state.h +++ /dev/null @@ -1,259 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_state.h -// -// = DESCRIPTION -// The Code generator state class and its subclasses -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_STATE_H) -#define TAO_BE_STATE_H - -class be_state -{ - // =TITLE - // be_state - // =DESCRIPTION - // Emits code based on current state. This is an abstract base class. The - // task of code generation is handled by subclasses. -public: - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0) = 0; - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef - - virtual ~be_state (void); - // destructor - -protected: - be_state (void); - // constructor -}; - -// ============== subclasses ==================== - -class be_state_struct_ch: public be_state -{ - // =TITLE - // be_state_struct_ch - // =DESCRIPTION - // struct generation in client header -public: - - be_state_struct_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_struct_ch, ACE_SYNCH_RECURSIVE_MUTEX> TAO_BE_STATE_STRUCT_CH; - -class be_state_union_disctypedefn_ch: public be_state -{ - // =TITLE - // be_state_union_disctypedefn_ch - // =DESCRIPTION - // union discriminant defn generation in client header -public: - - be_state_union_disctypedefn_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_union_disctypedefn_ch, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_UNION_DISCTYPEDEFN_CH; - -class be_state_union_disctypedefn_ci: public be_state -{ - // =TITLE - // be_state_union_disctypedefn_ci - // =DESCRIPTION - // union discriminant defn generation in client inline file -public: - - be_state_union_disctypedefn_ci (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_union_disctypedefn_ci, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_UNION_DISCTYPEDEFN_CI; - -class be_state_union_public_ch: public be_state -{ - // =TITLE - // be_state_union_public_ch - // =DESCRIPTION - // union discriminant defn generation in client header file -public: - - be_state_union_public_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_union_public_ch, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_UNION_PUBLIC_CH; - -class be_state_union_public_ci: public be_state -{ - // =TITLE - // be_state_union_public_ci - // =DESCRIPTION - // union discriminant defn generation in client inline file -public: - - be_state_union_public_ci (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_union_public_ci, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_UNION_PUBLIC_CI; - -class be_state_union_private_ch: public be_state -{ - // =TITLE - // be_state_union_private_ch - // =DESCRIPTION - // union discriminant defn generation in client header file -public: - - be_state_union_private_ch (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_union_private_ch, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_UNION_PRIVATE_CH; - -class be_state_operation: public be_state -{ - // =TITLE - // be_state_operation - // =DESCRIPTION - // operation return type -public: - - be_state_operation (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_operation, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_OPERATION; - -class be_state_argument: public be_state -{ - // =TITLE - // be_state_argument - // =DESCRIPTION - // argument return type -public: - - be_state_argument (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_argument, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_ARGUMENT; - -class be_state_typedef: public be_state -{ - // =TITLE - // be_state_typedef - // =DESCRIPTION - // typedef code generation -public: - - be_state_typedef (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_typedef, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_TYPEDEF; - -class be_state_array: public be_state -{ - // =TITLE - // be_state_array - // =DESCRIPTION - // array code generation -public: - - be_state_array (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_array, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_ARRAY; - -class be_state_sequence: public be_state -{ - // =TITLE - // be_state_sequence - // =DESCRIPTION - // sequence code generation -public: - - be_state_sequence (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third parameter is - // used for recursive invocation involving a typedef -}; -typedef ACE_Singleton<be_state_sequence, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_SEQUENCE; - -class be_state_attribute : public be_state -{ - // =TITLE - // be_state_attribute - // =DESCRIPTION - // attribute code generation -public: - be_state_attribute (void); - // constructor - - virtual int gen_code (be_type *bt, be_decl *d, be_type *type=0); - // code generation for node "d" whose type is "bt". The third - // parameter is used for recursive invocation involving a typedef -}; - -typedef ACE_Singleton<be_state_attribute, ACE_SYNCH_RECURSIVE_MUTEX> - TAO_BE_STATE_ATTRIBUTE; - -#endif /* end of be_state */ - diff --git a/TAO/TAO_IDL/be_include/be_string.h b/TAO/TAO_IDL/be_include/be_string.h deleted file mode 100644 index dfde950b1e3..00000000000 --- a/TAO/TAO_IDL/be_include/be_string.h +++ /dev/null @@ -1,80 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_string.h -// -// = DESCRIPTION -// Extension of class AST_String that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_STRING_H) -#define BE_STRING_H - -/* - * BE_String - */ -class be_string : public virtual AST_String, - public virtual be_type -{ -public: - // Operations - - be_string (void); - // default constructor - - be_string (AST_Expression *v); - // constructor - - be_string (AST_Expression *v, long wide); - // constructor - - virtual int gen_client_header (void); - // generate client header for string - - virtual int gen_client_stubs (void); - // generate client side stubs for string - - virtual int gen_server_header (void); - // generate server header for string - - virtual int gen_server_skeletons (void); - // generate server skeletons for string - - virtual int gen_client_inline (void); - // Generates the client-side inline for the string - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the string - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_string, AST_String, be_type); - DEF_NARROW_FROM_DECL (be_string); - -protected: - virtual void compute_tc_name (void); - // overridden method -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_structure.h b/TAO/TAO_IDL/be_include/be_structure.h deleted file mode 100644 index 295cb69a660..00000000000 --- a/TAO/TAO_IDL/be_include/be_structure.h +++ /dev/null @@ -1,100 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_structure.h -// -// = DESCRIPTION -// Extension of class AST_Structure that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_STRUCTURE_H) -#define BE_STRUCTURE_H - -/* - * BE_Structure - */ -class be_structure : public virtual AST_Structure, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_structure (void); - // default constructor - - be_structure (UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the struct - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the struct - - virtual int gen_server_header (void); - // Generates the server-side header information for the struct - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the struct - - virtual int gen_client_inline (void); - // Generates the client-side inline for the struct - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the struct - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - virtual int member_count (void); - // return the count of members - - // Narrowing - DEF_NARROW_METHODS3 (be_structure, AST_Structure, be_scope, be_type); - DEF_NARROW_FROM_DECL (be_structure); - DEF_NARROW_FROM_SCOPE (be_structure); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int member_count_; - // number of members -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_sunsoft.h b/TAO/TAO_IDL/be_include/be_sunsoft.h deleted file mode 100644 index 7dc6c512fe3..00000000000 --- a/TAO/TAO_IDL/be_include/be_sunsoft.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -*- c++ -*- */ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_sunsoft.h -// -// = DESCRIPTION -// SunSoft specific backend output generation -// -// = AUTHOR -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (TAO_BE_HELPER_H) -#define TAO_BE_HELPER_H - -class TAO_SunSoft_OutStream : public TAO_OutStream -{ - // =TITLE - // TAO_SunSoft_OutStream - // =DESCRIPTION - // Backend specific to SunSoft AST nodes -public: - TAO_SunSoft_OutStream (void); - // constructor - - ~TAO_SunSoft_OutStream (void); - // destuctor - - virtual TAO_OutStream &print (Identifier *id); - // output the SunSoft IDL Identifier Node - - virtual TAO_OutStream &print (UTL_IdList *idl); - // output the SunSoft IDL UTL_IdList Node which is usually used to maintain a - // scoped name - - virtual TAO_OutStream &print (AST_Expression *expr); - // output the contents of the AST_Expression node -}; - -#endif // if !defined diff --git a/TAO/TAO_IDL/be_include/be_type.h b/TAO/TAO_IDL/be_include/be_type.h deleted file mode 100644 index a4cc6b5b17c..00000000000 --- a/TAO/TAO_IDL/be_include/be_type.h +++ /dev/null @@ -1,95 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_type.h -// -// = DESCRIPTION -// Extension of class AST_Type that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_TYPE_H) -#define BE_TYPE_H - -/* - * BE_Type - */ -class be_type : public virtual AST_Type, - public virtual be_decl -{ -public: - // =Operations - - be_type (void); - // default constructor - - be_type (AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void) = 0; - // Generates the client-side header information for the type - - virtual int gen_client_stubs (void) = 0; - // Generates the client-side stubs for the type - - virtual int gen_server_header (void) = 0; - // Generates the server-side header information for the type - - virtual int gen_server_skeletons (void) = 0; - // Generates the server-side skeletons for the type - - virtual int gen_client_inline (void) = 0; - // Generates the client-side inline for the type - - virtual int gen_server_inline (void) = 0; - // Generates the server-side inlines for the type - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void) = 0; - // generate the typecode description - - virtual long tc_size (void) = 0; - // return typecode size - - UTL_ScopedName *tc_name (void); - // return the typecode name - - virtual char *nested_type_name (be_decl *d, char *suffix = 0); - // type name of a node used when generating declarations - - // Narrowing - DEF_NARROW_METHODS2 (be_type, AST_Type, be_decl); - DEF_NARROW_FROM_DECL (be_type); - -protected: - virtual void compute_tc_name (void); - // computes the fully scoped typecode name - - UTL_ScopedName *tc_name_; - // typecode name - - char *type_name_; - // type name (this uses the ACE NESTED macro) -}; - -#endif // end of if !defined diff --git a/TAO/TAO_IDL/be_include/be_typedef.h b/TAO/TAO_IDL/be_include/be_typedef.h deleted file mode 100644 index 2d446a81eac..00000000000 --- a/TAO/TAO_IDL/be_include/be_typedef.h +++ /dev/null @@ -1,78 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_typedef.h -// -// = DESCRIPTION -// Extension of class AST_typedef that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_TYPEDEF_H) -#define BE_TYPEDEF_H - -/* - * BE_Typedef - */ -class be_typedef : public virtual AST_Typedef, - public virtual be_type -{ -public: - // =Operations - - be_typedef (void); - // default constructor - - be_typedef (AST_Type *bt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - be_type *primitive_base_type (void); - // return the most primitive base type by traversing the chain of typedefed - // base types - - virtual int gen_client_header (void); - // Generates the client-side header information for the typedef - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the typedef - - virtual int gen_server_header (void); - // Generates the server-side header information for the typedef - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the typedef - - virtual int gen_client_inline (void); - // Generates the client-side inline for the typedef - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the typedef - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_typedef, AST_Typedef, be_type); - DEF_NARROW_FROM_DECL (be_typedef); - -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union.h b/TAO/TAO_IDL/be_include/be_union.h deleted file mode 100644 index 74bc6d46927..00000000000 --- a/TAO/TAO_IDL/be_include/be_union.h +++ /dev/null @@ -1,108 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union.h -// -// = DESCRIPTION -// Extension of class AST_Union that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_UNION_H) -#define BE_UNION_H - -/* - * BE_Union - */ -class be_union : public virtual AST_Union, - public virtual be_scope, - public virtual be_type -{ -public: - // =Operations - - be_union (void); - // default constructor - - be_union(AST_ConcreteType *dt, UTL_ScopedName *n, UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the union - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the union - - virtual int gen_server_header (void); - // Generates the server-side header information for the union - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the union - - virtual int gen_client_inline (void); - // Generates the client-side inline for the union - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the union - - virtual int gen_var_defn (void); - // generate the _var class definition - - virtual int gen_var_impl (void); - // generate the implementation for the _var class - - virtual int gen_out_defn (void); - // generate the _out class definition - - virtual int gen_out_impl (void); - // generate the _out implementation - - virtual int gen_typecode (void); - // generate the typecode - - virtual int gen_encapsulation (void); - // encapsulation for parameters - - virtual long tc_size (void); - // return typecode size - - virtual long tc_encap_len (void); - // return length of encapsulation - - virtual int member_count (void); - // return the count of members - - virtual int default_index (void); - // return the default index used - - // Narrowing - DEF_NARROW_METHODS3 (be_union, AST_Union, be_scope, be_type); - DEF_NARROW_FROM_DECL(be_union); - DEF_NARROW_FROM_SCOPE(be_union); - -private: - //=helper - - int compute_member_count (void); - // count the number of members - - int compute_default_index (void); - // count the default index - - int member_count_; - // number of members - - int default_index_; - // default label index (zero based indexing) -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union_branch.h b/TAO/TAO_IDL/be_include/be_union_branch.h deleted file mode 100644 index 81e512af36b..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_branch.h +++ /dev/null @@ -1,67 +0,0 @@ -// ============================================================================ -// -// = LIBRARY -// TAO IDL -// -// = FILENAME -// be_union_branch.h -// -// = DESCRIPTION -// Extension of class AST_UnionBranch that provides additional means for C++ -// mapping. -// -// = AUTHOR -// Copyright 1994-1995 by Sun Microsystems, Inc. -// and -// Aniruddha Gokhale -// -// ============================================================================ - -#if !defined (BE_UNION_BRANCH_H) -#define BE_UNION_BRANCH_H - -/* - * BE_UnionBranch - */ -class be_union_branch : public virtual AST_UnionBranch, - public virtual be_decl -{ -public: - // Operations - be_union_branch (void); - // default constructor - - be_union_branch (AST_UnionLabel *lab, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - // constructor - - virtual int gen_client_header (void); - // Generates the client-side header information for the union branch - - virtual int gen_client_stubs (void); - // Generates the client-side stubs for the union branch - - virtual int gen_server_header (void); - // Generates the server-side header information for the union branch - - virtual int gen_server_skeletons (void); - // Generates the server-side skeletons for the union branch - - virtual int gen_client_inline (void); - // Generates the client-side inline for the union branch - - virtual int gen_server_inline (void); - // Generates the server-side inlines for the union branch - - virtual int gen_encapsulation (void); - // generate the encapsulation - - virtual long tc_encap_len (void); - // return the total byte length of ourselves represented as an encapsulation - - // Narrowing - DEF_NARROW_METHODS2 (be_union_branch, AST_UnionBranch, be_decl); - DEF_NARROW_FROM_DECL (be_union_branch); -}; - -#endif diff --git a/TAO/TAO_IDL/be_include/be_union_label.h b/TAO/TAO_IDL/be_include/be_union_label.h deleted file mode 100644 index d52770af90d..00000000000 --- a/TAO/TAO_IDL/be_include/be_union_label.h +++ /dev/null @@ -1,14 +0,0 @@ -#if !defined(BE_UNION_LABEL_H) -#define BE_UNION_LABEL_H - -/* - * BE_UnionLabel - */ -class be_union_label : public virtual AST_UnionLabel { -public: - // Operations - be_union_label(); - be_union_label(AST_UnionLabel::UnionLabel ul, AST_Expression *v); -}; - -#endif diff --git a/TAO/TAO_IDL/docs/ANNOUNCEMENT b/TAO/TAO_IDL/docs/ANNOUNCEMENT deleted file mode 100644 index 870db6f6006..00000000000 --- a/TAO/TAO_IDL/docs/ANNOUNCEMENT +++ /dev/null @@ -1,131 +0,0 @@ -WHAT: - -SunSoft, Inc., Mountain View, California, has placed the source code to -Project DOE's Interface Definition Language (IDL) compiler front end -(CFE) on OMG's file server, making the implementation publicly -available. This release is identified by the version number 1.3. - -Project DOE is SunSoft's corporate-wide development effort to integrate -distributed object technology into the Solaris O/S. OMG (Object Management -Group) is the industry wide body formed to create specifications for -distributed object technology. It currently has more than 370 members. OMG -IDL is part of OMG's CORBA 1.1 specification and provides a standardized -way for defining object interfaces. OMG IDL forms the basis for distributed -object interactionin Project DOE. - -The SunSoft OMG IDL CFE provides a complete framework for building -CORBA 1.1-compliant preprocessors for OMG IDL. By using this standard -implementation, developers of OMG IDL compilers will save many months -of work and enhance the portability and interoperability of OMG -IDL-interfaced objects. - -The SunSoft OMG IDL CFE allows convenient and fast integration of new back -ends to the compiler. The release consists of a front end which converts -OMG IDL to an intermediate format, a compiler framework driver, an example -implementation of a compiler back end, and a set of protocols for -interaction between the front and back ends. The SunSoft OMG IDL CFE -parser uses components generated by yacc and lex. - -The SunSoft OMG IDL CFE is designed to allow easy extension of OMG IDL -without impacting existing back-end implementations. As the CORBA -specification evolves, any new updates to the IDE CFE will be placed -by SunSoft on the OMG server. - -This release provides a directory with many examples of OMG IDL -specifications to allow users to become familiar with the process of -writing OMG IDL code. - -For more information send email to idl-cfe@sun.com. - -HOW: - -The SunSoft OMG IDL CFE is available at no charge through anonymous FTP -in source form on the OMG file server, omg.org. Please retrieve the -file OMG_IDL_CFE_1.3.tar.Z from the directory pub/OMG_IDL_CFE_1.3. Please -let us know who you are if you retrieve the compiler front end using this -method, by sending email to idl-cfe@sun.com. - -You can also retrieve the software by using the OMG mail server program. -Send email with the subject 'help' to omg_idl@omg.org, and the mail server -will respond with instructions on how to retrieve the software. - -WHEN: - -The SunSoft OMG IDL CFE is available now. - -CONTACT: - -Please let us know who you are if you decide to use this software, and how -you use it. Please send email to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -We ask that if you make extensions or modifications to this source release, -please make these extensions available to others using the OMG IDL compiler -front end, by sending the modified sources to the above email address. This -will help us evaluate your extensions for inclusion in a future version. It -also ensures your investment in these extensions when new versions of the -CFE are released. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/BUG_REPORT b/TAO/TAO_IDL/docs/BUG_REPORT deleted file mode 100644 index 28c34ae141d..00000000000 --- a/TAO/TAO_IDL/docs/BUG_REPORT +++ /dev/null @@ -1,144 +0,0 @@ -OMG IDL COMPILER FRONT END PROBLEM REPORT FORM --============================================- - -Checklist: Did you: -- include configuration information? -- include compiler version number (use -V to obtain)? -- include script of run? -- include IDL file causing problem? -- make any changes to the CFE? If so, did you include a diff against - original version? - -PLEASE SEND THE COMPLETED BUG REPORT TO: idl-cfe@sun.com. - -THANK YOU FOR REPORTING THIS PROBLEM! THROUGH YOUR COLLABORATION, SUNSOFT -WILL BE ABLE TO IMPROVE THE FUNCTIONALITY OF THIS PRODUCT. RECEIPT OF BUG -REPORTS WILL BE ACKNOWLEDGED BUT NO OBLIGATION IS UNDERTAKEN BY SUNSOFT TO -CORRECT THE REPORTED PROBLEM. SEE YOUR COPYRIGHT AND LICENSE INFORMATION. - - -CONFIGURATION INFORMATION (describe your hardware platform, operating -system and which compilers you used to compile the CFE): - - - - - - -COMPILER VERSION INFORMATION (include output from idl -V here): - - - - - - - -PROBLEM DESCRIPTION (describe problem, include script if available): - - - - - - - - -IDL INPUT CAUSING PROBLEM (include IDL input causing problem): - - - - - - - - - -DID YOU MAKE ANY CHANGES TO THE CFE? [Y] _ [N] _ -IF YES, INCLUDE A DIF OF YOUR VERSION AGAINST ORIGINAL VERSION: - - - - - - - - - -PROPOSED FIX (if you believe you know the cause of the problem, please -include a proposed change to the software to correct it): - - - - - - - - -ANY OTHER RELEVANT INPUT (include here any other information you believe -may be relevant to the resolution of the problem you described): - - - - - - -PLEASE SEND THIS PROBLEM REPORT TO idl-cfe@sun.com. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/CHANGES b/TAO/TAO_IDL/docs/CHANGES deleted file mode 100644 index ae6fca7bcea..00000000000 --- a/TAO/TAO_IDL/docs/CHANGES +++ /dev/null @@ -1,122 +0,0 @@ -CHANGES WHICH AFFECT BE WRITERS --=============================- - -INTRODUCTION - -This file describes changes that affect BE writers. It contains IMPORTANT -INFORMATION for BE writers who wish to migrate a BE written to operate with -release 1.2 to operate with release 1.3. It is likely that not following -these instructions will result in a compilable but malfunctioning compiler. - -AST INHERITANCE CHANGES - -The AST has been reorganized so that AST_Union and AST_Exception now -inherit from AST_Structure. This means that constructors of BE classes -which inherit from AST_Union or AST_Exception now need to explicitly call -an initializer for AST_Structure in their init section. - -We repeat below the information given in the file WRITING_A_BE, in the -section entitled "WRITING A BE". - -AST_EXCEPTION - -The signature for constructors of classes inheriting from AST_Exception -should now be: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - -AST_UNION - -The signature for constructors of classes inheriting from AST_Union should -now be: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - -IDL_BOOL TYPE - -To increase portability and reduce dependency of the sources on POSIX -compliance in targets of ports, IDL now provides its own boolean type which -is named idl_bool. It provides two truth values, I_TRUE and I_FALSE. - -UTL_SCOPEDNAME TYPE - -The UTL_ScopedName type is now a list of Identifier nodes; in previous -releases it used to be a list of String nodes. If your BE constructs scoped -names this change will prevent recompilation until you modify your -constructor calls to invoke constructors for Identifier instead of for -String. The signature of the constructor is: - - Identifier::Identifier(char *, long x=1, long y=0, long z=I_FALSE) - -The additional arguments which can be defaulted to the values indicated are -included for future use. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/CLI b/TAO/TAO_IDL/docs/CLI deleted file mode 100644 index a61c2bae365..00000000000 --- a/TAO/TAO_IDL/docs/CLI +++ /dev/null @@ -1,187 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END: COMMAND LINE INTERFACE --==========================================================================- - -INTRODUCTION - -This document describes general OMG Interface Definition Language compiler -command line options. Options that are specific to a given back end, object -adapter or language are not described here. These should be described in a -document detailing the interface implemented by each specific back end. - -OMG INTERFACE DEFINITION LANGUAGE COMMAND LINE OPTIONS - -OMG Interface Definition Language compiler options are described below. -Unless otherwise noted, only one occurrence of each option is allowed. -The following conventions are used - -- Text in '[..]' is optional. -- Text followed by '*' can be repeated zero or more times. -- Text followed by '+' can be repeated once or more times. -- '{' and '}' are used to group text to cause '+' or '*' to apply to - the entire grouped text. -- 'aa|bb' means either 'aa' or 'bb'. - -COMMAND LINE SUMMARY - - idl [flag | file-name]* - -Flags are command line words that start with a '-'. All other command line -words are assumed to be file names. If no file names are given, input is -taken from stdin. - -COMMAND LINE FLAGS - --A[xyz] A local escape. This can be used to specify additional options that - are specific to a given implementation. More than one -A option is - allowed - --Dname[=value] - Defines name and an optional value to be passed to a compliant C++ - preprocessor, as if by #define. White space between the -D option - and the name is optional. More than one -D option is allowed. - --d If no parse errors were found, prints out a representation of the - IDL input to stderr. - --E Runs the C++ preprocessor on the OMG Interface Definition Language - input and sends the result to the standard output. - --Idirectory - Causes directory to be added to the search path for include files. - More than one -I option is allowed. This option is processed by a - compliant C++ preprocessor. - --Uname Undefines name, as if by #undef. White space between the -U option - and the name is optional. More than one -U option is allowed. - --V Causes the version information of the CFE to be displayed. No other - work is done, regardless of any other options. - --W[b|p][,arg]+ - Hands off the arguments supplied to a specific portion of the OMG - Interface Definition Language compiler: - - - -Wb arguments are handed to the loaded back end - - -Wp arguments are handed to a compliant C++ preprocessor - --Yp,pathname - Specifies an alternate path for finding a C++ compliant - preprocessor. Specifiers other than 'p' may be defined in future - versions of the CFE. More than one -Y option may appear. The last - one specifying each component takes effect. - - This option exists but currently does nothing. Instead, we use the - preprocessing facilities provided by invoking CC -E always. - --bback_end - Causes the CFE to use a different compiler back end than the - default one (if dynamic loading is supported). Legal values for - this option and the default value are implementation specific. - --u Prints a usage message from the CFE. All possible options are - shown. No other work is done regardless of any other options. - --v Causes the CFE to produce informational output as the various - phases of the compiler execute. - --w Suppresses IDL compiler warning messages. - - -WHITESPACE - -All option arguments may be separated from their option letter by -whitespace. For example, -D FOO is equivalent to -DFOO. - -UNKNOWN OPTIONS - -If an unknown option is passed to the CFE, the offending option is -displayed to the user together with a usage message, and no compilation is -performed. - -PASSING OPTIONS TO COMPILER PHASES - -The order in which options appear on the command line is preserved when -they are passed to various compiler phases. - -MUTUALLY EXCLUSIVE OPTION COMBINATIONS - -Mutually exclusive or ambiguous option combinations are resolved by using -the option that appears later on the command line. For example, - - -DFOO -UFOO - -has no effect and leaves FOO undefined for the preprocessor. - -OPTION SCOPE - -All options are in effect for the entire IDL compilation run. If multiple -IDL source file names are given on the command line, all options apply to -each file. If different IDL source files require different sets of options -for successfull compilation, they must be compiled separately. - -EXIT STATUS - -IDL Compilers exit with status equal to zero for successfull compilations. -If errors were found by the CFE, the exit status is a count of the errors. -The exit status for unsuccessfull compilations aborted by BEs is defined by -each BE. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/docs/COPYRIGHT b/TAO/TAO_IDL/docs/COPYRIGHT deleted file mode 100644 index 461ad949518..00000000000 --- a/TAO/TAO_IDL/docs/COPYRIGHT +++ /dev/null @@ -1,57 +0,0 @@ -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/INSTALL b/TAO/TAO_IDL/docs/INSTALL deleted file mode 100644 index 6fcaa710042..00000000000 --- a/TAO/TAO_IDL/docs/INSTALL +++ /dev/null @@ -1,229 +0,0 @@ -INTERFACE DEFINITION LANGUAGE INSTALLATION GUIDE --==============================================- - -INTRODUCTION - -This file describes the installation process for OMG_IDL_CFE version 1.3. -This file explains how to: - -- install the source code -- modify the sources to customize them for different configurations -- modify the sources to implement your own back end - -TESTED CONFIGURATIONS - -This release has been tested and is believed to operate correctly on: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -This is the first release of OMG IDL CFE which is preconfigured to compile -correctly for Solaris 2.x and with SunPro SparcWorks compilers. - -CUSTOMIZATION - -The release contains a file idl_make_vars in the current directory, which -is included in each Makefile. This file defines all the customizable -variables for the CFE. - -OSV should be set to a string denoting the operating system upon which you -wish to build the CFE. The CFE as shipped is preconfigured to compile -correctly on Solaris 2.x (OSV=SOLARIS2), and has also been tested on SunOS -4.1.x (OSV=SUNOS4). It contains code donated by HP which enables it to be -compiled on Apollo Domain systems (OSV=apollo) and HPUX systems (OSV=hpux), -but these two configurations have not been tested. - -C++ and CCC should be set to identify the C++ compiler you will use to -compile this release. Their values should be identical. Both are set to -address differences between various make programs - some predefine CCC, -others use C++ to denote the C++ compiler. The possible values are CC -(which uses the Sparcworks compilers on SunOS 4.1 and Solaris 2.3) and g++, -which uses the installed version of GNU C++. - -CCFLAGS should be set to a list of flags to pass to the C++ compiler. As -shipped, this list is -g. NOTE: We have not extensively tested the release -with optimization turned on. - -CPP_FLAGS should be set to a list of flags to pass to the C++ preprocessor. -Use this variable to enable or disable specific customizations you make to -the BE or CFE sources. - -YFLAGS should be set to a list of flags to pass to the Yacc program. As -shipped, the list is -d -t, which causes Yacc to generate y.tab.h and -y.tab.c files. - -LEXFLAGS should be set to a list of flags to pass to the Lex program. As -shipped, the list -t. - -RANLIB should be set to the location of the ranlib program on your system. -As shipped this is ranlib. If your system has no ranlib you can set this -variable to ':' or /bin/true. As shipped the variable is preset to -/bin/true since Solaris 2.x does not use ranlib. - -AR should be set to the location of the ar program on your system. As -shipped this is ar. If your system has a different mechanism for creating -libraries, you should modify the value of this variable accordingly. - -ARFLAGS should be set to the flags to be passed to the ar program. As -shipped this is 'crv'. - -INSTALLATION - -a. Disk space requirements - -This distribution requires approximately 350 KBytes when compressed. When -uncompressed, untarred and compiled, approximately 10 MBytes of disk space -are consumed on a Sun 4. - -b. Getting the software - -Use anonymous FTP to omg.org and supply your e-mail address as password. -Change directories to pub/OMG_IDL_CFE_1.3, set bin and get the compressed -tar file OMG_IDL_CFE_1.3.tar.Z. - -The distribution may, in the future, be made available from other archives -on the Internet. However, omg.org will always have the most up-to-date -version of this software. - -After transferring this file, uncompress it and untar it in a directory of -your choice. - -c. Compiling it - -If you are using a Sparcstation running Solaris 2.x and have the SunPro -Sparcworks compilers installed, you may directly install the software. If -your hardware or operating system configurations are different, read and -follow the instructions in the previous section first. - -At the root directory of the release, issue - - % make - -or - - % make all - -This will compile the provided sources and the sources found in the be -directory. Executing this make target causes 'make all' to be invoked in -each subdirectory, resulting in building the libraries for each component -and finally a link step producing an executable IDL compiler. - -In order to make only the compiler front end components, without compiling -the sources found in the be directory and without building an executable, -issue - - % make libs - -This will build the libraries in the ast, fe, util, driver and narrow -directories. To build only the be, issue - - % make be - -To build all libraries without creating an executable, issue - - % make all_libs - -To remove all files created by the build process, issue - - % make clean - -This will not remove any files created by Yacc and Lex, because you may be -using the ones provided in the distribution (see below). - -d. Yacc and Lex - -Some installations may not have a C++ aware Yacc and Lex processor. For -these installations, we have included the output of yacc and lex in the -release. If you need to use these files to build the release because you -don't have access to a C++ capable Yacc or Lex, go to the "fe" directory, -issue the command: - - % touch lex.yy.cc y.tab.cc y.tab.hh - -This will ensure that the processed files appear to be newer than the -source files they were produced from and will cause "make" to skip their -production. - -NOTE: The files provided in the distribution have been produced on Solaris -2.3 and may contain OS-specific #include directives. If you intend to use -these files, you may have to edit them to make them work in your -environment. The provided files are known to compile cleanly without -modification with both SunPro Sparcworks compilers and GNU C++ on both -SunOS 4.1 and Solaris 2.3. We have not tested the grammar and lexer input -files with bison or flex. - -IMPLEMENTING A BACK END - -To implement your own back end, you can start with the provided sources in -the be directory and modify them. The Makefile understands the 'make all' -target and will generate libbe.a in the demo_be directory. As set up, the -variable CPP_FLAGS allows you to place include files either in the current -directory or in the include directory. Alternatively, you can place your -include files in a new directory and modify CPP_FLAGS to cause the C++ -preprocessor to search this new directory for referenced include files, by -adding a new -I directive. - -Additional detail on the structure and function of back ends, and on the -protocol which a back end must implement, are found in the document -entitled WRITING_A_BE. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/PROBLEMS b/TAO/TAO_IDL/docs/PROBLEMS deleted file mode 100644 index 65cfb6a1893..00000000000 --- a/TAO/TAO_IDL/docs/PROBLEMS +++ /dev/null @@ -1,132 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END: KNOWN PROBLEMS --==================================================================- - -INTRODUCTION - -This file describes what configurations are known to work correctly with -this release, and what are the known problems with this release as shipped. -Comments about future possible enhancements do not imply a commitment on -the part of Sun or any of its subsidiaries to produce these enhancements. - -TESTED CONFIGURATIONS - -This release has been tested and is known to operate correctly on: - -- Sparcstation 2 running SunOS 4.1.2, when compiled with SparcWorks 3.0 -- Sparcstation 10 running Solaris 2.3, when compiled with SparcWorks 3.0.1 -- Sparcstation 10 running Solaris 2.3, when compiled with SparcWorks 4.0 - -We are aware of a bug in GNU C++ (the latest version we tested was 2.5) -which causes up-casting (changing the type of an instance from a base class -to a more derived class, also known as "narrowing") to fail or cause a -program crash. - -PROBLEMS: - -This is a list of known problems with the current version of the CFE: - -- The following syntax, although legal, is not accepted by the CFE: - - .. sequence <string <10>> .. - - This causes a parse error. The cause of this problem is that the '>>' is - read as a right shif operater and not as two '>'s. You can avoid this - problem by instead writing - - .. sequence <string <10> > .. - -- The following syntax, although legal, is not accepted by the CFE: - - const string foo = "abc" " and" " another" " string"; - - Instead, write: - - const string foo = "abc and another string"; - -- The printout produced by the -d option for dumping the AST is not always - perfect. Specifically, dumping of sequences and arrays is deficient. - -POSSIBLE FUTURE ENHANCEMENTS: - -This is a list of areas in which the code of the CFE may change in future -releases: - -- The current release is restricted in its use of C++ because it must - be possible to compile it using C++ 2.1. However, we have also provided - files that depend on features which are only present in C++ 3.0, such as - templates. If your compiler supports templates and you wish to use them, - copy the files in include/utl_tmpl to include, and copy the files in - util/utl_tmpl to util. You will also need to make compiler dependent - modifications to Makefiles throughout the CFE directory hierarchy to - enable the use of templates. - - The code using templates was donated by Steve Vinoski of HP. - - In a future release of the CFE only the template code may be included, - and hence users will need to use a C++ 3.0 or higher compiler. - -- The UTL_list classes defined in the util directory are rudimentary. More - features may be added to make the functionality richer. - -- The UTL_String class may be rewritten or replaced by a standard ANSI C++ - String implementation. Applications will be shielded from this change. - -COPYRIGHT: - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/README b/TAO/TAO_IDL/docs/README deleted file mode 100644 index 6d73554acce..00000000000 --- a/TAO/TAO_IDL/docs/README +++ /dev/null @@ -1,233 +0,0 @@ -INTERFACE DEFINITION LANGUAGE COMPILER FRONT END --==============================================- - -INTRODUCTION - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! This is Release 1.3 of the CFE. - -The Interface Definition Language (IDL) implementation is divided into -three parts: - -- A main program for driving the compilation process -- A parser and attendant utilities -- One or more back ends (BEs) for taking the processed input and producing - output in a target language and target format - -WARNINGS - -This is a preliminary version. This software is made available AS IS and -WITH NO GUARANTEES. Please read the copyright notice attached at the -bottom of this file. - -IMPORTANT NOTICE FOR USERS OF OMG IDL CFE VERSION 1.2. - -Please carefully read the file CHANGES to obtain IMPORTANT INFORMATION on -changes in that may affect the manner in which a BE is constructed. You -must follow instructions contained in the file CHANGES to obtain a -functional BE if you are migrating an existing BE from OMG IDL CFE v. 1.2. - -TARGET AUDIENCE - -Who should use this release? - -- You can use this source release to create a stand alone parser for OMG - Interface Definition Language. This may be useful to verify the legality - of IDL input. -- Developers of OMG Interface Definition Language compilers should use this - release as a basis for writing their back ends, to obtain a common - framework for their compiler and to provide portable and uniform - parsing of IDL input. - -HOW TO OBTAIN THIS SOFTWARE - -Please use anonymous FTP to omg.org and supply your e-mail address as the -password. Then change directories to pub/OMG_IDL_CFE_1.3, set binary transfer -and get the file OMG_IDL_CFE_1.3.TAR.Z. This file includes copies of all -individual documentation files in the directory. - -Precompiled binaries constructed from the sources in this release will be -made available shortly, in the directory pub/OMG_IDL_CFE_1.3/bin. These -binaries are useful for parsing IDL source and for learning about the -language. Precompiled binaries for Solaris 2.x and for SunOS 4.x will be -provided. - -You can also use the mail server program to retrieve this software. Send -email with the subject 'help' to omg_idl@omg.org, and the mail server will -respond with instructions on how to retrieve the software. - -Copies of this software may be made available from archives other than -omg.org. New versions made available by Sun will be placed on omg.org and a -message will be sent to this newsgroup announcing its availability. - -Finally, the SunSoft OMG IDL CFE is also available on magnetic tape for a -nominal media charge directly from SunSoft. Please refer to part number -DIDL-100-STP when ordering. - -CONTACT POINT - -Please let us know who you are if you decide to use this software, and how -you use it. Please send e-mail to: - - idl-cfe@sun.com - -This address can also be used to report problems, bugs, suggestions and -send general comments. - -WHAT IS PROVIDED IN THE RELEASE - -Provided in this release are: - -- A main program for driving an Interface Definition Language compiler -- A parser for the Interface Definition Language grammar which builds an - internal representation of the input parsed. This internal - representation, named an Abstract Syntax Tree (AST), is used as input to - a back end -- Some utility functions used by the parser -- A demonstration back end (BE) which exercises the front end but produces - no translated output -- Documentation of the public interfaces and of the contract between - the compiler front end and a back end - -OPERATION - -A complete compiler operates in two passes: - -- The first pass, provided in this release, parses the IDL input and - produces an internal representation, called an Abstract Syntax Tree (AST). - This pass also does a complete syntax and semantics check of the input - provided to ensure that exactly legal IDL input is accepted. If a syntax - or semantic error is discovered, the second pass is not invoked. -- The second pass, provided by compiler developers, takes the AST and - produces output in the language and format of choice. A demonstration - back end is provided in the release. - -HOW TO USE THIS SOFTWARE - -To create a complete compiler from OMG Interface Definition Language to a -target language, compiler developers will: - -- Write a back end (BE) to take the internal representation of the input - parsed and translate it to the target language and format. You will - probably want to replace the BE directory in this source tree with your - own BE directory -- Link the BE with the sources provided here to produce a complete - compiler. - -DOCUMENTATION - -The OMG Interface Definition Language is fully described in the CORBA -documentation, Chapter 4. This document may be obtained from OMG. - -This release also provides the following documents: - -- This README file, describing the release -- INSTALL, describing installation of the software -- WRITING_A_BE contains all the information needed to start writing a back - end for this distribution -- CHANGES_IN_AST describes changes that affect migration of BEs written - against version 1.2 to version 1.3. -- CLI, describing the command line interface to the CFE -- ROADMAP, describing the directory structure for the source code. This - file will assist a developer in understanding the structure of the code - and navigating it -- PROBLEMS, describing a list of issues that may be addressed in future - releases -- BUG_REPORT, containing a form for use in reporting bugs and problems - with the IDL CFE - -ENVIRONMENT - -The INSTALL file explains how to customize the software for specific -platforms. The source distribution expects the following environment: - -- Sparcstation 1, 2, or 10 hardware -- SunPro SparcWorks 3.x or 4.0 - -As preconfigured, it compiles on Solaris 2.x. It can be reconfigured to -compile on SunOS 4.x, HPUX or Apollo Domain OS. As far as is known, no use -is made of Sun Make-specific features, and the Makefiles should be usable -with other make programs. - -This release has been tested and is believed to operate correctly with: -- SunPro Sparcworks 2.x and 3.0 on SunOS 4.1.x -- SunPro Sparcworks 2.x and 3.0 on Solaris 2.3 -- g++ 2.5.8 on SunOS 4.1.x -- g++ 2.5.8 on Solaris 2.3 - -INSTALLATION - -This release is targetted for Sun workstations running Solaris 2.x. The -process of installing this software is described in detail in the file -INSTALL in this directory. The INSTALL file also describes how to customize -the release for your own environment if it is different. - -KNOWN PROBLEMS - -A list of known deficiencies is provided in the file PROBLEMS in this -directory. If you find a problem which is not mentioned in it, please -report it as described below. Please read this file now to be apprised of -the problems found so far with this release. - -COPYRIGHT - -This copyright notice appears on all files. Please read it! - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/ROADMAP b/TAO/TAO_IDL/docs/ROADMAP deleted file mode 100644 index 5da0d83823c..00000000000 --- a/TAO/TAO_IDL/docs/ROADMAP +++ /dev/null @@ -1,126 +0,0 @@ -INTERFACE DEFINITION LANGUAGE SOURCE TREE ROADMAP --===============================================- - -INTRODUCTION - -This file provides an overview of the directory structure of the sources -for the compiler front end for OMG Interface Definition Language. This will -be of use in understanding the source structure and will aid developers of -BEs. - -DIRECTORIES - -The following directories are present: - -- idl_specs: Contains many examples of IDL specifications, including the - IDL specifications of several Object Services, and several - files that somewhat exhaustively test features of the IDL - language -- include: Contains all include (".hh") files -- ast: Contains implementations for all classes comprising - the AST internal representation of the input parsed -- fe: Contains the Yacc grammar and Lex specification for - the OMG Interface Definition Language, and some utilities -- driver: Contains the main program which drives the compilation - process -- util: Contains utility classes used throughout the CFE. These - classes may also be of use in writing a BE -- narrow: Contains an implementation of a narrowing mechanism used - in the CFE. Since C++ does not provide compiler support - for narrowing, this is provided as an explicit service -- demo_be: Contains a demonstration back end which subclasses all - the AST classes but adds no functionality - -NAMING CONVENTIONS - -The file names start with two or three characters identifying the component -to which they belong: - -- idl_: This is the prefix for all files which contain global - elements of the CFE -- ast_: This is the prefix for all files containing implementations - or definitions of the AST -- fe_: This is the prefix for all files belonging to the parser -- drv_: This is the prefix for all files belonging to the compiler - driver -- utl_: This prefix is used to identify files belonging to the set of - utlities provided with the CFE -- nr_: This prefix identifies files belonging to the narrowing mechanim -- be_: This is the prefix for all files belonging to the back end - -All C++ files use the ".cc" extension, and all include files have the ".hh" -extension. All make files are named Makefile. Each directory contains a -make file. Lex input files have the ".ll" extension, and Yacc input files -use the ".yy" extension. All files containing IDL specifications have a -name ending with the ".idl" suffix. - -INCLUDE FILE HIERARCHY - -There are two main include files which must be included in all source -files. These are idl.hh and idl_extern.hh. The idl.hh file includes the -definitions for all the facilities provided by the CFE. The idl_extern.hh -file declares globally accessible data and exported application programmer -interface entry points. - -Each component has an include file for its own. Back end writers will want -to modify be.hh and possibly be_extern.hh. - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. diff --git a/TAO/TAO_IDL/docs/WRITING_A_BE b/TAO/TAO_IDL/docs/WRITING_A_BE deleted file mode 100644 index 5c3c069f7a1..00000000000 --- a/TAO/TAO_IDL/docs/WRITING_A_BE +++ /dev/null @@ -1,1350 +0,0 @@ -OMG INTERFACE DEFINITION LANGUAGE COMPILER FRONT END PROTOCOLS -============================================================== - -INTRODUCTION ------------- - -Welcome to the publicly available source release of SunSoft's -implementation of the compiler front end (CFE) for OMG Interface Definition -Language! - -This document explains how to use the release to create a fully functional -OMG Interface Definition Language to target language compiler for your -selected target system configuration. The section OVERVIEW explains this -document's structure. - -CONTEXT -------- - -The implementation has three parts: - -1. A main program driving the compilation process -2. A parser and attendant utilities for converting the IDL input into - an internal form -3. One or more back ends which take as input the internal form representing - the IDL input, and which produce output in a target language and target - format - -The release contains components 1 and 2, and a demonstration implementation -of component 3. To use this release, you - -- write a back end which takes the internal representation of the parsed input - and translates it to the target language and format. You may replace or - modify the demonstration back end provided. -- link the back end with the provided main program and parser sources - to produce a complete compiler. - -OVERVIEW --------- - -This document does not explain IDL nor does it introduce IDL features. -For this information, refer to the OMG CORBA specification, available by -anonymous FTP from omg.org. - -This document does not explain C++, except to demonstrate how it is -used to construct the CFE. The ARM by Stroustrup and Ellis provides a -thorough explanation of C++. - -This document consists of two independent parts. The first part -s all CFE supported protocols and the required -application programmer's interface entry points that a conformant -BE must provide. The second part steps through the process of -constructing a working BE. - -The first part describes: - -- The compilation process -- The Abstract Syntax Tree (AST) internal representation of parsed IDL - input -- How access to member data fields is managed -- How the AST is generated from the IDL input (Generator protocol) -- How definition scopes are nested and how name lookup works -- The narrowing mechanism -- How definition scopes are managed and how nodes are added to scopes -- How BEs get control during the AST construction process (Add protocol) -- The inheritance scheme used by the AST and how it affects BEs -- How errors are handled and reported -- How the CFE is initialized -- How the command line arguments are parsed -- What global variables and functions are provided -- What API is required to be supported by a BE in order to link - with the CFE -- What files must be included in each BE file - -The second part describes - -- The API to be supplied by each BE -- How to subclass from the AST to add BE specific functionality -- How to subclass from the Generator protocol to create BE specific - extended AST nodes -- How to write constructors for the derived BE classes -- How to use the Add protocol to store BE specific information -- How to maintain BE specific information which applies to the entire - AST generated from the IDL input -- How to use data members in your BE -- How to build a complete compiler - -PART I. FEATURES OF THE CFE --=========================- - -THE COMPILATION PROCESS ------------------------ - -The OMG IDL compiler operates as follows: - -- Parses command line arguments. If an option is directed at a - BE, an appropriate operation provided by the BE is invoked to process - the option. -- Performs global initialization. -- Forks a copy of the compiler for each file specified as input. -- An ANSI-compatible preprocessor preprocesses the IDL input. -- Parses the file using the CFE parser, and constructs an AST describing the - IDL input. -- Prints the AST for verification, if requested. -- Invokes the BE to process the AST and produce the output - characteristic of that BE. - -ABSTRACT SYNTAX TREE --------------------- - -The AST (Abstract Syntax Tree) is the primary mechanism for communication -between a BE and the CFE. It consists of a tree of instances of classes -defined in the CFE or refinements of those classes as defined in a BE. -The class hierarchy of the AST closely resembles the structure of the IDL -syntax. Most AST classes have direct equivalents in IDL constructs. - -The UTL_Scope class defines common functionality for definition scope -management and name lookup. This is explained in a following section. -UTL_Scope is defined in include/utl_scope.hh and implemented in -util/utl_scope.cc. - -The AST provides the following classes: - -AST_Decl Base of the AST class hierarchy. Each class in the AST - inherits from AST_Decl. Defined in include/ast_decl.hh - and implemented in ast/ast_decl.cc - -AST_Type Common base class for all classes which represent IDL - type constructs. Defined in include/ast_type.hh and - implemented in ast/ast_type.cc. Inherits from AST_Decl. - -AST_ConcreteType Common base class for all classes which represent IDL - types other than interfaces. Defined in the file - include/ast_concrete_type.hh and implemented in - ast/ast_concrete_type.cc. Inherits from AST_Type. - -AST_PredefinedType Instances of this class represent all predefined types - such as long, char and so forth. Defined in the file - include/ast_predefined_type.hh and implemented in - ast/ast_predefined_type.cc. Inherits from - AST_ConcreteType. - -AST_Module Represents the IDL module construct. Defined in the - file include/ast_module.hh and implemented in - ast/ast_module.cc. Inherits from AST_Decl and - UTL_Scope. - -AST_Root Represents the root of the abstract syntax tree being - constructed. Is a subclass of AST_Module. Can be - subclassed in BEs to store information associated with - the entire AST. Defined in the file include/ast_root.hh - and implemented in ast/ast_root.cc. Inherits from - AST_Module. - -AST_Interface Represents the IDL interface construct. Defined in - include/ast_interface.hh and implemented in the file - ast/ast_interface.cc. Inherits from AST_Type and - UTL_Scope. - -AST_InterfaceFwd Represents a forward declaration of an IDL interface. - Defined in include/ast_interface_fwd.hh and implemented - in ast/ast_interface_fwd.cc. Inherits from AST_Decl. - -AST_Attribute Represents an IDL attribute construct. Defined in - include/ast_attribute.hh and implemented in the file - ast/ast_attribute.cc. Inherits from AST_Decl. - -AST_Exception Represents an IDL exception construct. Defined in - include/ast_exception.hh and implemented in the file - ast/ast_exception.cc. Inherits from AST_Decl. - -AST_Structure Represents an IDL struct construct. Defined in the file - include/ast_structure.hh and implemented in the file - ast/ast_structure.cc. Inherits from AST_ConcreteType - and UTL_Scope. - -AST_Field Represents a field in an IDL struct or exception - construct. Defined in include/ast_field.hh and - implemented in ast/ast_field.cc. Inherits from - AST_Decl. - -AST_Operation Represents an IDL operation construct. Defined in the - file include/ast_operation.hh and implemented in - ast/ast_operation.cc. Inherits from AST_Decl and - UTL_Scope. - -AST_Argument Represents an argument to an IDL operation construct. - Defined in include/ast_argument.hh and implemented in - ast/ast_argument.cc. Inherits from AST_Field. - -AST_Union Represents an IDL union construct. Defined in - include/ast_union.hh and implemented in - ast/ast_union.cc. Inherits from AST_ConcreteType and - from UTL_Scope. - -AST_UnionBranch Represents an individual branch in an IDL union - construct. Defined in include/ast_union_branch.hh and - implemented in ast/ast_union_branch.cc. Inherits from - AST_Field. - -AST_UnionLabel Represents the label of an individual branch in an IDL - union construct. Defined in include/ast_union_label.hh - and implemented in ast/ast_union_label.cc - -AST_Constant Represents an IDL constant construct. Defined in - include/ast_constant.hh and implemented in the file - ast/ast_constant.cc. Inherits from AST_Decl. - -AST_Enum Represents an IDL enum construct. Defined in the file - include/ast_enum.hh and implemented in ast/ast_enum.cc. - Inherits from AST_ConcreteType and UTL_Scope. - -AST_EnumVal Represents an enumerator in an IDL enum construct. - Defined in include/ast_enum_val.hh and implemented in - ast/ast_enum_val.cc. Inherits from AST_Constant. - -AST_Sequence Represents an IDL sequence construct. Defined in - include/ast_sequence.hh and implemented in - ast/ast_sequence.cc. Inherits from AST_Decl. - -AST_String Represents an IDL string construct. Defined in the file - include/ast_string.hh and implemented in - ast/ast_string.cc. Inherits from AST_Decl. - -AST_Array Represents an array modifier to the type of an IDL - field or typedef declaration. Defined in the file - include/ast_array.hh and implemented in - ast/ast_array.cc. Inherits from AST_Decl. - -AST_Typedef Represents an IDL typedef construct. Defined in the file - include/ast_typedef.hh and implemented in - ast/ast_typedef.cc. Inherits from AST_Decl. - -AST_Expression Represents an IDL expression. Defined in the file - include/ast_expression.hh and implemented in - ast/ast_expression.cc. - -AST_Root A subclass of AST_Module, an instance of this class - is used to represent the distinguished root node of - the AST. Defined in include/ast_root.hh and implemented - in ast/ast_root.cc. Inherits from AST_Module. - - -USING INSTANCE DATA -------------------- - -The AST classes define member data fields in addition to defining -operations on instances. These member data fields are all private, to allow -only the instance in which they are stored direct access. Other objects -(including other instances of the same class) can obtain access to the -member data fields of an instance through accessor functions. These -accessor functions allow retrieval of the data, and in some cases update -functions are also provided to store new values. - -There are several reasons why this approach is taken. First, it hides the -actual implementation of the member data fields from outside the class. For -example, a Thermometer class would not expose whether its temperature -reading is stored in Farenheit or Celsius units, and it could allow access -through either unit method. - -Second, protecting access to member data in this manner restricts the -ability to update it to the instance itself, save where update functions -are explicitly provided. This makes for more reliable implementations, -since the manipulation of the data is isolated in the class implementation -itself. - -Third, wrapping a function call around access to member data allows such -access and update operations to be protected in a multithreaded -environment. While the CFE itself is not multithreaded and the access -operations as currently defined do no special work to protect against -mutliple conflicting access operations, this may be changed in a future -version. Moving the CFE to a multithreaded environment without protecting -access to member data in this manner would be extremely difficult. - -The protocol defined in the CFE is that member data fields are all private -and have names which start with the prefix "pd_" (denoting Private Data). -The access functions have names which are the same as the name of the field -sans the prefix. For example, AST_Decl has a field pd_defined_in and an -access function defined_in(). - -The update functions have names starting with "set_" followed by the name -of the corresponding access function. Thus, AST_Decl defines a function -set_in_main_file(boolean) which sets the pd_in_main_file data member's -value to the boolean provided. - -GENERATION OF THE AST ---------------------- - -The CFE generates the abstract syntax tree after parsing IDL -input. The nodes of the AST are defined by classes introduced in the -previous section, or by subclasses thereof as defined by each BE. In -writing the CFE, we were faced with the following problem: how to generate -the AST containing nodes of the derived classes as defined in each BE -without knowledge of the types and conventions of these BE classes. - -One alternative was to define a naming scheme which predetermines the names -of each subclass a BE can define. The AST would then be generated by -calling an appropriate constructor on the BE derived class. This scheme -suffers from some shortcomings: - -- It breaks the modularity of the compiler and imports knowledge about - types defined in a BE into the CFE, where this information does not belong. -- It restricts a compiler to having only one BE loaded at a time because the - names of these classes can be in use in only one BE at a time. -- It requires a BE to provide derived classes for all AST classes, even for - those classes where the BE adds no functionality. - -The mechanism we chose is different. We define the AST_Generator class -which has an operation for each constructor defined on each AST class. The -operation takes arguments appropriate to the constructor, invokes it and -returns the created AST node, using the type known to the CFE. All such -operations on the generator are declared virtual. The names of all -operations start with "create_" and contain the name of the construct. -Thus, an operation which invokes a constructor of an AST_Module is named -create_module. AST_Generator is defined in include/ast_generator.hh and -implemented in ast/ast_generator.cc. - -If a BE derives from any AST class, it must also derive from the -AST_Generator class and redefine the relevant operations to invoke -constructors of the BE provided class instead of the AST provided class. -For example, if BE_Module is a subclass of AST_Module in a BE, the BE would -also define BE_Generator and redefine create_module to call the constructor -of BE_Module instead of that provided by AST_Module. - -During initialization, the CFE causes an instance of the BE derived -generator to be created and saved. This is explained in the section on -REQUIRED ENTRY POINTS SUPPLIED BY A BE. During parsing, actions in the Yacc -grammar invoke operations on the saved instance to create new nodes for the -AST as it is being built. These operations invoke constructors for BE -derived classes or for AST provided classes if they were not overridden. - -DEFINITION SCOPES ------------------ - -IDL is a nested scoped language. The scoping rules are defined by the CORBA -spec and closely follow those of C++. - -Scope management is implemented in two classes provided in the utilities -library, UTL_Scope and UTL_Stack. UTL_Scope manages associations between -names and AST nodes, and UTL_Stack manages scope nesting and entry and exit -from definition scopes as the parse is proceeding. UTL_Scope is defined in -include/utl_scope.hh and implemented in util/utl_scope.cc. UTL_Stack is -defined in include/utl_stack.hh and implemented in util/utl_stack.cc. - -During initialization, the CFE creates an instance of UTL_Stack and saves -it. During parsing, as definition scopes are entered and exited, AST nodes -are pushed onto, or popped from, the stack represented by the saved -instances. Nodes on the stack are stored as instances of UTL_Scope. Section -THE NARROWING MECHANISM explains how to obtain the real type of a node -retrieved from the stack. - -All definition scopes are linked in a tree rooted in the distinguished AST -root node. This linkage is implemented by UTL_Scope and AST_Decl. The -linkage is a permanent record of the scope nesting while the stack is a -dynamic record which at each instant represents the current state of the -parse. - -The nesting information is used to do name lookup. IDL uses scoped names -which are concatenations of definition scope names ending with individual -construct names. For example, in - - interface a { - struct b { - long c; - }; - const long k = 23; - struct s { - long ar[k]; - }; - }; - -the name a::b::c represents the long field in the struct b inside the -interface a. - -Lookup is performed by searching down the linkage chain for the first component -of the name, then, when found, recursively resolving the remaining -components in the scope defined by the first component. Lookup is relative -to the scope of use; in the above example, k could also have been referred to -as a::k within the struct s. - -Nodes are stored in a definition scope as instances of AST_Decl. Thus, name -lookup returns instances of AST_Decl. The next section, THE NARROWING -MECHANISM, explains how to obtain the real type of a node retrieved from a -definition scope. - -THE NARROWING MECHANISM ------------------------ - -Here we give only a cursory explanation of how narrowing works. We -concentrate on defining the problem and showing how to use our narrowing -mechanism. The narrowing mechanism is defined in include/idl_narrow.hh. - -As explained above, nodes are stored on the scope stack as instances of -UTL_Scope, and inside definition scopes as instances of AST_Decl. Also, -nodes are linked in a nesting tree as instances of AST_Decl. Given a node -retrieved from the stack or a definition scope, one is faced with the task -of obtaining its real class. C++ does not currently provide an implicit -mechanism for narrowing to a derived class, so the CFE defines its own -mechanism. This mechanism requires some work on your part as BE implementor -and requires some explicit code to be written when it is to be used. - -The class AST_Decl defines an enum whose members encode specific AST node -classes. AST_Decl provides an accessor function, node_type(), which -retrieves a member of the enum representing the AST type of the node. Thus, -if an instance of AST_Decl really is an instance of AST_Module, the -node_type() accessor returns AST_Decl::NT_module. - -The class UTL_Scope also provides an accessor function, scope_node_type(), -which returns a member of the enum encoding the actual type of the node. -Thus, given an UTL_Scope instance which is really an instance of -AST_Operation, scope_node_type() would return AST_Decl::NT_op. - -Perusing the header files for classes provided by the AST, you will note -the use of some macros defined in include/idl_narrow.hh. These macros -define the explicit narrowing mechanism: - -DEF_NARROW_METHODSx(<class name>,<parent_x>) for x equal to 0,1,2 or 3, -defines a narrowing method for the specified class which has 0,1,2 or 3 -immediate base classes from which it inherits. For example, ast_module.hh -which defines AST_Module contains the following line: - - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) - -This is because AST_Module inherits directly from AST_Decl and UTL_Scope. - -DEF_NARROW_FROM_DECL(<class name>) appears in class definitions for classes -which are derived from AST_Decl and which can be stored in a definition -scope. This macro declares a static operation narrow_from_decl(AST_Decl *) -on the class in which it appears. The operation returns the provided -instance as an instance of <class name> if it can be narrowed, or NULL. - -DEF_NARROW_FROM_SCOPE(<class name>) appears in class definitions of classes -which are derived from UTL_Scope and which can be stored on the scope -stack. This macro declares a static operation narrow_from_scope(UTL_Scope *) -on the class in which it appears. The operation returns the provided -instance as an instance of <class name> if it can be narrowed, or NULL. - -Now look in the files implementing these classes. You will note occurrences -of the following macros: - -IMPL_NARROW_METHODSx(<class name>,<parent_x>) for x equal to 0,1,2 or 3, -implements a narrowing method for the specified class which has 0,1,2 or 3 -immediate base classes from which it inherits. For example, ast_module.cc -which implements AST_Module contains the following line: - - IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) - -IMPL_NARROW_FROM_DECL(<class name>) implements a method to narrow from an -instance of AST_Decl to an instance of <class name> as defined above. - -IMPL_NARROW_FROM_SCOPE(<class name>) implements a method to narrow from an -instance of UTL_Scope to an instance of <class name> as defined above. - -To put it all together: In the file ast_module.hh, you will find: - - // Narrowing - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Module); - DEF_NARROW_FROM_SCOPE(AST_Module); - -In the file ast_module.cc, you will see: - -/* - * Narrowing methods - */ -IMPL_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope) -IMPL_NARROW_FROM_DECL(AST_Module) -IMPL_NARROW_FROM_SCOPE(AST_Module) - -The CFE uses narrowing internally to obtain the correct type of nodes in -the AST. The CFE contains many code fragments such as the following: - - AST_Decl *d = get_an_AST_Decl_from_somewhere(); - AST_Module *m; - ... - if (d->node_type() == AST_Decl::NT_module) { - m = AST_Module::narrow(d); - if (m == NULL) { // Narrow failed - ... - } else { // Success, do normal processing - ... - } - } - ... - -Similar code implements narrowing instances of UTL_Scope to their actual -types. - -In your BE classes which derive from UTL_Scope you must include a line -defining how to narrow from a scope, so: - - DEF_NARROW_FROM_SCOPE(<your BE class>) - -and similarly for your BE classes which derive from AST_Decl. - -The narrowing mechanism is defined only for narrowing from AST_Decl and -UTL_Scope. If your BE class inherits directly from one or more classes -which themselves are derived from AST_Decl and/or UTL_Scope, you must -include a line - - DEF_NARROW_METHODSx(<your class name>,<parent 1>,<parent 2>) - -To make this concrete, here is what you'd write in a definition of BE_union -which inherits from AST_Union: - - DEF_NARROW_METHODS1(BE_Union, AST_Union); - DEF_NARROW_FROM_DECL(BE_Union); - DEF_NARROW_FROM_SCOPE(BE_Union); - -and in the implementation file of BE_Union: - -/* - * Narrowing methods: - */ -IMPL_NARROW_METHODS1(BE_Union, AST_Union) -IMPL_NARROW_FROM_DECL(BE_Union) -IMPL_NARROW_FROM_SCOPE(BE_Union) - -Then, in BE code which expects to see an instance of your derived BE_Union -class, you will write: - - AST_Decl *d = get_an_AST_Decl_from_somewhere(); - BE_Union *u; - ... - if (d->node_type() == AST_Decl::NT_union) { - u = BE_Union::narrow_from_decl(d); - if (u == NULL) { // Narrow failed - ... - } else { // Success, do normal processing - ... - } - } - ... - - -SCOPE MANAGEMENT ----------------- - -Instances of classes which are derived from UTL_Scope implement definition -scopes. A definition scope can contain any kind of AST node as long as it -is derived from AST_Decl. However, specific kinds of definition scopes such -as interfaces and unions can contain only a restricted subset of all AST -node types. - -UTL_Scope provides operations to add instances of each AST provided class -to a definition scope. The names of these operations are constructed by -prepending the string "add_" to the name of the IDL construct. So, to add -an interface to a definition scope, invoke the operation add_interface. -The operations are all defined virtual and are intended to be overridden in -classes derived from UTL_Scope. - -If the node was successfully added to the definition scope, the node is -returned as the result. Otherwise the node is not added to the definition -scope and NULL is returned. - -All add operation implementations in UTL_Scope return NULL. Thus, -only the operations which implement legal additions to a specific kind of -definition scope must be overridden in the implementation of that -definition scope. For example, in AST_Module the add_interface operation is -overridden to add the provided instance of AST_Interface to the scope and -to return the provided instance if the addition was successful. Operations -which were not overridden return NULL to indicate that the addition is -illegal in this context. For example, in AST_Operation the definition of -add_interface is not overridden since it is illegal to store an interface -inside an operation definition scope. - -The add operations are invoked in the actions in the Yacc grammar. The -following fragment is a representative example of code using the add -operations: - - AST_Constant *d = construct_a_new_constant(); - ... - if (current_scope->add_constant(d) == NULL) { // Failed - ... - } else { // Succeeded - ... - } - -BE INTERACTION DURING THE PARSING PROCESS ------------------------------------------ - -The add operations can be overridden in BE derived classes to let the BE -perform additional house-keeping work during the process of constructing -the AST. For example, a BE could keep separate lists of interfaces as they -are being added to a module. - -If you override an add operation in your BE, you must invoke the overridden -operation in the superclass of your derived class to allow the CFE to -perform its own house-keeping tasks. A good rule is to invoke the operation -on the superclass before you do your own processing; then, if the -superclass operation returns NULL, this indicates that the addition failed -and your own code should immediately return NULL. An example explains this: - -AST_Interface * -BE_Module::add_interface(AST_Interface *i) -{ - if (AST_Module::add_interface(i) == NULL) // Failed, bail out! - return NULL; - ... // Do your own work here - return i; // Return success indication -} - -We strongly advise you to only define add operations that override add -operations provided by the AST classes. Add operations which -do not override equivalent operations in the AST in effect -extend the semantics of the language accepted by the compiler. For -example, the CFE does not have an add_interface operation on -AST_Operation. If you were to define one in your BE_Operation class, -the resulting compiler would allow an interface to be -stored in an operation definition scope. The current CORBA specification -does not allow this. - -AST INHERITANCE SCHEME ----------------------- - -The AST classes all use public virtual inheritance to construct the -inheritance tree. This ensures that a class may appear several times in the -inheritance tree through different paths and the derived class's instances -will have only one copy of the inherited class's data. - -The use of public virtual inheritance has several important effects on how -a BE is constructed. We explain those effects below. - -First, you must define a default constructor for your BE class, since -your class may be used as a virtual base class of some other class. In this -case the compiler may want to call a default constructor for your class. It -is a good idea to have a default constructor anyway, even if you do not -plan to subclass your BE class, since for most C++ compilers this causes -the code to be smaller. Your default constructor should initialize all -constant data members. Additionally, it may initialize any non-constant -data member whose value must be set before the first time the instance is -used. - -Second, the constructor of your BE derived class must explicitly call all -constructors of virtual base classes which perform useful work. For -example, if a class in the AST from which your BE class inherits has an -initializer for a data member, you must call that constructor. This rule is -discussed in detail in the C++ ARM. An example may help here. - -Suppose you define a class BE_attribute which inherits from AST_Attribute. -Its constructor should be as follows: - - BE_Attribute::BE_Attribute(boolean ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute(ro, ft, n, p), - AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p) - { - } - -The calls to the constructors of AST_Attribute, AST_Field and AST_Decl are -needed because these constructors do useful initializations on their -classes. - -Note that there is some redundancy in the data passed to these -constructors. We chose to preserve this redundancy since it should be -possible to create BEs which subclass only some of the classes supplied by -the AST. This means that the constructors on each class provided by the AST -should take arguments which are sufficient to construct the instance if -the AST class is the most derived one. - -The code supplied with this release contains a demonstration BE which -subclasses all the AST provided classes. The constructors for each class -provided by the BE are found in the file be/be_classes.cc. - -INITIALIZATION --------------- - -The following steps take place at initialization: - -- The global data instance is created, stored in idl_global and filled with - default values (in driver/drv_init.cc). -- The command line arguments are parsed (in driver/drv_args.cc). -- For each IDL input file, a copy of the compiler process is forked (in - driver/drv_fork.cc). -- The IDL input is preprocessed (in driver/drv_preproc.cc). -- FE initialization stage 1 is done: the scopes stack is created and stored - in the global data variable idl_global->scopes() field (in fe/fe_init.cc). -- BE_init is called to create the generator instance and the returned - instance is stored in the global data variable idl_global->gen() field. -- FE initialization stage 2 is done: the global scope is created, pushed on - the scopes stack and populated with predefined types (in fe/fe_init.cc). - -GLOBAL STATE AND ENTRY POINTS ------------------------------ - -The CFE has one global variable named idl_global, which stores an instance -of a class IDL_GlobalData as explained below: - -The CFE defines a class IDL_GlobalData which defines the global -information used in a specific run of the compiler. IDL_GlobalData is -defined in include/idl_global.hh and implemented in the file -util/utl_global.cc. - -Initialization creates an instance of this class and stores it in the value -of the global variable idl_global. Thus, the individual pieces of -information stored in the instance are accessible everywhere. - -ERROR HANDLING --------------- - -All error handling is defined by a class provided by the CFE, UTL_Error. -This class is defined in include/utl_error.hh and implemented in the file -util/utl_error.cc. The class provides several methods for reporting -specific errors as well as generic error reporting methods taking zero to -three arguments. - -The CFE instantiates the class and stores the instance as part of the -global state, accessible as idl_global->err(). Thus, to cause an error -report, you would write code similar to the following: - - if (error condition found) - idl_global->err()->specific_error_message(arg1, ..); - -or - - if (error condition found) - idl_global->err()->generic_error_message(flag, arg1, ..); - -The flag argument is one of the predefined error conditions found in the -enum at the head of the UTL_Error class definition. The arguments to the -specific error message routine are defined by the signature of that -routine. The arguments to a generic error message routine are always -instances of AST_Decl. - -The running count of errors is accessible as idl_global->err_count(). If -the value returned by this operation is non-zero after the IDL input has -been parsed, the BE is not invoked. - -HANDLING OF COMMAND LINE ARGUMENTS ----------------------------------- - -Defined command line arguments are specified in the document CLI, in this -directory. The CFE calls the required BE API entry point BE_prep_arg to -process arguments passed within a -Wb flag. - -REQUIRED ENTRY POINTS SUPPLIED BY A BE --------------------------------------- - -The following API entry points must be supplied by a BE in order to -successfully link with the CFE: - -extern "C" AST_Generator *BE_init(); - - Creates an instance of the generator object and returns it. Note - that the global scope is not yet set up and the scopes stack is - empty when this routine is called. - -extern "C" void BE_produce(); - - Called by the compiler main program after the IDL input has been - successfully parsed and processed. The job of this routine is to - carry out the specific function of the BE. The AST is accessible as - the value of idl_global->root(). - -extern "C" void BE_prep_arg(char *, idl_bool); - - Called to process an argument passed in with a -Wb flag. The boolean - will always be FALSE. - -extern "C" void BE_abort(); - - Called when the CFE decides to abort the compilation. Can be used in - a BE to clean up after itself, e.g. remove temporary files or - directories it created while the parse was in progress. - -extern "C" void BE_version(); - - Called when a -V argument is processed. This should produce a - message for the user identifying the BE that is loaded and its - version information. - -PART II. WRITING A BACK END --=========================- - -REQUIRED API THAT EACH BE MUST SUPPORT --------------------------------------- - -Below are the API entry points that each BE must supply in order to use the -CFE framework. This is a repeat of the BE API section: - -extern "C" AST_Generator *BE_init(); - - Creates an instance of the generator object and returns it. Note - that the scopes stack is still not set up at the time this routine - is called. - -extern "C" void BE_produce(); - - Called by the compiler main program after the IDL input has been - successfully parsed and processed. The job of this routine is to - carry out the specific function of the BE. The AST is accessible as - the value of idl_global->root(). - -extern "C" void BE_prep_arg(char *, boolean); - - Called to process an argument passed in with a -Wb flag. The boolean - will always be FALSE. - -extern "C" void BE_abort(); - - Called when the CFE decides to abort the compilation. Can be used in - a BE to clean up after itself, e.g. remove temporary files or - directories it created while the parse was in progress. - -extern "C" void BE_version(); - - Called when a -V argument is processed. This should produce a - message for the user identifying the BE that is loaded and its - version information. - -WHAT FILES TO INCLUDE ---------------------- - -To use the CFE, each implementation file of your BE must include the -following two header files: - -#include <idl.hh> -#include <idl_extern.hh> - -Following this, you can include any header files needed by your BE. - -HOW TO SUBCLASS THE AST ------------------------ - -Your BE may subclass from any of the classes provided by the AST. Your -class should use public virtual inheritance to ensure that only one copy of -the class's data members is present in each instance. Read the section on -HOW TO WRITE CONSTRUCTORS to learn about additional considerations that you -must take into account when writing constructors for your BE classes. - -HOW TO SUBCLASS THE GENERATOR TO CREATE BE ENHANCED AST NODES -------------------------------------------------------------- - -Your BE subclasses from classes provided by the AST. To ensure that -instances of these classes are constructed when the AST is built, you must -also subclass AST_Generator and return an instance of your subclass from -the call to BE_init. - -The AST_Generator class provides operations to create instances of all -classes defined in the AST. For example, the operation to create an -AST_Attribute node is as follows: - - AST_Attribute * - AST_Generator::create_attribute(...) - { - return new AST_Attribute(...); - } - -In your BE_Generator subclass of AST_Generator, you will override methods -for creation of nodes of all AST classes which you have subclassed. Thus, -if your BE has a class BE_Attribute which is a subclass of AST_Attribute, -your BE_Generator class definition has to override the create_attribute -method to ensure that instances of BE_Attribute are created. - -The definition of the overriden operations should call the constructor of -the derived class and return the new node as an instance of the inherited -class. Thus, the implementation of create_attribute is as follows: - - AST_Attribute * - BE_Generator::create_attribute(...) - { - return new BE_Attribute(...); - } - -The Yacc grammar actions call create_xxx operations on the generator -instance stored in the global variable idl_global->gen() field. By storing -an instance of your derived generator class BE_Generator you ensure that -instances of the BE classes you defined will be created. - -HOW TO WRITE CONSTRUCTORS FOR BE CLASSES ----------------------------------------- - -As mentioned above, the AST uses public virtual inheritance to derive the -AST class hierarchy. This has two important effects on how you write a BE, -specifically how you write constructors for derived BE classes. - -First, you must define a default constructor for your BE class, since -your class may be used as a virtual base class of some other class. In that -case the compiler may want to call a default constructor for your class. It -is a good idea to have a default constructor anyway, even if you do not -plan to subclass your BE class, since for most C++ compilers this causes -the code to be smaller. Your default constructor should initialize all -constant data members. Additionally, it may initialize any non-constant -data member whose value must be set before the first time the instance is -used. - -Second, the constructor for your BE class must explicitly call all -constructors of virtual base classes which do some useful work. For -example, if a class in the AST from which your BE class inherits, directly -or indirectly, has an initializer for a data member, your BE class's -constructor must call the AST class's constructor. This is discussed -extensively in the C++ ARM. - -Below is a list showing how to write constructors for subclasses of each -class provided by the BE. For each AST class we show a definition of a -constructor for a derived class which calls all neccessary constructors on -AST classes: - -AST_Argument: - - BE_Argument::BE_Argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Argument(d, ft, n, p), - AST_Field(AST_Decl::NT_argument, ft, n, p), - AST_Decl(AST_Decl::NT_argument, n, p) - { - } - -AST_Array: - - BE_Array::BE_Array(UTL_ScopedName *n, - unsigned long nd, - UTL_ExprList *ds) - : AST_Array(n, nd, ds), - AST_Decl(AST_Decl::NT_array, n, NULL) - - { - } - -AST_Attribute: - - BE_Attribute::BE_Attribute(boolean ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Attribute(ro, ft, n, p), - AST_Field(AST_Decl::NT_attr, ft, n, p), - AST_Decl(AST_Decl::NT_attr, n, p) - { - } - -AST_ConcreteType: - - BE_ConcreteType::BE_ConcreteType(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Constant: - - BE_Constant::BE_Constant(AST_Expression::ExprType t, - AST_Expression *v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Constant(t, v, n, p), - AST_Decl(AST_Decl::NT_const, n, p) - { - } - -AST_Decl: - - BE_Decl::BE_Decl(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Enum: - - BE_Enum::BE_Enum(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Enum(n, p), - AST_Decl(AST_Decl::NT_enum, n, p), - UTL_Scope(AST_Decl::NT_enum) - { - } - -AST_EnumVal: - - BE_EnumVal::BE_EnumVal(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_EnumVal(v, n, p), - AST_Constant(AST_Expression::EV_ulong, - AST_Decl::NT_enum_val, - new AST_Expression(v), - n, - p), - AST_Decl(AST_Decl::NT_enum_val, n, p) - { - } - -AST_Exception: - - BE_Exception::BE_Exception(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_except, n, p), - AST_Structure(AST_Decl::NT_except, n, p), - UTL_Scope(AST_Decl::NT_except) - { - } - -AST_Field: - - BE_Field::BE_Field(AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_field, n, p) - { - } - -AST_Interface: - - BE_Interface::BE_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p) - : AST_Interface(n, ih, nih, p), - AST_Decl(AST_Decl::NT_interface, n, p), - UTL_Scope(AST_Decl::NT_interface) - { - } - -AST_InterfaceFwd: - - BE_InterfaceFwd::BE_InterfaceFwd(UTL_ScopedName *n, - UTL_StrList *p) - : AST_InterfaceFwd(n, p), - AST_Decl(AST_Decl::NT_interface_fwd, n, p) - { - } - -AST_Module: - - BE_Module::BE_Module(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) - { - } - -AST_Operation: - - BE_Operation::BE_Operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Operation(rt, fl, n, p), - AST_Decl(AST_Decl::NT_op, n, p), - UTL_Scope(AST_Decl::NT_op) - { - } - -AST_PredefinedType: - - BE_PredefinedType::BE_PredefinedType( - AST_PredefinedType::PredefinedType *pt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_PredefinedType(pt, n, p), - AST_Decl(AST_Decl::NT_pre_defined, n, p) - { - } - -AST_Root: - - BE_Root::BE_Root(UTL_ScopedName *n, UTL_StrList *p) - : AST_Module(n, p), - AST_Decl(AST_Decl::NT_module, n, p), - UTL_Scope(AST_Decl::NT_module) - { - } - - -AST_Sequence: - - BE_Sequence::BE_Sequence(AST_Expression *ms, AST_Type *bt) - : AST_Sequence(ms, bt), - AST_Decl(AST_Decl::NT_sequence, - new UTL_ScopedName(new String("sequence"), NULL), - NULL) - { - } - -AST_String: - - BE_String::BE_String(AST_Expression *ms) - : AST_String(ms), - AST_Decl(AST_Decl::NT_string, - new UTL_ScopedName(new String("string"), NULL), - NULL) - { - } - -AST_Structure: - - BE_Structure::BE_Structure(UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(AST_Decl::NT_struct, n, p), - UTL_Scope(AST_Decl::NT_struct) - { - } - -AST_Type: - - BE_Type::BE_Type(AST_Decl::NodeType nt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Decl(nt, n, p) - { - } - -AST_Typedef: - - BE_Typedef::BE_Typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Typedef(bt, n, p), - AST_Decl(AST_Decl::NT_typedef, n, p) - { - } - -AST_Union: - - BE_Union::BE_Union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_Union(dt, n, p), - AST_Structure(AST_Decl::NT_union, n, p), - AST_Decl(AST_Decl::NT_union, n, p), - UTL_Scope(AST_Decl::NT_union) - { - } - -AST_UnionBranch: - - BE_UnionBranch::BE_UnionBranch(AST_UnionLabel *fl, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p) - : AST_UnionBranch(fl, ft, n, p), - AST_Field(ft, n, p), - AST_Decl(AST_Decl::NT_union_branch, n, p) - { - } - -AST_UnionLabel: - - BE_UnionLabel::BE_UnionLabel(AST_UnionLabel::UnionLabel lk, - AST_Expression *lv) - : AST_UnionLabel(lk, lv) - { - } - -HOW TO USE THE ADD PROTOCOL ---------------------------- - -As explained the section SCOPE MANAGEMENT, the CFE manages scopes by -calling type-specific functions to add new nodes to the scope to be -augmented. These functions can be overridden in your BE classes to do work -specific to your BE class. For example, in a BE_module class, you might -override add_interface to do additional work. - -The protocol defined by the "add_" functions is that they return NULL to -indicate failure. They return the node that was added (and which was given -as an argument) if the operation succeeded. Your functions in your BE class -should follow the same protocol. - -The "add_" functions defined in the BE must call the overridden function in -the base class defind in the CFE in order for the CFE scope management -mechanism to work. Otherwise, the CFE does not get an opportunity to -augment its scopes with the new node to be added. It is good practice to -call the overridden "add_" function as the first action in your BE -function, because the success or failure of the CFE operation indicates -whether your function should complete its task or abort early. - -Here is an example. Suppose you have defined a class BE_module which -inherits from AST_Module. You may wish to override the add_interface -function as follows: - - class BE_Module : public virtual AST_Module - { - .... - /* - * ADD protocol - */ - virtual AST_Interface *add_interface(AST_Interface *); - ... - }; - -The implementation of this function would look something like the following: - - AST_Interface * - BE_Module::add_interface(AST_Interface *new_in) - { - /* - * Check that the CFE operation succeeds. If it returns - * NULL, stop any further work - */ - if (AST_Module::add_interface(new_in) == NULL) - return NULL; - /* - * OK, non-NULL, this means the BE can do its own work here - */ - ... - /* - * Finally, don't forget to return the argument to indicate - * success - */ - return new_in; - } - -HOW TO MAINTAIN BE SPECIFIC INFORMATION ---------------------------------------- - -The CFE provides a special class AST_Root, a subclass of AST_Module. An -instance of the AST_Root class is used as the distinguished root of the -abstract syntax tree built during a parse. - -Your BE can subclass BE_Root from AST_Root and override the create_root -operation in your BE_Generator class derived from AST_Generator. This will -cause the CFE to create an instance of your BE_Root class as the root of -the tree being constructed. - -You can use the instance of the BE_Root class as a convenient place to -store information specific to an individual tree. For example, you could -add operations on the BE_Root class to count how many nodes of each class -are created. - -HOW TO USE MEMBER DATA ----------------------- - -As explained above, the AST classes provide access and update functions for -manipulating data members. Your BE classes must use these functions when -they require access to data members defined in the AST classes, since the -data members themselves are private. - -It is good practice to follow the same scheme in your BE classes. Make all -data members private. Prepend the names of all such fields with "pd_". -Define access functions with names equal to the name of the field without the -prefix. Define update functions according to need by prepending the name of -the access function with the prefix "set_". - -Using these techniques will allow your BE to enjoy the same benefits that -are imparted onto the CFE. Your BE will be easier to move to a -multithreaded environment and its data members will be better protected and -hidden. - -HOW TO BUILD A COMPLETE COMPILER --------------------------------- - -We now have all information needed to write a BE and to link it in with the -CFE, to produce a complete IDL compiler. - -The following assumes that your BE will be stored in the "be" directory -under the "release" directory. See the document ROADMAP for an explanation -of the directory structure of the source release. If you decide to use a -different directory to store your BE, you may have to modify the CPP_FLAGS in -"idl_make_vars" in the top-level directory to allow your BE to find the -include files it needs. You will also need to modify several targets in -the Makefile in the top-level directory to correctly compile your BE into a -library and to correctly link it in with the CFE to produce a complete -compiler. - -You can get started quickly on writing your BE by modifying the sources -found in the "demo_be" directory. The Makefile supports all the the targets -that are needed to build a complete system and the maintenance target -"clean" which assists in keeping the files and directories tidy. The files -provided in the "demo_be" directory also provide all the API entry points -that are mandated by this document. - -To build a complete compiler, invoke "make" or "make all" in the top-level -directory. This will compile your BE and all the CFE sources, if this is -the first invocation. On subsequent invocations this will recompile only -the modified files. You will rarely if at all modify the CFE sources, so -the overhead of compiling the CFE is incurred only the first time. To build -just your BE, you can invoke "make all" or "make" in the "demo_be" -directory. You can also, from the top-level directory, invoke "make -demo_be/libbe.a". - -HOW TO OBTAIN ASSISTANCE ------------------------- - -First, read all the documents provided. If you have unanswered questions, -mail them to - - idl-cfe@sun.com - -Sun does not promise to support the IDL CFE source release in any manner. -However, we will attempt to answer questions and correct problems as time -allows. - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - -COPYRIGHT NOTICE ----------------- - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 diff --git a/TAO/TAO_IDL/driver/Makefile b/TAO/TAO_IDL/driver/Makefile deleted file mode 100644 index 9eb9c4c5675..00000000000 --- a/TAO/TAO_IDL/driver/Makefile +++ /dev/null @@ -1,263 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libdrv -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libdrv -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -DRIVER_FILES = \ - drv_init \ - drv_private \ - drv_main \ - drv_args \ - drv_fork \ - drv_link \ - drv_preproc - -FILES = $(DRIVER_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -# Need the following. But we should be able to handle this using ACE's functionality -OSV = SOLARIS2 -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) -D$(OSV) - -$(LOBJS): $(LHDRS) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -drv_init.o: drv_init.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h ../include/drv_link.h -drv_private.o: drv_private.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h -drv_main.o: drv_main.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h ../include/drv_link.h -drv_args.o: drv_args.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h ../include/drv_link.h -drv_fork.o: drv_fork.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h -drv_link.o: drv_link.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h ../include/drv_link.h -drv_preproc.o: drv_preproc.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/drv_private.h ../include/drv_link.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/driver/drv_args.cpp b/TAO/TAO_IDL/driver/drv_args.cpp deleted file mode 100644 index bd26d593f4b..00000000000 --- a/TAO/TAO_IDL/driver/drv_args.cpp +++ /dev/null @@ -1,271 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// drv_args.c - Argument parsing for IDL compiler main driver - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -#include <stdio.h> - -/* - * Push a file into the list of files to be processed - */ -static void -DRV_push_file(char *s) -{ - DRV_files[DRV_nfiles++] = s; -} - -/* - * Prepare a CPP argument - */ -static void -DRV_prep_cpp_arg(char *s) -{ - char *newarg = new char[512]; - char *farg; - - newarg[0] = '\0'; - for (farg = strtok(s, ","); farg != NULL; farg = strtok(NULL, ",")) - strcat(newarg,farg); - DRV_cpp_putarg(newarg); -} - -/* - * Print a usage message and exit - */ -void -DRV_usage() -{ - cerr << idl_global->prog_name() - << GTDEVEL(": usage: ") - << idl_global->prog_name() - << GTDEVEL(" [flag | file]*\n"); - cerr << GTDEVEL("Legal flags:\n"); - cerr << GTDEVEL(" -A...\t\t\tlocal implementation-specific escape\n"); - cerr << GTDEVEL(" -Dname[=value]\t\tdefines name for preprocessor\n"); - cerr << GTDEVEL(" -E\t\t\truns preprocessor only, prints on stdout\n"); - cerr << GTDEVEL(" -Idir\t\t\tincludes dir in search path for preprocessor\n"); - cerr << GTDEVEL(" -Uname\t\t\tundefines name for preprocessor\n"); - cerr << GTDEVEL(" -V\t\t\tprints version info then exits\n"); - cerr << GTDEVEL(" -W[p|b],arg1,argn\tpasses args to preprocessor or BE\n"); - cerr << GTDEVEL(" -Yp,path\t\tdefines location of preprocessor\n"); - cerr << GTDEVEL(" -bback_end\t\tcauses specified back end to be used\n"); - cerr << GTDEVEL(" -u\t\t\tprints usage message and exits\n"); - cerr << GTDEVEL(" -v\t\t\ttraces compilation stages\n"); - cerr << GTDEVEL(" -w\t\t\tsuppresses IDL compiler warning messages\n"); -} - -/* - * Parse arguments on command line - */ -void -DRV_parse_args(long ac, char **av) -{ - char *buffer; - char *s; - long i; - - DRV_cpp_init(); - idl_global->set_prog_name(av[0]); - for (i = 1; i < ac; i++) { - if (av[i][0] == '-') { - switch (av[i][1]) { - case 0: - DRV_push_file("standard input"); - break; - case 'A': - if (av[i][2] == '\0') { - if (i < ac - 1) { - i++; - s = av[i]; - } else - exit(99); - } else - s = av[i] + 2; - strcat(idl_global->local_escapes(), s); - strcat(idl_global->local_escapes(), " "); - break; - case 'D': - case 'U': - case 'I': - if (av[i][2] == '\0') { - if (i < ac - 1) { - buffer = new char[strlen(av[i]) + strlen(av[i + 1]) + 2]; - sprintf(buffer, "%s%s", av[i], av[i+1]); - DRV_cpp_putarg(buffer); - i++; - } else { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - exit(99); - } - } else - DRV_cpp_putarg(av[i]); - break; - case 'E': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_ONLY_PREPROC); - break; - case 'V': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_VERSION); - break; - case 'W': - if (av[i][2] == '\0') { - if (i < ac - 1) { - i++; - s = av[i]; - } else { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - exit(99); - } - } else - s = av[i] + 2; - switch (*s) { - default: - cerr << GTDEVEL("IDL: -W must be followed by 'p' or 'b'\n"); - exit(99); - case 'p': - if (*(s + 1) == ',') - DRV_prep_cpp_arg(s + 2); - break; - case 'b': - if (*(s + 1) == ',') - (*DRV_BE_prep_arg)(s + 2, I_TRUE); - break; - } - break; - case 'Y': - if (av[i][2] == '\0') { - if (i < ac - 1) { - i++; - s = av[i]; - } else { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - exit(99); - } - } else - s = av[i] + 2; - switch (*s) { - case 'p': - if (*(s + 1) == ',') { - idl_global->set_cpp_location(s + 2); - DRV_cpp_new_location(s + 2); - } - break; - default: - break; - } - break; - case 'b': - if (av[i][2] == '\0') { - if (i < ac - 1) { - i++; - s = av[i]; - } else { - cerr << GTDEVEL("IDL: missing argument after '") - << av[i] - << GTDEVEL("' flag\n"); - exit(99); - } - } else - s = av[i] + 2; - idl_global->set_be(s); - break; - case 'd': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_DUMP_AST); - break; - case 'u': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_ONLY_USAGE); - break; - case 'v': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_INFORMATIVE); - break; - case 'w': - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_NOWARNINGS); - break; - default: - cerr << GTDEVEL("IDL: Illegal option '") << av[i] << "'\n"; - idl_global->set_compile_flags(idl_global->compile_flags() | - IDL_CF_ONLY_USAGE); - break; - } - } else - DRV_push_file(av[i]); - } -} diff --git a/TAO/TAO_IDL/driver/drv_fork.cpp b/TAO/TAO_IDL/driver/drv_fork.cpp deleted file mode 100644 index 31398991ce8..00000000000 --- a/TAO/TAO_IDL/driver/drv_fork.cpp +++ /dev/null @@ -1,125 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * DRV_fork.cc - Fork a process for each file to be processed, wait for - * status from the child process - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" - -#include "ace/Process_Manager.h" - -/* - * Fork off a process, wait for it to die - */ -void -DRV_fork() -{ - // This will not work on NT, but I can hardly think of some way to - // make it work. - // The idea is to make it compile, and always use the compiler with - // just one file, that works because then there is no fork - // involved. - for (DRV_file_index = 0; - DRV_file_index < DRV_nfiles; - ++DRV_file_index) - { - ACE_Process_Options options; - options.creation_flags (ACE_Process_Options::NO_EXEC); - - ACE_Process_Manager manager; - pid_t child_pid = manager.spawn (options); - if (child_pid == 0) - { - /* - * OK, do it to this file (in the child) - */ - DRV_drive(DRV_files[DRV_file_index]); - ACE_OS::exit(0); - } - - if (child_pid == -1) - { - cerr << GTDEVEL("IDL: spawn failed\n"); - ACE_OS::exit (99); - /*NOTREACHED*/ - } - - // child_pid is the process id of something at this point. - if (manager.wait () == -1) - { - cerr << GTDEVEL("IDL: wait failed\n"); - ACE_OS::exit (99); - /*NOTREACHED*/ - } - } - /* - * Now the parent process can exit - */ - exit(0); -} diff --git a/TAO/TAO_IDL/driver/drv_init.cpp b/TAO/TAO_IDL/driver/drv_init.cpp deleted file mode 100644 index df3504b08d8..00000000000 --- a/TAO/TAO_IDL/driver/drv_init.cpp +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// DRV_init.cc - Initialization for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -void -DRV_init() -{ - // Initialize global data - - idl_global = new IDL_GlobalData(); - - idl_global->set_scopes(NULL); - idl_global->set_root(NULL); - idl_global->set_gen(NULL); - idl_global->set_err((*DRV_FE_new_UTL_Error)()); - idl_global->set_err_count(0); - idl_global->set_indent((*DRV_FE_new_UTL_Indenter)()); - - idl_global->set_filename(NULL); - idl_global->set_main_filename(NULL); - idl_global->set_real_filename(NULL); - idl_global->set_stripped_filename(NULL); - idl_global->set_import(I_TRUE); - idl_global->set_in_main_file(I_FALSE); - idl_global->set_lineno(-1); - - idl_global->set_prog_name(NULL); - - idl_global->set_cpp_location(CPP_LOCATION); - - idl_global->set_be(""); - - idl_global->set_local_escapes(new char[1024]); - - idl_global->set_pragmas(NULL); - - idl_global->set_compile_flags(0); - - idl_global->set_read_from_stdin(I_FALSE); - - idl_global->set_include_file_names(NULL); - idl_global->set_n_include_file_names(0); - - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - - // Initialize driver private data - - DRV_nfiles = 0; - DRV_file_index = 0; -} - diff --git a/TAO/TAO_IDL/driver/drv_link.cpp b/TAO/TAO_IDL/driver/drv_link.cpp deleted file mode 100644 index 5d67b8b67a9..00000000000 --- a/TAO/TAO_IDL/driver/drv_link.cpp +++ /dev/null @@ -1,136 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* -** drv_link.cc - routines for programatic linking -** -** This file is set up so that you can easily convert the CFE to do -** dynamic loading of either the front end (parser) or BEs. Since no -** portable dynamic loading mechanism exists, we have removed the specific -** one which is in Sunsoft\'s version and which uses Solaris dlopen. -*/ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -DRV_PF_FE_init_stage1 DRV_FE_init_stage1; -DRV_PF_FE_init_stage2 DRV_FE_init_stage2; -DRV_PF_FE_yyparse DRV_FE_yyparse; -DRV_PF_FE_set_yyin DRV_FE_set_yyin; -DRV_PF_FE_new_UTL_Error DRV_FE_new_UTL_Error; -DRV_PF_FE_new_UTL_Indenter DRV_FE_new_UTL_Indenter; -DRV_PF_FE_new_UTL_String DRV_FE_new_UTL_String; - -DRV_PF_BE_init DRV_BE_init; -DRV_PF_BE_produce DRV_BE_produce; -DRV_PF_BE_abort DRV_BE_abort; -DRV_PF_BE_prep_arg DRV_BE_prep_arg; -DRV_PF_BE_version DRV_BE_version; - -void -DRV_FE_open() -{ - DRV_FE_init_stage1 = &FE_init_stage1; - DRV_FE_init_stage2 = &FE_init_stage2; - DRV_FE_yyparse = &FE_yyparse; - DRV_FE_set_yyin = &FE_set_yyin; - DRV_FE_new_UTL_Error = &FE_new_UTL_Error; - DRV_FE_new_UTL_Indenter = &FE_new_UTL_Indenter; - DRV_FE_new_UTL_String = &FE_new_UTL_String; -} - -void -DRV_FE_close() -{ - DRV_FE_init_stage1 = 0; - DRV_FE_init_stage2 = 0; - DRV_FE_yyparse = 0; - DRV_FE_set_yyin = 0; - DRV_FE_new_UTL_Error = 0; - DRV_FE_new_UTL_Indenter = 0; - DRV_FE_new_UTL_String = 0; -} - -void -DRV_BE_open() -{ - DRV_BE_init = &BE_init; - DRV_BE_produce = &BE_produce; - DRV_BE_abort = &BE_abort; - DRV_BE_prep_arg = &BE_prep_arg; - DRV_BE_version = &BE_version; -} - -void -DRV_BE_close() -{ - DRV_BE_init = 0; - DRV_BE_produce = 0; - DRV_BE_abort = 0; - DRV_BE_prep_arg = 0; - DRV_BE_version = 0; -} diff --git a/TAO/TAO_IDL/driver/drv_main.cpp b/TAO/TAO_IDL/driver/drv_main.cpp deleted file mode 100644 index 9cd81643878..00000000000 --- a/TAO/TAO_IDL/driver/drv_main.cpp +++ /dev/null @@ -1,256 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* -** drv_main.cc - Main program for IDL compiler driver -** -** LOGIC: -** -** 1. Initialize compiler driver -** 2. Parse command line args -** 3. If more than one file to parse, fork -** 4. Otherwise, for the single file, invoke DRV_drive -*/ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -static void -DRV_version() -{ - cerr << idl_global->prog_name() - << GTDEVEL(", version ") - << IDL_CFE_VERSION - << "\n"; - (*DRV_BE_version)(); -} - -/* -** Drive the compilation -** -** LOGIC: -** -** 1. Initialize the CFE, stage 1. This builds the scope stack -** 2. Initialize the BE. This builds an instance of the generator -** 3. Initialize the CFE, stage 2. This builds the global scope -** and populates it with the predefined types -** 4. Invoke FE_yyparse -** 5. Check for errors from FE_yyparse. If any, exit now -** 6. Check for undefined forward declared interfaces. If any, exit now -** 7. Check if asked to dump AST. If so, do. -** 8. Invoke BE. -*/ -void -DRV_drive(char *s) -{ - char *fn; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (fn); - - // set the name of the IDL file we are parsing. This is useful to the backend - // when it generates C++ headers and files - idl_global->idl_src_file(new UTL_String(s)); - /* - * Pass through CPP - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": preprocessing ") - << s - << "\n"; - DRV_pre_proc(s); - /* - * Initialize FE stage 1 - */ - (*DRV_FE_init_stage1)(); - /* - * Initialize BE - */ - idl_global->set_gen((*DRV_BE_init)()); - /* - * Initialize FE stage 2 - */ - (*DRV_FE_init_stage2)(); - /* - * Parse - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": parsing ") - << s - << "\n"; - (*DRV_FE_yyparse)(); - /* - * If there were any errors, stop - */ - if (idl_global->err_count() > 0) { - cerr << idl_global->prog_name() - << ": " - << s - << GTDEVEL(": found "); - cerr << idl_global->err_count() - << GTDEVEL(" error"); - cerr << (idl_global->err_count() > 1 - ? GTDEVEL("s") : "") - << "\n"; - /* - * Call BE_abort to allow a BE to clean up after itself - */ - (*DRV_BE_abort)(); - exit((int) idl_global->err_count()); - } - /* - * Dump the code - */ - if ((idl_global->compile_flags() & IDL_CF_INFORMATIVE) - && (idl_global->compile_flags() & IDL_CF_DUMP_AST)) - cerr << idl_global->prog_name() - << GTDEVEL(": dump ") - << s - << "\n"; - if (idl_global->compile_flags() & IDL_CF_DUMP_AST) { - cerr << GTDEVEL("Dump of AST:\n"); - idl_global->root()->dump(cerr); - } - /* - * Call the main entry point for the BE - */ - if (idl_global->compile_flags() & IDL_CF_INFORMATIVE) - cerr << idl_global->prog_name() - << GTDEVEL(": BE processing on ") - << s - << "\n"; - (*DRV_BE_produce)(); - /* - * Exit cleanly - */ - exit(0); -} - -/* - * IDL compiler main program. Logic as explained in comment at head - * of file. - */ -int -main(int argc, char **argv) -{ - /* - * Open front-end library - */ - DRV_FE_open(); - /* - * Initialize driver and global variables - */ - DRV_init(); - /* - * Open back-end library - */ - DRV_BE_open(); - /* - * Parse arguments - */ - DRV_parse_args(argc, argv); - /* - * If a version message is requested, print it and exit - */ - if (idl_global->compile_flags() & IDL_CF_VERSION) { - DRV_version(); - exit(0); - } - /* - * If a usage message is requested, give it and exit - */ - if (idl_global->compile_flags() & IDL_CF_ONLY_USAGE) { - DRV_usage(); - exit(0); - } - /* - * Fork off a process for each file to process. Fork only if - * there is more than one file to process - */ - if (DRV_nfiles > 1) { - /* - * DRV_fork never returns - */ - DRV_fork(); - } else { - /* - * Do the one file we have to parse - * - * Check if stdin and handle file name appropriately - */ - if (DRV_nfiles == 0) { - DRV_files[0] = "standard input"; - } - DRV_file_index = 0; - DRV_drive(DRV_files[DRV_file_index]); - } - exit(0); - /* NOTREACHED */ - return 0; -} diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp deleted file mode 100644 index 55ad74533f2..00000000000 --- a/TAO/TAO_IDL/driver/drv_preproc.cpp +++ /dev/null @@ -1,342 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * DRV_pre_proc.cc - pass an IDL file through the C preprocessor - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" -#include "drv_link.h" - -#include "ace/Process_Manager.h" - -#include <stdio.h> -#include <fcntl.h> - -#undef MAX_ARGLIST -#define MAX_ARGLIST 128 - -static char *arglist[MAX_ARGLIST]; -static long argcount = 0; - -/* - * Push the new CPP location if we got a -Yp argument - */ -void -DRV_cpp_new_location(char *new_loc) -{ - arglist[0] = new_loc; -} - -/* - * Push an argument into the arglist - */ -void -DRV_cpp_putarg(char *str) -{ - if (argcount >= MAX_ARGLIST) { - cerr << idl_global->prog_name() - << GTDEVEL(": More than ") - << MAX_ARGLIST - << GTDEVEL(" arguments to preprocessor\n"); - exit (99); - } - arglist[argcount++] = str; -} - -/* - * Initialize the cpp argument list - */ -void -DRV_cpp_init() -{ - // DRV_cpp_putarg("\\cygnus\\H-i386-cygwin32\\bin\\echo"); - DRV_cpp_putarg(idl_global->cpp_location()); - DRV_cpp_putarg("-E"); - DRV_cpp_putarg("-DIDL"); - DRV_cpp_putarg("-I."); -} - -/* - * lines can be 1024 chars long - */ -#define LINEBUF_SIZE 1024 -static char drv_line[LINEBUF_SIZE + 1]; - -/* - * Get a line from stdin - */ -static long -DRV_get_line(FILE *f) -{ - char *l = fgets(drv_line, LINEBUF_SIZE, f); - long i; - - if (l == NULL) - return I_FALSE; - if (*l == '\0' && feof(f)) - return I_FALSE; - if (*l == '\0') - return I_TRUE; - i = strlen(l) - 1; - if (l[i] == '\n') - l[i] = '\0'; - return I_TRUE; -} - -/* - * Copy from stdin to a file - */ -static void -DRV_copy_input(FILE *fin, char *fn) -{ - FILE *f = fopen(fn, "w"); - - if (f == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open temp file ") - << fn - << GTDEVEL(" for writing\n"); - exit(99); - } - if (fin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open input file\n"); - exit(99); - } - while (DRV_get_line(fin)) - fprintf(f, "%s\n", drv_line); - fclose(f); -} - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -DRV_stripped_name(char *fn) -{ - char *n = fn; - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * File names - */ -static char tmp_file[128]; -static char tmp_ifile[128]; - -/* - * Pass input through preprocessor - */ -void -DRV_pre_proc(char *myfile) -{ - long readfromstdin = I_FALSE; - char catbuf[512]; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (readfromstdin); - - const char* tmpdir = getenv("TMP"); - if (tmpdir != 0) - { - ACE_OS::strcpy (tmp_file, tmpdir); - ACE_OS::strcpy (tmp_ifile, tmpdir); - } - else - { - ACE_OS::strcpy (tmp_file, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_file, "tmp"); - ACE_OS::strcpy (tmp_ifile, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_ifile, "tmp"); - } - - ACE_OS::strcat (tmp_file, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_file, "idlf_XXXXXX"); - - ACE_OS::strcat (tmp_ifile, ACE_DIRECTORY_SEPARATOR_STR_A); - ACE_OS::strcat (tmp_ifile, "idli_XXXXXX"); - - (void) mktemp (tmp_file); ACE_OS::strcat (tmp_file, ".cc"); - (void) mktemp (tmp_ifile); ACE_OS::strcat (tmp_ifile, ".cc"); - if (strcmp(myfile, "standard input") == 0) { - idl_global->set_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - idl_global->set_main_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - idl_global-> - set_stripped_filename( - (*DRV_FE_new_UTL_String)(DRV_stripped_name(tmp_ifile)) - ); - idl_global->set_real_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - DRV_copy_input(stdin, tmp_ifile); - idl_global->set_read_from_stdin(I_TRUE); - } else { - FILE *fd = fopen(myfile, "r"); - DRV_copy_input(fd, tmp_ifile); - fclose(fd); - idl_global->set_read_from_stdin(I_FALSE); - idl_global->set_filename((*DRV_FE_new_UTL_String)(myfile)); - idl_global->set_main_filename((*DRV_FE_new_UTL_String)(myfile)); - idl_global-> - set_stripped_filename( - (*DRV_FE_new_UTL_String)(DRV_stripped_name(myfile)) - ); - idl_global->set_real_filename((*DRV_FE_new_UTL_String)(tmp_ifile)); - } - - // We use ACE instead of the (low level) fork facilities, this also - // work on NT. - ACE_Process manager; - ACE_Process_Options cpp_options; - DRV_cpp_putarg (tmp_ifile); - DRV_cpp_putarg (0); // Null terminate the arglist. - cpp_options.command_line (arglist); - ACE_HANDLE fd = ACE_OS::open(tmp_file, O_WRONLY | O_CREAT | O_TRUNC, 0777); - if (fd == ACE_INVALID_HANDLE) { - cerr << idl_global->prog_name() - << GTDEVEL(": cannot open temp file ") - << tmp_file << " for writing\n"; - return; - } - cpp_options.set_handles (ACE_INVALID_HANDLE, fd); - if (manager.spawn (cpp_options) == -1) - { - cerr << idl_global->prog_name() - << GTDEVEL(": spawn of ") - << arglist[0] - << GTDEVEL(" failed\n"); - return; - } - - // Close the output file on the parent process. - if (ACE_OS::close (fd) == -1) - { - cerr << idl_global->prog_name () - << GTDEVEL(": cannot close temp file") - << tmp_file << " on parent\n"; - return; - } - - // Remove the null termination and the input file from the arglist, - // the next file will the previous args. - argcount -= 2; - - if (manager.wait () == -1) - { - cerr << idl_global->prog_name () - << GTDEVEL(": wait for child process failed\n"); - return; - } - // TODO: Manage problems in the pre-processor, in the previous - // version the current process would exit if the pre-processor - // returned with error. - - - FILE * yyin = fopen(tmp_file, "r"); - if (yyin == NULL) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not open cpp output file ") - << tmp_file - << "\n"; - exit(99); - } - (*DRV_FE_set_yyin)((File *) yyin); - - // @@ TODO: This is not protable, cat(1) is a UNIX tool. - if (idl_global->compile_flags() & IDL_CF_ONLY_PREPROC) { - sprintf(catbuf, "cat < %s", tmp_file); - system(catbuf); - } - - if (ACE_OS::unlink(tmp_ifile) == -1) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not remove cpp input file ") - << tmp_ifile - << "\n"; - exit(99); - } -#if !defined (ACE_WIN32) - // TODO: This unlink fails every time under NT, it seems that you - // cannot remove an open file under that OS? - if (ACE_OS::unlink(tmp_file) == -1) { - cerr << idl_global->prog_name() - << GTDEVEL(": Could not remove cpp output file ") - << tmp_file - << "\n"; - exit(99); - } -#endif /* !ACE_WIN32 */ - if (idl_global->compile_flags() & IDL_CF_ONLY_PREPROC) - exit(0); -} diff --git a/TAO/TAO_IDL/driver/drv_private.cpp b/TAO/TAO_IDL/driver/drv_private.cpp deleted file mode 100644 index 6160112e818..00000000000 --- a/TAO/TAO_IDL/driver/drv_private.cpp +++ /dev/null @@ -1,79 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// drv_global.cc - Global variables for IDL compiler driver program - -#include "idl.h" -#include "idl_extern.h" - -#include "drv_private.h" - -// Storage for file names - -#define NFILES 1024 - -char *DRV_files[NFILES]; -long DRV_nfiles = 0; -long DRV_file_index = -1; -IDL_GlobalData *idl_global = NULL; diff --git a/TAO/TAO_IDL/fe/Makefile b/TAO/TAO_IDL/fe/Makefile deleted file mode 100644 index 8d0b70c7b07..00000000000 --- a/TAO/TAO_IDL/fe/Makefile +++ /dev/null @@ -1,285 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libfe -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libfe -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -FE_FILES = \ - fe_declarator \ - fe_private \ - fe_init \ - fe_extern \ - fe_interface_header - -OTHER_FILES = \ - y.tab \ - lex.yy - -FILES = $(FE_FILES) $(OTHER_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LHDR = $(addsuffix .h,$(HDRS)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -D_REENTRANT -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) -YACC = yacc -LEX = flex -YFLAGS = -t -d -LFLAGS = -t - -# Create the parser and lexer -y.tab.h y.tab.cpp: idl.yy - @-$(RM) $@ - $(YACC) $(YFLAGS) idl.yy - mv -f y.tab.c y.tab.cpp - -lex.yy.cpp: idl.ll y.tab.h - $(LEX) $(LFLAGS) idl.ll > $@ - sed -e "s/unistd/stdio/g" -e "s@#include <@#include /**/ <@" -e "s/ECHO/TAO_ECHO/g" < $@ >> /tmp/$@ - cp /tmp/$@ $@ - $(RM) -f /tmp/$@ - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/fe_declarator.o .shobj/fe_declarator.so: fe_declarator.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/fe_private.o .shobj/fe_private.so: fe_private.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/fe_init.o .shobj/fe_init.so: fe_init.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/fe_extern.o .shobj/fe_extern.so: fe_extern.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/fe_interface_header.o .shobj/fe_interface_header.so: fe_interface_header.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/y.tab.o .shobj/y.tab.so: y.tab.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h -.obj/lex.yy.o .shobj/lex.yy.so: lex.yy.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h \ - ../include/fe_private.h ../include/fe_interface_header.h \ - ../include/fe_declarator.h y.tab.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/fe/fe_declarator.cpp b/TAO/TAO_IDL/fe/fe_declarator.cpp deleted file mode 100644 index 1c802e338e9..00000000000 --- a/TAO/TAO_IDL/fe/fe_declarator.cpp +++ /dev/null @@ -1,157 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_declarator.cc - Implementation of FE private declaration - * statement class - * - * The FE_Declarator class is used to hold together complex declarations - * until all the components are parsed and before they are composed into - * an AST_Type node. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -/* - * Constructor(s) and destructor - */ - -FE_Declarator::FE_Declarator(UTL_ScopedName *n, DeclaratorType dt, - AST_Decl *cp) - : pd_complex_part(cp), - pd_name(n), - pd_decl_type(dt) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Compose the type of the complex declarator (if any) with the base -// type supplied in ct -AST_Type * -FE_Declarator::compose(AST_Decl *d) -{ - AST_Array *arr; - AST_Type *ct; - - ct = AST_Type::narrow_from_decl(d); - if (ct == NULL) { - idl_global->err()->not_a_type(d); - return NULL; - } - if (ct->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type(d); - return NULL; - } - if (pd_decl_type == FD_simple || pd_complex_part == NULL) { - return ct; - } - if (pd_complex_part->node_type() == AST_Decl::NT_array) { - arr = AST_Array::narrow_from_decl(pd_complex_part); - arr->set_base_type(ct); - - /* - * Add the new array to the types defined in the global scope - */ - idl_global->root()->fe_add_array(arr); - - return arr; - } - return NULL; // return through this statement should not happen -} - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -AST_Decl * -FE_Declarator::complex_part() -{ - return pd_complex_part; -} - -UTL_ScopedName * -FE_Declarator::name() -{ - return pd_name; -} - -FE_Declarator::DeclaratorType -FE_Declarator::decl_type() -{ - return pd_decl_type; -} diff --git a/TAO/TAO_IDL/fe/fe_extern.cpp b/TAO/TAO_IDL/fe/fe_extern.cpp deleted file mode 100644 index 03e52fbdc5f..00000000000 --- a/TAO/TAO_IDL/fe/fe_extern.cpp +++ /dev/null @@ -1,121 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_extern.cc - export FE interfaces to driver - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -#include "utl_error.h" -#include "utl_indenter.h" -#include "utl_string.h" - -/* - * yacc parser interface - */ - -extern int yyparse(); -extern FILE * yyin; - -int -FE_yyparse() -{ - int result = yyparse(); - if (idl_global->err_count() == 0) { - idl_global->root()->call_add(); - } - return result; -} - -void -FE_set_yyin(File * f) -{ - yyin = (FILE*)f; -} - -/* - * constructor interfaces - */ - -UTL_Error * -FE_new_UTL_Error() -{ - return new UTL_Error(); -} - -UTL_Indenter * -FE_new_UTL_Indenter() -{ - return new UTL_Indenter(); -} - -UTL_String * -FE_new_UTL_String(char * str) -{ - return new UTL_String(str); -} diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp deleted file mode 100644 index 16f6b4372d8..00000000000 --- a/TAO/TAO_IDL/fe/fe_init.cpp +++ /dev/null @@ -1,367 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_init.cc - Initialize the FE - * - * The FE initialization is carried out in two stages, with the BE - * initialization protocol sandwiched between the two stages. - * - * The first stage is responsible for creating the scopes stack. - * The second stage is run after the BE initialization has created - * and returned an instance of AST_Generator (or a subclass). This - * instance is used to create the root node for the AST, and to - * populate it with AST_PredefinedType nodes which represent the - * predefined IDL types. This AST root is then pushed on the scopes - * stack as the outermost scope. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -/* - * Create a scoped name - */ -static UTL_ScopedName * -create_scoped_name(char *s) -{ - return new UTL_ScopedName(new Identifier(s, 1, 0, I_FALSE), NULL); -} - -/* - * Populate the global scope with all predefined entities - */ -void -fe_populate(AST_Module *m) -{ - AST_PredefinedType *pdt; - - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_long, - create_scoped_name("long"), - NULL); - m->fe_add_predefined_type(pdt); - - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_ulong, - create_scoped_name("unsigned long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_longlong, - create_scoped_name("long long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_ulonglong, - create_scoped_name("unsigned long long"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_short, - create_scoped_name("short"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_ushort, - create_scoped_name("unsigned short"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_float, - create_scoped_name("float"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_double, - create_scoped_name("double"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_longdouble, - create_scoped_name("long double"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_char, - create_scoped_name("char"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_wchar, - create_scoped_name("wchar_t"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_octet, - create_scoped_name("octet"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_any, - create_scoped_name("any"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = - idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_boolean, - create_scoped_name("boolean"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen()->create_predefined_type(AST_PredefinedType::PT_void, - create_scoped_name("void"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("Object"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("TypeCode"), - NULL); - m->fe_add_predefined_type(pdt); - - /* - * Add these to make all keywords protected even in different spellings - */ - - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("attribute"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("case"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("const"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("context"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("default"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("enum"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("exception"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("in"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("out"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("inout"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("interface"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("module"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("oneway"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("raises"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("readonly"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("sequence"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("string"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("wstring_t"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("struct"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("switch"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("typedef"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("union"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("unsigned"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("TRUE"), - NULL); - m->fe_add_predefined_type(pdt); - pdt = idl_global->gen() - ->create_predefined_type(AST_PredefinedType::PT_pseudo, - create_scoped_name("FALSE"), - NULL); - m->fe_add_predefined_type(pdt); -} - -/* - * Initialization stage 1: create global scopes stack - */ -void -FE_init_stage1() -{ - idl_global->set_scopes(new UTL_ScopeStack()); - if (idl_global->scopes() == NULL) { - cerr << GTDEVEL("IDL: FE init failed to create scope stack, exiting\n"); - exit(99); - } -} - -/* - * Initialization stage 2: create global scope and populate it - */ -void -FE_init_stage2() -{ - AST_Root *r; - - /* - * Check that the BE init created a generator object - */ - if (idl_global->gen() == NULL) { - cerr << GTDEVEL("IDL: BE did not initialize idl_global->gen(), exiting\n"); - exit(99); - } - /* - * Create a global root for the AST. Note that the AST root has no - * name - */ - r = idl_global->gen()->create_root(create_scoped_name(""), NULL); - idl_global->set_root(r); - if (r == NULL) { - cerr << GTDEVEL("IDL: FE init failed to create AST root, exiting\n"); - exit(99); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(idl_global->root()); - /* - * Populate it with nodes for predefined types - */ - fe_populate(idl_global->root()); - /* - * Set flag to indicate we are processing the main file now - */ - idl_global->set_in_main_file(I_TRUE); -} diff --git a/TAO/TAO_IDL/fe/fe_interface_header.cpp b/TAO/TAO_IDL/fe/fe_interface_header.cpp deleted file mode 100644 index b493bde1969..00000000000 --- a/TAO/TAO_IDL/fe/fe_interface_header.cpp +++ /dev/null @@ -1,282 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_interface_header.cc - Implements the FE private class FE_InterfaceHeader - * - * FE_InterfaceHeader instances are used to store information about an - * interface header as the interface is being parsed and before the - * AST_Interface node used to represent this interface is created. - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -/* - * Constructor(s) and destructor - */ - -FE_InterfaceHeader::FE_InterfaceHeader(UTL_ScopedName *n, UTL_NameList *nl) - : pd_interface_name(n) -{ - compile_inheritance(nl); -} - -/* - * Private operations - */ - -// Compute flattened, non-repeating list of inherited interfaces - -#undef INCREMENT -#define INCREMENT 512 - -/* - * Private storage used to store interfaces seen already in the - * computation of the unique, flattened inheritance list - */ -static AST_Interface **iseen = NULL; -static long iallocated = 0; -static long iused = 0; - -/* - * Add an interface to an inheritance spec - */ -static void -add_inheritance(AST_Interface *i) -{ - long oiallocated; - long k; - AST_Interface **oiseen; - - /* - * Make sure there's space for one more - */ - if (iallocated == iused) { - if (iallocated == 0) { - iallocated = INCREMENT; - iseen = new AST_Interface *[iallocated]; - } else { - oiallocated = iallocated; - oiseen = iseen; - iallocated += INCREMENT; - iseen = new AST_Interface *[iallocated]; - for (k = 0; k < iused; k++) - iseen[k] = oiseen[k]; - delete oiseen; - } - } - /* - * OK, now insert it - */ - iseen[iused] = i; - iused++; -} - -/* - * Have we already seen this interface? - */ -static long -already_seen(AST_Interface *ip) -{ - long i; - - for (i = 0; i < iused; i++) { - if (iseen[i] == ip) - return I_TRUE; - } - return I_FALSE; -} - -/* - * Add this interface to the list of inherited if not already there - */ -void -FE_InterfaceHeader::compile_one_inheritance(AST_Interface *i) -{ - /* - * Check for badly formed interface - */ - if (i == NULL) - return; - /* - * If we've seen it already then don't expand again - */ - if (already_seen(i)) - return; - /* - * OK, add i to the list of inherited interfaces - */ - add_inheritance(i); -} - -/* - * Compute the list of top-level interfaces this one inherits from - */ -void -FE_InterfaceHeader::compile_inheritance(UTL_NameList *nl) -{ - UTL_NamelistActiveIterator *l = new UTL_NamelistActiveIterator(nl); - AST_Decl *d; - AST_Interface *i; - long k; - - iused = 0; - /* - * Compute expanded flattened non-repeating list of interfaces - * which this one inherits from - */ - while (!(l->is_done())) { - /* - * Check that scope stack is valid - */ - if (idl_global->scopes()->top() == NULL) { - idl_global->err()->lookup_error(l->item()); - return; - } - /* - * Look it up - */ - d = idl_global->scopes()->top()->lookup_by_name(l->item(), I_TRUE); - /* - * Not found? - */ - if (d == NULL) { - idl_global->err()->lookup_error(l->item()); - return; - } - /* - * Not an interface? - */ - while(d->node_type() == AST_Decl::NT_typedef) - d = AST_Typedef::narrow_from_decl(d)->base_type(); - if (d->node_type() != AST_Decl::NT_interface) { - idl_global->err()->inheritance_error(pd_interface_name, d); - return; - } - /* - * OK, cast to an interface - */ - i = AST_Interface::narrow_from_decl(d); - if (i == NULL) - idl_global->err()->inheritance_error(pd_interface_name, d); - /* - * Forward declared interface? - */ - if (!i->is_defined()) { - idl_global->err()->inheritance_fwd_error(pd_interface_name, i); - return; - } - /* - * OK, see if we have to add this to the list of interfaces - * inherited from - */ - compile_one_inheritance(i); - - /* - * Next element in header list - */ - l->next(); - } - delete l; - /* - * OK, install in interface header - */ - pd_inherits = new AST_Interface *[iused]; - for (k = 0; k < iused; k++) - pd_inherits[k] = iseen[k]; - pd_n_inherits = iused; -} - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -/* - * Data accessors - */ - -UTL_ScopedName * -FE_InterfaceHeader::interface_name() -{ - return pd_interface_name; -} - -AST_Interface ** -FE_InterfaceHeader::inherits() -{ - return pd_inherits; -} - -long -FE_InterfaceHeader::n_inherits() -{ - return pd_n_inherits; -} diff --git a/TAO/TAO_IDL/fe/fe_private.cpp b/TAO/TAO_IDL/fe/fe_private.cpp deleted file mode 100644 index 30fe3c3cfc0..00000000000 --- a/TAO/TAO_IDL/fe/fe_private.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * fe_private.cc - Declare global data which are private to the FE - * part - */ - -#include "idl.h" -#include "idl_extern.h" - -#include "fe_private.h" - -/* - * List of pragmas - */ -UTL_StrList *DRV_global_pragmas = NULL; diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll deleted file mode 100644 index 9b41d547492..00000000000 --- a/TAO/TAO_IDL/fe/idl.ll +++ /dev/null @@ -1,527 +0,0 @@ - -%{ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.ll - Lexical scanner for IDL 1.1 - */ - -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include "y.tab.h" - -static char idl_escape_reader(char *); -static double idl_atof(char *); -static long idl_atoi(char *, long); -static void idl_parse_line_and_file(char *); -static void idl_store_pragma(char *); - -#if 0 /* defined (HPUX) */ -// HPUX has yytext typed to unsigned char *. We make sure here that -// we'll always use char * static char* __yytext = (char*) yytext; -// NOTE: This will not work under flex(1) were yytext is not a fixed -// buffer, but a dynamically allocated one. This function should do -// the trick for us. -inline char *__yytext() -{ - return (char *) yytext; -} -#define ace_yytext __yytext() -#else -#define ace_yytext yytext -#endif /* 0 */ -%} - -%array - -%% - -any return IDL_ANY; -module return IDL_MODULE; -raises return IDL_RAISES; -readonly return IDL_READONLY; -attribute return IDL_ATTRIBUTE; -exception return IDL_EXCEPTION; -context return IDL_CONTEXT; -interface return IDL_INTERFACE; -const return IDL_CONST; -typedef return IDL_TYPEDEF; -struct return IDL_STRUCT; -enum return IDL_ENUM; -string return IDL_STRING; -wstring_t return IDL_WSTRING; -sequence return IDL_SEQUENCE; -union return IDL_UNION; -switch return IDL_SWITCH; -case return IDL_CASE; -default return IDL_DEFAULT; -float return IDL_FLOAT; -double return IDL_DOUBLE; -long return IDL_LONG; -short return IDL_SHORT; -unsigned return IDL_UNSIGNED; -char return IDL_CHAR; -wchar_t return IDL_WCHAR; -boolean return IDL_BOOLEAN; -octet return IDL_OCTET; -void return IDL_VOID; - -TRUE return IDL_TRUETOK; -FALSE return IDL_FALSETOK; - -inout return IDL_INOUT; -in return IDL_IN; -out return IDL_OUT; -oneway return IDL_ONEWAY; - -\<\< return IDL_LEFT_SHIFT; -\>\> return IDL_RIGHT_SHIFT; -\:\: { - yylval.strval = "::"; - return IDL_SCOPE_DELIMITOR; - } - -[a-zA-Z][a-zA-Z0-9_]* { - char *z = (char *) malloc(strlen(ace_yytext) + 1); - strcpy(z, ace_yytext); - yylval.strval = z; - return IDENTIFIER; -} - --?[0-9]+"."[0-9]*([eE][+-]?[0-9]+)?[lLfF]? { - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } --?[0-9]+[eE][+-]?[0-9]+[lLfF]? { - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - --?[1-9][0-9]* { - yylval.ival = idl_atoi(ace_yytext, 10); - return IDL_INTEGER_LITERAL; - } --?0[xX][a-fA-F0-9]+ { - yylval.ival = idl_atoi(ace_yytext, 16); - return IDL_INTEGER_LITERAL; - } --?0[0-7]* { - yylval.ival = idl_atoi(ace_yytext, 8); - return IDL_INTEGER_LITERAL; - } - -"\""[^\"]*"\"" { - /* Skip the quotes */ - char *tmp = ace_yytext; - tmp[strlen(tmp)-1] = '\0'; - yylval.sval = new String(tmp + 1); - return IDL_STRING_LITERAL; - } -"'"."'" { - yylval.cval = ace_yytext [1]; - return IDL_CHARACTER_LITERAL; - } -"'"\\([0-7]{1,3})"'" { - // octal character constant - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -"'"\\."'" { - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } -^#[ \t]*pragma[ \t].*\n {/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""" "[0-9]*\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*" ""\""[^\"]*"\""\n { - idl_parse_line_and_file(ace_yytext); - } -^#line[ \t]*[0-9]*" ""\""[^\"]*"\""\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*[0-9]*\n { - idl_parse_line_and_file(ace_yytext); - } -^#[ \t]*ident.*\n { - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -\/\/.*\n { - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } -"/*" { - for(;;) { - char c = yyinput(); - if (c == '*') { - char next = yyinput(); - if (next == '/') - break; - else - yyunput(c, NULL); - if (c == '\n') - idl_global->set_lineno(idl_global->lineno() + 1); - } - } - } -[ \t]* ; -\n { - idl_global->set_lineno(idl_global->lineno() + 1); - } -. return ace_yytext [0]; - -%% - /* subroutines */ - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -stripped_name(UTL_String *fn) -{ - char *n = fn->get_string(); - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * Parse a #line statement generated by the C preprocessor - */ -static void -idl_parse_line_and_file(char *buf) -{ - char *r = buf; - char *h; - UTL_String *nm; - - /* Skip initial '#' */ - if (*r != '#') - return; - else - r++; - - /* Check to see if we're running under the screwy Microsoft scheme */ - /* of putting #line num instead of #num. */ - - if (ACE_OS::strncmp (r, "line", 4) == 0) - r += 5; - - /* Find line number */ - while (*r == ' ' || *r == '\t') - r++; - h = r; - for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) - continue; - *r++ = 0; - idl_global->set_lineno(idl_atoi(h, 10)); - - /* Find file name, if present */ - for (; *r != '"'; r++) - if (*r == '\n' || *r == '\0') - return; - - h = ++r; - for (; *r != '"'; r++) - continue; - *r = 0; - if (*h == '\0') - idl_global->set_filename(new String("standard input")); - else - { - long i; - long j; - - // Put Microsoft-style pathnames into a canonical form. - for (i = 0, j = 0; h[j] != '\0'; i++, j++) - { - if (h[j] == '\\' && h[j + 1] == '\\') - j++; - - h[i] = h[j]; - } - h[i] = '\0'; - idl_global->set_filename(new String(h)); - } - idl_global->set_in_main_file( - (idl_global->filename()->compare(idl_global->real_filename())) ? - I_TRUE : - I_FALSE - ); - /* - * If it's an import file store the stripped name for the BE to use - */ - if (!(idl_global->in_main_file()) && idl_global->import()) { - nm = new UTL_String(stripped_name(idl_global->filename())); - idl_global->store_include_file_name(nm); - } -} - -/* - * Store a #pragma line into the list of pragmas - */ -static void -idl_store_pragma(char *buf) -{ - char *cp = buf + 1; - while(*cp != 'p') - cp++; - while(*cp != ' ' && *cp != '\t') - cp++; - while(*cp == ' ' || *cp == '\t') - cp++; - char pragma[80]; - char *pp = pragma; - while(*cp != '\n') { - *pp++ = *cp++; - } - *pp = 0; - if (strcmp(pragma, "import") == 0) { - idl_global->set_import(I_TRUE); - return; - } - if (strcmp(pragma, "include") == 0) { - idl_global->set_import(I_FALSE); - return; - } - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into an integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - long negative = 0; - - if (*s == '-') { - negative = 1; - s++; - } - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - if (negative) - r *= -1; - - return r; -} - -/* - * Convert a string to a float; atof doesn't seem to work, always. - */ -static double -idl_atof(char *s) -{ - char *h = s; - double d = 0.0; - double f = 0.0; - double e, k; - long neg = 0, negexp = 0; - - ACE_UNUSED_ARG (f); - ACE_UNUSED_ARG (h); - - if (*s == '-') { - neg = 1; - s++; - } - while (*s >= '0' && *s <= '9') { - d = (d * 10) + *s - '0'; - s++; - } - if (*s == '.') { - s++; - e = 10; - while (*s >= '0' && *s <= '9') { - d += (*s - '0') / (e * 1.0); - e *= 10; - s++; - } - } - if (*s == 'e' || *s == 'E') { - s++; - if (*s == '-') { - negexp = 1; - s++; - } else if (*s == '+') - s++; - e = 0; - while (*s >= '0' && *s <= '9') { - e = (e * 10) + *s - '0'; - s++; - } - if (e > 0) { - for (k = 1; e > 0; k *= 10, e--); - if (negexp) - d /= k; - else - d *= k; - } - } - - if (neg) d *= -1.0; - - return d; -} - -/* - * Convert (some) escaped characters into their ascii values - */ -static char -idl_escape_reader( - char *str -) -{ - if (str[0] != '\\') { - return str[0]; - } - - switch (str[1]) { - case 'n': - return '\n'; - case 't': - return '\t'; - case 'v': - return '\v'; - case 'b': - return '\b'; - case 'r': - return '\r'; - case 'f': - return '\f'; - case 'a': - return '\a'; - case '\\': - return '\\'; - case '\?': - return '?'; - case '\'': - return '\''; - case '"': - return '"'; - case 'x': - { - int i; - // hex value - for (i = 2; str[i] != '\0' && isxdigit(str[i]); i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoi(&str[2], 16); - str[i] = save; - return out; - } - break; - default: - // check for octal value - if (str[1] >= '0' && str[1] <= '7') { - int i; - for (i = 1; str[i] >= '0' && str[i] <= '7'; i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoi(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - break; - } -} diff --git a/TAO/TAO_IDL/fe/idl.yy b/TAO/TAO_IDL/fe/idl.yy deleted file mode 100644 index 63ef3e24b25..00000000000 --- a/TAO/TAO_IDL/fe/idl.yy +++ /dev/null @@ -1,2265 +0,0 @@ - - -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.yy - YACC grammar for IDL 1.1 - */ - -/* Declarations */ - -%{ -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include <stdio.h> - -#if (defined(apollo) || defined(hpux)) && defined(__cplusplus) -extern "C" int yywrap(); -#endif // (defined(apollo) || defined(hpux)) && defined(__cplusplus) - -void yyerror (char *); -int yylex (void); -extern "C" int yywrap (void); -extern char yytext[]; -extern int yyleng; -#define YYDEBUG_LEXER_TEXT (yytext[yyleng] = '\0', yytext) -// Force the pretty debugging code to compile. -#define YYDEBUG 1 -%} - -/* - * Declare the type of values in the grammar - */ - -%union { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} - -/* - * Token types: These are returned by the lexer - */ - -%token <strval> IDENTIFIER - -%token IDL_CONST -%token IDL_MODULE -%token IDL_INTERFACE -%token IDL_TYPEDEF -%token IDL_LONG -%token IDL_SHORT -%token IDL_UNSIGNED -%token IDL_DOUBLE -%token IDL_FLOAT -%token IDL_CHAR -%token IDL_WCHAR -%token IDL_OCTET -%token IDL_BOOLEAN -%token IDL_ANY -%token IDL_STRUCT -%token IDL_UNION -%token IDL_SWITCH -%token IDL_ENUM -%token IDL_SEQUENCE -%token IDL_STRING -%token IDL_WSTRING -%token IDL_EXCEPTION -%token IDL_CASE -%token IDL_DEFAULT -%token IDL_READONLY -%token IDL_ATTRIBUTE -%token IDL_ONEWAY -%token IDL_IDEMPOTENT -%token IDL_VOID -%token IDL_IN -%token IDL_OUT -%token IDL_INOUT -%token IDL_RAISES -%token IDL_CONTEXT - -%token <ival> IDL_INTEGER_LITERAL -%token <sval> IDL_STRING_LITERAL -%token <cval> IDL_CHARACTER_LITERAL -%token <dval> IDL_FLOATING_PT_LITERAL -%token IDL_TRUETOK -%token IDL_FALSETOK - -%token <strval> IDL_SCOPE_DELIMITOR -%token IDL_LEFT_SHIFT -%token IDL_RIGHT_SHIFT - -/* - * These are production names: - */ - -%type <dcval> type_spec simple_type_spec constructed_type_spec -%type <dcval> template_type_spec sequence_type_spec string_type_spec -%type <dcval> struct_type enum_type switch_type_spec union_type -%type <dcval> array_declarator op_type_spec seq_head wstring_type_spec -%type <dcval> param_type_spec - -%type <idlist> scoped_name -%type <slval> opt_context at_least_one_string_literal -%type <slval> string_literals - -%type <nlval> at_least_one_scoped_name scoped_names inheritance_spec -%type <nlval> opt_raises - -%type <elval> at_least_one_array_dim array_dims - -%type <llval> at_least_one_case_label case_labels - -%type <dlval> at_least_one_declarator declarators -%type <dlval> at_least_one_simple_declarator simple_declarators - -%type <ihval> interface_header - -%type <exval> expression const_expr or_expr xor_expr and_expr shift_expr -%type <exval> add_expr mult_expr unary_expr primary_expr literal -%type <exval> positive_int_expr array_dim - -%type <ulval> case_label - -%type <ffval> element_spec - -%type <etval> const_type integer_type char_type boolean_type -%type <etval> floating_pt_type any_type signed_int -%type <etval> unsigned_int base_type_spec octet_type - -%type <dival> direction - -%type <ofval> opt_op_attribute - -%type <deval> declarator simple_declarator complex_declarator - -%type <bval> opt_readonly - -%type <idval> interface_decl id - -%type <ival> type_dcl -%% - -/* - * Production starts here - */ -start : definitions ; - -definitions - : definition definitions - | /* empty */ - ; - -definition - : type_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | const_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | exception - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | interface_def - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | module - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -module : IDL_MODULE - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSeen); - } - IDENTIFIER - { - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($3, 1, 0, I_FALSE), NULL); - AST_Module *m = NULL; - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleIDSeen); - /* - * Make a new module and add it to the enclosing scope - */ - if (s != NULL) { - m = idl_global->gen()->create_module(n, p); - (void) s->fe_add_module(m); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(m); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSqSeen); - } - definitions - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleQsSeen); - /* - * Finished with this module - pop it from the scope stack - */ - idl_global->scopes()->pop(); - } - ; - -interface_def - : interface - | forward - ; - -interface : - interface_header - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *d = NULL; - AST_Interface *fd = NULL; - - ACE_UNUSED_ARG (v); - - /* - * Make a new interface node and add it to its enclosing scope - */ - if (s != NULL && $1 != NULL) { - i = idl_global->gen()->create_interface($1->interface_name(), - $1->inherits(), - $1->n_inherits(), - p); - if (i != NULL && - (d = s->lookup_by_name(i->name(), I_FALSE)) != NULL) { - /* - * See if we're defining a forward declared interface. - */ - if (d->node_type() == AST_Decl::NT_interface) { - /* - * Narrow to an interface - */ - fd = AST_Interface::narrow_from_decl(d); - /* - * Successful? - */ - if (fd == NULL) { - /* - * Should we give an error here? - */ - } - /* - * If it is a forward declared interface.. - */ - else if (!fd->is_defined()) { - /* - * Check if redefining in same scope - */ - if (fd->defined_in() != s) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, - i, - fd, - ScopeAsDecl(s)); - } - /* - * All OK, do the redefinition - */ - else { - fd->set_inherits($1->inherits()); - fd->set_n_inherits($1->n_inherits()); - /* - * Update place of definition - */ - fd->set_imported(idl_global->imported()); - fd->set_in_main_file(idl_global->in_main_file()); - fd->set_line(idl_global->lineno()); - fd->set_file_name(idl_global->filename()); - fd->add_pragmas(p); - /* - * Use full definition node - */ - delete i; - i = fd; - } - } - } - } - /* - * Add the interface to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } - exports - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - idl_global->scopes()->pop(); - } - ; - -interface_decl: - IDL_INTERFACE - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceIDSeen); - $$ = $3; - } - ; - -interface_header : - interface_decl inheritance_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_InheritSpecSeen); - /* - * Create an AST representation of the information in the header - * part of an interface - this representation contains a computed - * list of all interfaces which this interface inherits from, - * recursively - */ - $$ = new FE_InterfaceHeader(new UTL_ScopedName($1, NULL), $2); - } - ; - -inheritance_spec - : ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_InheritColonSeen); - } - at_least_one_scoped_name - { - $$ = $3; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -exports - : exports export - | /* EMPTY */ - ; - -export - : type_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | const_dcl - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | exception - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | attribute - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | operation - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpDeclSeen); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -at_least_one_scoped_name : - scoped_name scoped_names - { - $$ = new UTL_NameList($1, $2); - } - ; - -scoped_names - : scoped_names - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SNListCommaSeen); - } - scoped_name - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopedNameSeen); - - if ($1 == NULL) - $$ = new UTL_NameList($4, NULL); - else { - $1->nconc(new UTL_NameList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -scoped_name - : id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $$ = new UTL_IdList($1, NULL); - } - | IDL_SCOPE_DELIMITOR - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $$ = new UTL_IdList(new Identifier($1, 1, 0, I_FALSE), - new UTL_IdList($3, NULL)); - } - | scoped_name - IDL_SCOPE_DELIMITOR - { - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - $1->nconc(new UTL_IdList($4, NULL)); - $$ = $1; - } - ; - -id: IDENTIFIER - { - $$ = new Identifier($1, 1, 0, I_FALSE); - } - ; - -forward : - interface_decl - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($1, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * interface. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_interface_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } - ; - -const_dcl : - IDL_CONST - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstSeen); - } - const_type - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstTypeSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstIDSeen); - } - '=' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ConstAssignSeen); - } - expression - { - UTL_ScopedName *n = new UTL_ScopedName($5, NULL); - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Constant *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ConstExprSeen); - /* - * Create a node representing a constant declaration. Store - * it in the enclosing scope - */ - if ($9 != NULL && s != NULL) { - if ($9->coerce($3) == NULL) - idl_global->err()->coercion_error($9, $3); - else { - c = - idl_global->gen()->create_constant($3, $9, n, p); - (void) s->fe_add_constant(c); - } - } - } - ; - -const_type - : integer_type - | char_type - | octet_type - | boolean_type - | floating_pt_type - | string_type_spec - { - $$ = AST_Expression::EV_string; - } - | wstring_type_spec - { - $$ = AST_Expression::EV_wstring; - } - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *c = NULL; - AST_Typedef *t = NULL; - - /* - * If the constant's type is a scoped name, it must resolve - * to a scalar constant type - */ - if (s != NULL && (d = s->lookup_by_name($1, I_TRUE)) != NULL) { - /* - * Look through typedefs - */ - while (d->node_type() == AST_Decl::NT_typedef) { - t = AST_Typedef::narrow_from_decl(d); - if (t == NULL) - break; - d = t->base_type(); - } - if (d == NULL) - $$ = AST_Expression::EV_any; - else if (d->node_type() == AST_Decl::NT_pre_defined) { - c = AST_PredefinedType::narrow_from_decl(d); - if (c != NULL) { - $$ = idl_global->PredefinedTypeToExprType(c->pt()); - } else { - $$ = AST_Expression::EV_any; - } - } else - $$ = AST_Expression::EV_any; - } else - $$ = AST_Expression::EV_any; - } - ; - -expression : const_expr ; - -const_expr : or_expr ; - -or_expr : xor_expr - | or_expr '|' xor_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_or, $1, $3); - } - ; - -xor_expr - : and_expr - | xor_expr '^' and_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_xor, $1, $3); - } - ; - -and_expr - : shift_expr - | and_expr '&' shift_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_and, $1, $3); - } - ; - -shift_expr - : add_expr - | shift_expr IDL_LEFT_SHIFT add_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_right,$1,$3); - } - | shift_expr IDL_RIGHT_SHIFT add_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_left,$1,$3); - } - ; - -add_expr - : mult_expr - | add_expr '+' mult_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_add, $1, $3); - } - | add_expr '-' mult_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_minus,$1,$3); - } - ; - -mult_expr - : unary_expr - | mult_expr '*' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_mul, $1, $3); - } - | mult_expr '/' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_div, $1, $3); - } - | mult_expr '%' unary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_mod, $1, $3); - } - ; - -unary_expr - : primary_expr - | '+' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_u_plus, - $2, - NULL); - } - | '-' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_u_minus, - $2, - NULL); - } - | '~' primary_expr - { - $$ = idl_global->gen()->create_expr(AST_Expression::EC_bit_neg, - $2, - NULL); - } - ; - -primary_expr - : scoped_name - { - /* - * An expression which is a scoped name is not resolved now, - * but only when it is evaluated (such as when it is assigned - * as a constant value) - */ - $$ = idl_global->gen()->create_expr($1); - } - | literal - | '(' const_expr ')' - { - $$ = $2; - } - ; - -literal - : IDL_INTEGER_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_STRING_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_CHARACTER_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_FLOATING_PT_LITERAL - { - $$ = idl_global->gen()->create_expr($1); - } - | IDL_TRUETOK - { - $$ = idl_global->gen()->create_expr((idl_bool) I_TRUE, - AST_Expression::EV_bool); - } - | IDL_FALSETOK - { - $$ = idl_global->gen()->create_expr((idl_bool) I_FALSE, - AST_Expression::EV_bool); - } - ; - -positive_int_expr : - const_expr - { - $1->evaluate(AST_Expression::EK_const); - $$ = idl_global->gen()->create_expr($1, AST_Expression::EV_ulong); - } - ; - -type_dcl - : IDL_TYPEDEF - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypedefSeen); - } - type_declarator {$$ = 0;} - | struct_type { $$ = 0;} - | union_type { $$ = 0;} - | enum_type { $$ = 0;} - ; - -type_declarator : - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_TypeSpecSeen); - } - at_least_one_declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l; - FE_Declarator *d = NULL; - AST_Typedef *t = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_DeclaratorsSeen); - /* - * Create a list of type renamings. Add them to the - * enclosing scope - */ - if (s != NULL && $1 != NULL && $3 != NULL) { - l = new UTL_DecllistActiveIterator($3); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type * tp = d->compose($1); - if (tp == NULL) - continue; - t = idl_global->gen()->create_typedef(tp, d->name(), p); - (void) s->fe_add_typedef(t); - } - delete l; - } - } - ; - -type_spec - : simple_type_spec - | constructed_type_spec - ; - -simple_type_spec - : base_type_spec - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | template_type_spec - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name($1, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error($1); - $$ = d; - } - ; - -base_type_spec - : integer_type - | floating_pt_type - | char_type - | boolean_type - | octet_type - | any_type - ; - -template_type_spec - : sequence_type_spec - | string_type_spec - | wstring_type_spec - ; - -constructed_type_spec - : struct_type - | union_type - | enum_type - ; - -at_least_one_declarator : - declarator declarators - { - $$ = new UTL_DeclList($1, $2); - } - ; - -declarators - : declarators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } - declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if ($1 == NULL) - $$ = new UTL_DeclList($4, NULL); - else { - $1->nconc(new UTL_DeclList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -declarator - : simple_declarator - | complex_declarator - ; - -at_least_one_simple_declarator : - simple_declarator simple_declarators - { - $$ = new UTL_DeclList($1, $2); - } - ; - -simple_declarators - : simple_declarators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } - simple_declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if ($1 == NULL) - $$ = new UTL_DeclList($4, NULL); - else { - $1->nconc(new UTL_DeclList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -simple_declarator : - id - { - $$ = new FE_Declarator(new UTL_ScopedName($1, NULL), - FE_Declarator::FD_simple, NULL); - } - ; - -complex_declarator : - array_declarator - { - $$ = new FE_Declarator(new UTL_ScopedName($1->local_name(), NULL), - FE_Declarator::FD_complex, - $1); - } - ; - -integer_type - : signed_int - | unsigned_int - ; - -signed_int - : IDL_LONG - { - $$ = AST_Expression::EV_long; - } - | IDL_LONG IDL_LONG - { - $$ = AST_Expression::EV_longlong; - } - | IDL_SHORT - { - $$ = AST_Expression::EV_short; - } - ; - -unsigned_int - : IDL_UNSIGNED IDL_LONG - { - $$ = AST_Expression::EV_ulong; - } - | IDL_UNSIGNED IDL_LONG IDL_LONG - { - $$ = AST_Expression::EV_ulonglong; - } - | IDL_UNSIGNED IDL_SHORT - { - $$ = AST_Expression::EV_ushort; - } - ; - -floating_pt_type - : IDL_DOUBLE - { - $$ = AST_Expression::EV_double; - } - | IDL_FLOAT - { - $$ = AST_Expression::EV_float; - } - | IDL_LONG IDL_DOUBLE - { - $$ = AST_Expression::EV_longdouble; - } - ; - -char_type - : IDL_CHAR - { - $$ = AST_Expression::EV_char; - } - | IDL_WCHAR - { - $$ = AST_Expression::EV_wchar; - } - ; - -octet_type - : IDL_OCTET - { - $$ = AST_Expression::EV_octet; - } - ; - -boolean_type - : IDL_BOOLEAN - { - $$ = AST_Expression::EV_bool; - } - ; - -any_type - : IDL_ANY - { - $$ = AST_Expression::EV_any; - } - ; - -struct_type : - IDL_STRUCT - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Structure *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_StructIDSeen); - /* - * Create a node representing a struct declaration. Add it - * to the enclosing scope - */ - if (s != NULL) { - d = idl_global->gen()->create_structure(n, p); - (void) s->fe_add_structure(d); - } - /* - * Push the scope of the struct on the scopes stack - */ - idl_global->scopes()->push(d); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructSqSeen); - } - at_least_one_member - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StructQsSeen); - /* - * Done with this struct. Pop its scope off the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } - ; - -at_least_one_member : member members ; - -members - : members member - | /* EMPTY */ - ; - -member : - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_MemberTypeSeen); - } - at_least_one_declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsSeen); - } - ';' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - FE_Declarator *d = NULL; - AST_Field *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsCompleted); - /* - * Check for illegal recursive use of type - */ - if ($1 != NULL && AST_illegal_recursive_type($1)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, $1); - /* - * Create a node representing a struct or exception member - * Add it to the enclosing scope - */ - else if (s != NULL && $1 != NULL && $3 != NULL) { - l = new UTL_DecllistActiveIterator($3); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose($1); - if (tp == NULL) - continue; - f = idl_global->gen()->create_field(tp, d->name(), p); - (void) s->fe_add_field(f); - } - delete l; - } - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -union_type : - IDL_UNION - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSeen); - } - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionIDSeen); - } - IDL_SWITCH - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchOpenParSeen); - } - switch_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchTypeSeen); - } - ')' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Union *u = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchCloseParSeen); - /* - * Create a node representing a union. Add it to its enclosing - * scope - */ - if ($9 != NULL && s != NULL) { - AST_ConcreteType *tp = AST_ConcreteType::narrow_from_decl($9); - if (tp == NULL) { - idl_global->err()->not_a_type($9); - } else { - u = idl_global->gen()->create_union(tp, n, p); - (void) s->fe_add_union(u); - } - } - /* - * Push the scope of the union on the scopes stack - */ - idl_global->scopes()->push(u); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSqSeen); - } - at_least_one_case_branch - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionQsSeen); - /* - * Done with this union. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } - ; - -switch_type_spec : - integer_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | char_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | octet_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | boolean_type - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | enum_type - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *p = NULL; - AST_Typedef *t = NULL; - long found = I_FALSE; - - /* - * The discriminator is a scoped name. Try to resolve to - * one of the scalar types or to an enum. Thread through - * typedef's to arrive at the base type at the end of the - * chain - */ - if (s != NULL && (d = s->lookup_by_name($1, I_TRUE)) != NULL) { - while (!found) { - switch (d->node_type()) { - case AST_Decl::NT_enum: - $$ = d; - found = I_TRUE; - break; - case AST_Decl::NT_pre_defined: - p = AST_PredefinedType::narrow_from_decl(d); - if (p != NULL) { - switch (p->pt()) { - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_char: - case AST_PredefinedType::PT_wchar: - case AST_PredefinedType::PT_octet: - case AST_PredefinedType::PT_boolean: - $$ = p; - found = I_TRUE; - break; - default: - $$ = NULL; - found = I_TRUE; - break; - } - } - break; - case AST_Decl::NT_typedef: - t = AST_Typedef::narrow_from_decl(d); - if (t != NULL) d = t->base_type(); - break; - default: - $$ = NULL; - found = I_TRUE; - break; - } - } - } else - $$ = NULL; - - if ($$ == NULL) - idl_global->err()->lookup_error($1); - } - ; - -at_least_one_case_branch : case_branch case_branches ; - -case_branches - : case_branches case_branch - | /* empty */ - ; - -case_branch : - at_least_one_case_label - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionLabelSeen); - } - element_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemSeen); - } - ';' - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_LabellistActiveIterator *l = NULL; - AST_UnionLabel *d = NULL; - AST_UnionBranch *b = NULL; - AST_Field *f = $3; - - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemCompleted); - /* - * Create several nodes representing branches of a union. - * Add them to the enclosing scope (the union scope) - */ - if (s != NULL && $1 != NULL && $3 != NULL) { - l = new UTL_LabellistActiveIterator($1); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - b = idl_global->gen()->create_union_branch(d, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - delete l; - } - } - | error - { - idl_global->err()->syntax_error(idl_global->parse_state()); - } - ';' - - { - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } - ; - -at_least_one_case_label : - case_label case_labels - { - $$ = new UTL_LabelList($1, $2); - } - ; - -case_labels - : case_labels case_label - { - if ($1 == NULL) - $$ = new UTL_LabelList($2, NULL); - else { - $1->nconc(new UTL_LabelList($2, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -case_label - : IDL_DEFAULT - { - idl_global->set_parse_state(IDL_GlobalData::PS_DefaultSeen); - } - ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - $$ = idl_global->gen()-> - create_union_label(AST_UnionLabel::UL_default, - NULL); - } - | IDL_CASE - { - idl_global->set_parse_state(IDL_GlobalData::PS_CaseSeen); - } - const_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelExprSeen); - } - ':' - { - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - $$ = idl_global->gen()->create_union_label(AST_UnionLabel::UL_label, - $3); - } - ; - -element_spec : - type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemTypeSeen); - } - declarator - { - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemDeclSeen); - /* - * Check for illegal recursive use of type - */ - if ($1 != NULL && AST_illegal_recursive_type($1)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, $1); - /* - * Create a field in a union branch - */ - else if ($1 == NULL || $3 == NULL) - $$ = NULL; - else { - AST_Type *tp = $3->compose($1); - if (tp == NULL) - $$ = NULL; - else - $$ = idl_global->gen()->create_field(tp, - $3->name(), - idl_global->pragmas()); - } - } - ; - -enum_type : - IDL_ENUM - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Enum *e = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_EnumIDSeen); - /* - * Create a node representing an enum and add it to its - * enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_enum(n, p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_enum(e); - } - /* - * Push the enum scope on the scopes stack - */ - idl_global->scopes()->push(e); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSqSeen); - } - at_least_one_enumerator - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumQsSeen); - /* - * Done with this enum. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - $$ = NULL; - else { - $$ = AST_Enum::narrow_from_scope(idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } - ; - -at_least_one_enumerator : enumerator enumerators ; - -enumerators - : enumerators - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_EnumCommaSeen); - } - enumerator - | /* EMPTY */ - ; - -enumerator : - IDENTIFIER - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($1, 1, 0, I_FALSE), NULL); - AST_EnumVal *e = NULL; - AST_Enum *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - - /* - * Create a node representing one enumerator in an enum - * Add it to the enclosing scope (the enum scope) - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_enum) { - c = AST_Enum::narrow_from_scope(s); - if (c != NULL) - e = idl_global->gen()->create_enum_val(c->next_enum_val(), n, p); - (void) s->fe_add_enum_val(e); - } - } - ; - -sequence_type_spec - : seq_head - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceCommaSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else if ($1 == NULL) { - $$ = NULL; - } else { - AST_Type *tp = AST_Type::narrow_from_decl($1); - if (tp == NULL) - $$ = NULL; - else { - $$ = idl_global->gen()->create_sequence($4, tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl($$)); - } - } - } - | seq_head - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if ($1 == NULL) - $$ = NULL; - else { - AST_Type *tp = AST_Type::narrow_from_decl($1); - if (tp == NULL) - $$ = NULL; - else { - $$ = - idl_global->gen()->create_sequence( - idl_global->gen()->create_expr((unsigned long) 0), - tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl($$)); - } - } - } - ; - -seq_head: - IDL_SEQUENCE - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSeen); - /* - * Push a sequence marker on scopes stack - */ - idl_global->scopes()->push(NULL); - } - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSqSeen); - } - simple_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceTypeSeen); - $$ = $5; - } - ; - -string_type_spec - : string_head - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else { - $$ = idl_global->gen()->create_string($4); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - } - | string_head - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - $$ = - idl_global->gen()->create_string( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - ; - -string_head: - IDL_STRING - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } - ; - -wstring_type_spec - : wstring_head - '<' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } - '>' - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if ($4 == NULL || $4->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($4, AST_Expression::EV_ulong); - $$ = NULL; - } else { - $$ = idl_global->gen()->create_wstring($4); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - } - | wstring_head - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - $$ = - idl_global->gen()->create_wstring( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl($$)); - } - ; - -wstring_head: - IDL_WSTRING - { - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } - ; - -array_declarator : - id - { - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayIDSeen); - } - at_least_one_array_dim - { - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayCompleted); - /* - * Create a node representing an array - */ - if ($3 != NULL) { - $$ = idl_global->gen()->create_array(new UTL_ScopedName($1, NULL), - $3->length(), $3); - } - } - ; - -at_least_one_array_dim : - array_dim array_dims - { - $$ = new UTL_ExprList($1, $2); - } - ; - -array_dims - : array_dims array_dim - { - if ($1 == NULL) - $$ = new UTL_ExprList($2, NULL); - else { - $1->nconc(new UTL_ExprList($2, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -array_dim : - '[' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimSqSeen); - } - positive_int_expr - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimExprSeen); - } - ']' - { - idl_global->set_parse_state(IDL_GlobalData::PS_DimQsSeen); - /* - * Array dimensions are expressions which must be coerced to - * positive integers - */ - if ($3 == NULL || $3->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error($3, AST_Expression::EV_ulong); - $$ = NULL; - } else - $$ = $3; - } - ; - -attribute: - opt_readonly - IDL_ATTRIBUTE - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrSeen); - } - param_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrTypeSeen); - } - at_least_one_simple_declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - AST_Attribute *a = NULL; - FE_Declarator *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_AttrCompleted); - /* - * Create nodes representing attributes and add them to the - * enclosing scope - */ - if (s != NULL && $4 != NULL && $6 != NULL) { - l = new UTL_DecllistActiveIterator($6); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose($4); - if (tp == NULL) - continue; - a = idl_global->gen()->create_attribute($1, tp, d->name(), p); - /* - * Add one attribute to the enclosing scope - */ - (void) s->fe_add_attribute(a); - } - delete l; - } - } - ; - -opt_readonly - : IDL_READONLY - { - idl_global->set_parse_state(IDL_GlobalData::PS_AttrROSeen); - $$ = I_TRUE; - } - | /* EMPTY */ - { - $$ = I_FALSE; - } - ; - -exception : - IDL_EXCEPTION - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSeen); - } - id - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName($3, NULL); - AST_Exception *e = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptIDSeen); - /* - * Create a node representing an exception and add it to - * the enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_exception(n, p); - (void) s->fe_add_exception(e); - } - /* - * Push the exception scope on the scope stack - */ - idl_global->scopes()->push(e); - } - '{' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSqSeen); - } - members - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptBodySeen); - } - '}' - { - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptQsSeen); - /* - * Done with this exception. Pop its scope from the scope stack - */ - idl_global->scopes()->pop(); - } - ; - -operation : - opt_op_attribute - op_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpTypeSeen); - } - IDENTIFIER - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier($4, 1, 0, I_FALSE), NULL); - AST_Operation *o = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpIDSeen); - /* - * Create a node representing an operation on an interface - * and add it to its enclosing scope - */ - if (s != NULL && $2 != NULL) { - AST_Type *tp = AST_Type::narrow_from_decl($2); - if (tp == NULL) { - idl_global->err()->not_a_type($2); - } else if (tp->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type($2); - } else { - o = idl_global->gen()->create_operation(tp, $1, n, p); - (void) s->fe_add_operation(o); - } - } - /* - * Push the operation scope onto the scopes stack - */ - idl_global->scopes()->push(o); - } - parameter_list - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParsCompleted); - } - opt_raises - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseCompleted); - } - opt_context - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Operation *o = NULL; - - idl_global->set_parse_state(IDL_GlobalData::PS_OpCompleted); - /* - * Add exceptions and context to the operation - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_op) { - o = AST_Operation::narrow_from_scope(s); - - if ($8 != NULL && o != NULL) - (void) o->fe_add_exceptions($8); - if ($10 != NULL) - (void) o->fe_add_context($10); - } - /* - * Done with this operation. Pop its scope from the scopes stack - */ - idl_global->scopes()->pop(); - } - ; - -opt_op_attribute - : IDL_ONEWAY - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - $$ = AST_Operation::OP_oneway; - } - | IDL_IDEMPOTENT - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - $$ = AST_Operation::OP_idempotent; - } - | /* EMPTY */ - { - $$ = AST_Operation::OP_noflags; - } - ; - -op_type_spec - : param_type_spec - | IDL_VOID - { - $$ = - idl_global->scopes()->bottom() - ->lookup_primitive_type(AST_Expression::EV_void); - } - ; - -parameter_list - : '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } - | '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } - at_least_one_parameter - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } - ; - -at_least_one_parameter : parameter parameters ; - -parameters - : parameters - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParCommaSeen); - } - parameter - | /* EMPTY */ - ; - -parameter : - direction - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDirSeen); - } - param_type_spec - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpParTypeSeen); - } - declarator - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Argument *a = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDeclSeen); - /* - * Create a node representing an argument to an operation - * Add it to the enclosing scope (the operation scope) - */ - if ($3 != NULL && $5 != NULL && s != NULL) { - AST_Type *tp = $5->compose($3); - if (tp != NULL) { - a = idl_global->gen()->create_argument($1, tp, $5->name(), p); - (void) s->fe_add_argument(a); - } - } - } - ; - -param_type_spec - : base_type_spec - { - $$ = idl_global->scopes()->bottom()->lookup_primitive_type($1); - } - | string_type_spec - | scoped_name - { - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name($1, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error($1); - $$ = d; - } - ; - -direction - : IDL_IN - { - $$ = AST_Argument::dir_IN; - } - | IDL_OUT - { - $$ = AST_Argument::dir_OUT; - } - | IDL_INOUT - { - $$ = AST_Argument::dir_INOUT; - } - ; - -opt_raises - : IDL_RAISES - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSqSeen); - } - at_least_one_scoped_name - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseQsSeen); - $$ = $5; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -opt_context - : IDL_CONTEXT - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSeen); - } - '(' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSqSeen); - } - at_least_one_string_literal - ')' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextQsSeen); - $$ = $5; - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -at_least_one_string_literal : - IDL_STRING_LITERAL string_literals - { - $$ = new UTL_StrList($1, $2); - } - ; - -string_literals - : string_literals - ',' - { - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextCommaSeen); - } - IDL_STRING_LITERAL - { - if ($1 == NULL) - $$ = new UTL_StrList($4, NULL); - else { - $1->nconc(new UTL_StrList($4, NULL)); - $$ = $1; - } - } - | /* EMPTY */ - { - $$ = NULL; - } - ; - -%% -/* programs */ - -/* - * ??? - */ -int -yywrap() -{ - return 1; -} - -/* - * Report an error situation discovered in a production - * - * This does not do anything since we report all error situations through - * idl_global->err() operations - */ -void -yyerror(char *) -{ -} diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp deleted file mode 100644 index ca89291620e..00000000000 --- a/TAO/TAO_IDL/fe/lex.yy.cpp +++ /dev/null @@ -1,2184 +0,0 @@ -/* A lexical scanner generated by flex */ - -/* Scanner skeleton version: - * $Header: /home/daffy/u0/vern/flex/flex-2.4.7/RCS/flex.skl,v 1.2 94/08/03 11:13:24 vern Exp $ - */ - -#define FLEX_SCANNER - -#include /**/ <stdio.h> - - -/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ -#ifdef c_plusplus -#ifndef __cplusplus -#define __cplusplus -#endif -#endif - - -#ifdef __cplusplus - -#include /**/ <stdlib.h> -#include /**/ <stdio.h> - -/* Use prototypes in function declarations. */ -#define YY_USE_PROTOS - -/* The "const" storage-class-modifier is valid. */ -#define YY_USE_CONST - -#else /* ! __cplusplus */ - -#ifdef __STDC__ - -#define YY_USE_PROTOS -#define YY_USE_CONST - -#endif /* __STDC__ */ -#endif /* ! __cplusplus */ - - -#ifdef __TURBOC__ -#define YY_USE_CONST -#endif - - -#ifndef YY_USE_CONST -#ifndef const -#define const -#endif -#endif - - -#ifdef YY_USE_PROTOS -#define YY_PROTO(proto) proto -#else -#define YY_PROTO(proto) () -#endif - -/* Returned upon end-of-file. */ -#define YY_NULL 0 - -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. - */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) - -/* Enter a start condition. This macro really ought to take a parameter, - * but we do it the disgusting crufty way forced on us by the ()-less - * definition of BEGIN. - */ -#define BEGIN yy_start = 1 + 2 * - -/* Translate the current start state into a value that can be later handed - * to BEGIN to return to the state. - */ -#define YY_START ((yy_start - 1) / 2) - -/* Action number for EOF rule of a given start state. */ -#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - -/* Special action meaning "start processing a new file". Now included - * only for backward compatibility with previous versions of flex. - */ -#define YY_NEW_FILE yyrestart( yyin ) - -#define YY_END_OF_BUFFER_CHAR 0 - -/* Size of default input buffer. */ -#define YY_BUF_SIZE 16384 - -typedef struct yy_buffer_state *YY_BUFFER_STATE; - -extern int yyleng; -extern FILE *yyin, *yyout; - -#ifdef __cplusplus -extern "C" { -#endif - extern int yywrap YY_PROTO(( void )); -#ifdef __cplusplus - } -#endif - -#define EOB_ACT_CONTINUE_SCAN 0 -#define EOB_ACT_END_OF_FILE 1 -#define EOB_ACT_LAST_MATCH 2 - -/* The funky do-while in the following #define is used to turn the definition - * int a single C statement (which needs a semi-colon terminator). This - * avoids problems with code like: - * - * if ( condition_holds ) - * yyless( 5 ); - * else - * do_something_else(); - * - * Prior to using the do-while the compiler would get upset at the - * "else" because it interpreted the "if" statement as being all - * done when it reached the ';' after the yyless() call. - */ - -/* Return all but the first 'n' matched characters back to the input stream. */ - -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - *yy_cp = yy_hold_char; \ - yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up yytext again */ \ - } \ - while ( 0 ) - -#define unput(c) yyunput( c, yytext_ptr ) - - -struct yy_buffer_state - { - FILE *yy_input_file; - - char *yy_ch_buf; /* input buffer */ - char *yy_buf_pos; /* current position in input buffer */ - - /* Size of input buffer in bytes, not including room for EOB - * characters. - */ - int yy_buf_size; - - /* Number of characters read into yy_ch_buf, not including EOB - * characters. - */ - int yy_n_chars; - - /* Whether this is an "interactive" input source; if so, and - * if we're using stdio for input, then we want to use getc() - * instead of fread(), to make sure we stop fetching input after - * each newline. - */ - int yy_is_interactive; - - /* Whether to try to fill the input buffer when we reach the - * end of it. - */ - int yy_fill_buffer; - - int yy_buffer_status; -#define YY_BUFFER_NEW 0 -#define YY_BUFFER_NORMAL 1 - /* When an EOF's been seen but there's still some text to process - * then we mark the buffer as YY_EOF_PENDING, to indicate that we - * shouldn't try reading from the input source any more. We might - * still have a bunch of tokens to match, though, because of - * possible backing-up. - * - * When we actually see the EOF, we change the status to "new" - * (via yyrestart()), so that the user can continue scanning by - * just pointing yyin at a new input file. - */ -#define YY_BUFFER_EOF_PENDING 2 - }; - -static YY_BUFFER_STATE yy_current_buffer = 0; - -/* We provide macros for accessing buffer states in case in the - * future we want to put the buffer states in a more general - * "scanner state". - */ -#define YY_CURRENT_BUFFER yy_current_buffer - - -/* yy_hold_char holds the character lost when yytext is formed. */ -static char yy_hold_char; - -static int yy_n_chars; /* number of characters read into yy_ch_buf */ - - -int yyleng; - -/* Points to current character in buffer. */ -static char *yy_c_buf_p = (char *) 0; -static int yy_init = 1; /* whether we need to initialize */ -static int yy_start = 0; /* start state number */ - -/* Flag which is used to allow yywrap()'s to do buffer switches - * instead of setting up a fresh yyin. A bit of a hack ... - */ -static int yy_did_buffer_switch_on_eof; - -static void yyunput YY_PROTO(( int c, char *buf_ptr )); -void yyrestart YY_PROTO(( FILE *input_file )); -void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); -void yy_load_buffer_state YY_PROTO(( void )); -YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); -void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); -void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); - -static int yy_start_stack_ptr = 0; -static int yy_start_stack_depth = 0; -static int *yy_start_stack = 0; -static void yy_push_state YY_PROTO(( int new_state )); -static void yy_pop_state YY_PROTO(( void )); -static int yy_top_state YY_PROTO(( void )); - -static void *yy_flex_alloc YY_PROTO(( unsigned int )); -static void *yy_flex_realloc YY_PROTO(( void *, unsigned int )); -static void yy_flex_free YY_PROTO(( void * )); - -#define yy_new_buffer yy_create_buffer - -#define INITIAL 0 -typedef unsigned char YY_CHAR; -typedef int yy_state_type; -FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; -extern char yytext[]; - - -#ifndef yytext_ptr -static void yy_flex_strncpy YY_PROTO(( char *, const char *, int )); -#endif - -#ifdef __cplusplus -static int yyinput YY_PROTO(( void )); -#else -static int input YY_PROTO(( void )); -#endif - -static yy_state_type yy_get_previous_state YY_PROTO(( void )); -static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); -static int yy_get_next_buffer YY_PROTO(( void )); -static void yy_fatal_error YY_PROTO(( const char msg[] )); - -/* Done after the current pattern has been matched and before the - * corresponding action - sets up yytext. - */ -#define YY_DO_BEFORE_ACTION \ - yytext_ptr = yy_bp; \ - yyleng = yy_cp - yy_bp; \ - yy_hold_char = *yy_cp; \ - *yy_cp = '\0'; \ - if ( yyleng >= YYLMAX ) \ - YY_FATAL_ERROR( "token too large, exceeds YYLMAX" ); \ - yy_flex_strncpy( yytext, yytext_ptr, yyleng + 1 ); \ - yy_c_buf_p = yy_cp; - -#define YY_END_OF_BUFFER 61 -static const short int yy_accept[278] = - { 0, - 57, 57, 61, 59, 57, 58, 59, 59, 59, 59, - 44, 42, 59, 59, 59, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 59, 57, 0, 45, 0, 0, - 44, 42, 56, 0, 40, 44, 0, 0, 0, 42, - 38, 36, 37, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 33, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 0, 53, 0, 0, 0, 0, - 0, 46, 0, 46, 0, 0, 55, 40, 0, 40, - - 0, 41, 43, 39, 39, 1, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 34, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 0, 0, 0, 0, 0, - 48, 47, 0, 0, 40, 41, 39, 30, 39, 39, - 18, 25, 39, 39, 39, 39, 12, 39, 39, 39, - 39, 22, 39, 39, 39, 39, 39, 39, 39, 39, - 39, 39, 39, 39, 39, 29, 39, 39, 0, 0, - 0, 0, 0, 47, 0, 31, 39, 39, 9, 39, - 39, 39, 39, 20, 32, 39, 39, 28, 39, 39, - - 39, 39, 23, 39, 39, 39, 39, 16, 39, 39, - 39, 51, 0, 0, 0, 0, 39, 39, 39, 39, - 21, 39, 39, 2, 35, 3, 39, 39, 13, 11, - 17, 39, 39, 39, 39, 50, 0, 0, 0, 0, - 0, 0, 39, 27, 7, 19, 39, 39, 39, 39, - 10, 39, 26, 39, 0, 54, 0, 0, 0, 39, - 39, 39, 4, 15, 24, 39, 0, 0, 0, 5, - 6, 8, 14, 52, 0, 49, 0 - } ; - -static const int yy_ec[256] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 4, 1, 5, 6, 1, 1, 1, 7, 1, - 1, 8, 9, 1, 10, 11, 12, 13, 14, 14, - 14, 14, 14, 14, 14, 15, 15, 16, 1, 17, - 1, 18, 1, 1, 19, 20, 20, 20, 21, 22, - 23, 23, 23, 23, 23, 24, 23, 23, 23, 23, - 23, 25, 26, 27, 28, 23, 23, 29, 23, 23, - 1, 30, 1, 1, 31, 1, 32, 33, 34, 35, - - 36, 37, 38, 39, 40, 23, 23, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 23, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1 - } ; - -static const int yy_meta[55] = - { 0, - 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 3, 3, 3, 1, 1, 1, 3, 3, - 3, 3, 4, 4, 4, 4, 4, 4, 4, 1, - 4, 3, 3, 3, 3, 3, 3, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4 - } ; - -static const short int yy_base[288] = - { 0, - 0, 439, 444, 446, 53, 446, 438, 412, 45, 53, - 53, 58, 425, 423, 421, 0, 419, 412, 13, 392, - 31, 40, 34, 394, 391, 389, 388, 47, 56, 44, - 377, 387, 385, 51, 105, 96, 423, 446, 420, 88, - 100, 111, 446, 423, 141, 128, 155, 170, 0, 160, - 446, 446, 446, 0, 401, 396, 369, 373, 377, 372, - 387, 375, 380, 366, 365, 380, 369, 42, 369, 376, - 361, 373, 359, 367, 374, 359, 360, 356, 362, 356, - 64, 360, 360, 349, 184, 446, 111, 189, 362, 356, - 348, 446, 387, 386, 120, 389, 446, 0, 196, 446, - - 144, 199, 0, 365, 369, 0, 342, 347, 351, 339, - 82, 353, 351, 341, 346, 349, 330, 343, 340, 327, - 340, 323, 0, 326, 338, 322, 324, 88, 321, 333, - 324, 327, 331, 333, 317, 358, 357, 325, 317, 327, - 446, 446, 187, 202, 213, 446, 337, 0, 317, 320, - 0, 0, 306, 318, 303, 311, 0, 306, 301, 300, - 301, 0, 306, 297, 313, 308, 299, 306, 292, 297, - 305, 304, 302, 293, 297, 0, 287, 293, 327, 157, - 288, 294, 291, 446, 321, 0, 294, 294, 0, 272, - 283, 287, 273, 0, 0, 284, 284, 0, 265, 270, - - 274, 273, 0, 277, 265, 274, 276, 0, 268, 279, - 266, 446, 205, 259, 228, 265, 256, 262, 255, 254, - 0, 262, 269, 0, 0, 0, 237, 238, 0, 0, - 0, 220, 215, 199, 201, 446, 231, 235, 245, 251, - 248, 201, 182, 0, 0, 0, 181, 188, 153, 159, - 0, 155, 0, 158, 169, 446, 162, 146, 101, 112, - 101, 104, 0, 0, 0, 88, 130, 120, 114, 0, - 0, 0, 0, 446, 107, 446, 446, 266, 270, 272, - 276, 280, 75, 284, 288, 292, 296 - } ; - -static const short int yy_def[288] = - { 0, - 277, 1, 277, 277, 277, 277, 278, 279, 277, 277, - 277, 277, 277, 277, 277, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 277, 277, 278, 277, 277, 281, - 277, 277, 277, 282, 277, 277, 277, 277, 283, 277, - 277, 277, 277, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 277, 277, 35, 277, 277, 277, - 277, 277, 277, 277, 277, 282, 277, 45, 277, 277, - - 277, 277, 283, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 284, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 284, 277, - 277, 277, 277, 277, 277, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 277, 277, 277, 277, 277, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 280, 277, 277, 285, 277, 277, - 277, 277, 280, 280, 280, 280, 280, 280, 280, 280, - 280, 280, 280, 280, 285, 277, 286, 277, 277, 280, - 280, 280, 280, 280, 280, 280, 286, 277, 287, 280, - 280, 280, 280, 277, 287, 277, 0, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277 - } ; - -static const short int yy_nxt[501] = - { 0, - 4, 5, 6, 5, 7, 4, 8, 4, 4, 9, - 4, 10, 11, 12, 12, 13, 14, 15, 16, 16, - 16, 17, 16, 16, 16, 16, 18, 16, 16, 4, - 4, 19, 20, 21, 22, 23, 24, 16, 16, 25, - 26, 27, 16, 28, 16, 16, 29, 30, 31, 32, - 33, 34, 16, 16, 36, 57, 36, 41, 42, 42, - 43, 58, 60, 45, 44, 46, 46, 47, 45, 61, - 50, 50, 50, 48, 62, 63, 65, 103, 48, 76, - 71, 49, 77, 64, 83, 117, 66, 74, 48, 72, - 118, 75, 78, 48, 94, 79, 73, 36, 84, 36, - - 95, 95, 269, 131, 269, 49, 85, 86, 87, 276, - 45, 132, 46, 46, 47, 136, 276, 88, 88, 88, - 48, 45, 274, 50, 50, 50, 142, 170, 49, 153, - 154, 48, 143, 143, 268, 48, 273, 171, 45, 272, - 46, 46, 47, 271, 89, 90, 48, 270, 48, 91, - 257, 277, 49, 98, 98, 98, 102, 102, 102, 212, - 213, 99, 100, 48, 100, 45, 268, 47, 47, 47, - 45, 256, 50, 50, 50, 48, 99, 100, 101, 101, - 48, 100, 102, 102, 102, 85, 86, 87, 266, 265, - 48, 86, 137, 184, 264, 48, 88, 88, 88, 185, - - 185, 88, 88, 88, 144, 144, 263, 236, 145, 145, - 145, 102, 102, 102, 145, 145, 145, 237, 237, 237, - 146, 262, 146, 89, 261, 145, 145, 145, 91, 239, - 260, 240, 259, 236, 100, 146, 100, 256, 254, 146, - 241, 241, 241, 237, 237, 237, 239, 253, 240, 100, - 252, 258, 239, 100, 240, 257, 251, 241, 241, 241, - 241, 241, 241, 241, 241, 241, 37, 37, 37, 37, - 39, 250, 39, 39, 54, 54, 93, 249, 93, 93, - 96, 96, 96, 96, 179, 179, 179, 179, 255, 255, - 255, 255, 267, 267, 267, 267, 275, 275, 275, 275, - - 248, 247, 246, 245, 244, 243, 242, 238, 235, 234, - 233, 232, 231, 230, 229, 228, 227, 226, 225, 224, - 223, 222, 221, 220, 219, 218, 217, 184, 216, 215, - 214, 180, 211, 210, 209, 208, 207, 206, 205, 204, - 203, 202, 201, 200, 199, 198, 197, 196, 195, 194, - 193, 192, 191, 190, 189, 188, 187, 186, 183, 182, - 181, 136, 180, 178, 177, 176, 175, 174, 173, 172, - 169, 168, 167, 166, 165, 164, 163, 162, 161, 160, - 159, 158, 157, 156, 155, 152, 151, 150, 149, 148, - 147, 97, 141, 141, 140, 139, 138, 135, 134, 133, - - 130, 129, 128, 127, 126, 125, 124, 123, 122, 121, - 120, 119, 116, 115, 114, 113, 112, 111, 110, 109, - 108, 107, 106, 105, 104, 97, 92, 38, 82, 81, - 80, 70, 69, 68, 67, 59, 56, 55, 53, 52, - 51, 40, 38, 277, 35, 3, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277 - - } ; - -static const short int yy_chk[501] = - { 0, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 5, 19, 5, 9, 9, 9, - 10, 19, 21, 11, 10, 11, 11, 11, 12, 21, - 12, 12, 12, 11, 21, 22, 23, 283, 12, 30, - 28, 11, 30, 22, 34, 68, 23, 29, 11, 28, - 68, 29, 30, 12, 40, 30, 28, 36, 34, 36, - - 40, 40, 259, 81, 259, 11, 35, 35, 35, 275, - 41, 81, 41, 41, 41, 87, 269, 35, 35, 35, - 41, 42, 268, 42, 42, 42, 95, 128, 41, 111, - 111, 42, 95, 95, 267, 41, 266, 128, 46, 262, - 46, 46, 46, 261, 35, 35, 42, 260, 46, 35, - 258, 87, 41, 45, 45, 45, 101, 101, 101, 180, - 180, 45, 45, 46, 45, 47, 257, 47, 47, 47, - 50, 255, 50, 50, 50, 47, 45, 45, 48, 48, - 50, 45, 48, 48, 48, 85, 85, 85, 254, 252, - 47, 88, 88, 143, 250, 50, 85, 85, 85, 143, - - 143, 88, 88, 88, 99, 99, 249, 213, 99, 99, - 99, 102, 102, 102, 144, 144, 144, 213, 213, 213, - 102, 248, 102, 85, 247, 145, 145, 145, 85, 215, - 243, 215, 242, 237, 145, 102, 145, 238, 235, 102, - 215, 215, 215, 237, 237, 237, 239, 234, 239, 145, - 233, 241, 240, 145, 240, 240, 232, 239, 239, 239, - 241, 241, 241, 240, 240, 240, 278, 278, 278, 278, - 279, 228, 279, 279, 280, 280, 281, 227, 281, 281, - 282, 282, 282, 282, 284, 284, 284, 284, 285, 285, - 285, 285, 286, 286, 286, 286, 287, 287, 287, 287, - - 223, 222, 220, 219, 218, 217, 216, 214, 211, 210, - 209, 207, 206, 205, 204, 202, 201, 200, 199, 197, - 196, 193, 192, 191, 190, 188, 187, 185, 183, 182, - 181, 179, 178, 177, 175, 174, 173, 172, 171, 170, - 169, 168, 167, 166, 165, 164, 163, 161, 160, 159, - 158, 156, 155, 154, 153, 150, 149, 147, 140, 139, - 138, 137, 136, 135, 134, 133, 132, 131, 130, 129, - 127, 126, 125, 124, 122, 121, 120, 119, 118, 117, - 116, 115, 114, 113, 112, 110, 109, 108, 107, 105, - 104, 96, 94, 93, 91, 90, 89, 84, 83, 82, - - 80, 79, 78, 77, 76, 75, 74, 73, 72, 71, - 70, 69, 67, 66, 65, 64, 63, 62, 61, 60, - 59, 58, 57, 56, 55, 44, 39, 37, 33, 32, - 31, 27, 26, 25, 24, 20, 18, 17, 15, 14, - 13, 8, 7, 3, 2, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, - 277, 277, 277, 277, 277, 277, 277, 277, 277, 277 - - } ; - -static yy_state_type yy_last_accepting_state; -static char *yy_last_accepting_cpos; - -/* The intent behind this definition is that it'll catch - * any uses of REJECT which flex missed. - */ -#define REJECT reject_used_but_not_detected -#define yymore() yymore_used_but_not_detected -#define YY_MORE_ADJ 0 -#ifndef YYLMAX -#define YYLMAX 8192 -#endif - -char yytext[YYLMAX]; -char *yytext_ptr; -# line 1 "idl.ll" -# line 3 "idl.ll" -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -IDL_ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -IDL_INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -IDL_ANY OBLIGATION ON THE PART OF Sun OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IDL_IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR IDL_ANY PATENTS BY -IDL_INTERFACE DEFINITION LANGUAGE CFE OR IDL_ANY PART THEREOF. - -IDL_IN NO EVENT WILL SUN OR IDL_ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -IDL_ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * idl.ll - Lexical scanner for IDL 1.1 - */ - -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include "y.tab.h" - -static char idl_escape_reader(char *); -static double idl_atof(char *); -static long idl_atoi(char *, long); -static void idl_parse_line_and_file(char *); -static void idl_store_pragma(char *); - -#if 0 /* defined (HPUX) */ -// HPUX has yytext typed to unsigned char *. We make sure here that -// we'll always use char * static char* __yytext = (char*) yytext; -// NOTE: This will not work under flex(1) were yytext is not a fixed -// buffer, but a dynamically allocated one. This function should do -// the trick for us. -inline char *__yytext() -{ - return (char *) yytext; -} -#define ace_yytext __yytext() -#else -#define ace_yytext yytext -#endif /* 0 */ - -/* Macros after this point can all be overridden by user definitions in - * section 1. - */ - -#ifdef YY_MALLOC_DECL -YY_MALLOC_DECL -#else -#if __STDC__ -#ifndef __cplusplus -#include /**/ <stdlib.h> -#endif -#else -/* Just try to get by without declaring the routines. This will fail - * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) - * or sizeof(void*) != sizeof(int). - */ -#endif -#endif - -/* Amount of stuff to slurp up with each read. */ -#ifndef YY_READ_BUF_SIZE -#define YY_READ_BUF_SIZE 8192 -#endif - -/* Copy whatever the last rule matched to the standard output. */ - -#ifndef TAO_ECHO -/* This used to be an fputs(), but since the string might contain NUL's, - * we now use fwrite(). - */ -#define TAO_ECHO (void) fwrite( yytext, yyleng, 1, yyout ) -#endif - -/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, - * is returned in "result". - */ -#ifndef YY_INPUT -#define YY_INPUT(buf,result,max_size) \ - if ( yy_current_buffer->yy_is_interactive ) \ - { \ - int c = getc( yyin ); \ - result = c == EOF ? 0 : 1; \ - buf[0] = (char) c; \ - } \ - else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ - && ferror( yyin ) ) \ - YY_FATAL_ERROR( "input in flex scanner failed" ); -#endif - -/* No semi-colon after return; correct usage is to write "yyterminate();" - - * we don't want an extra ';' after the "return" because that will cause - * some compilers to complain about unreachable statements. - */ -#ifndef yyterminate -#define yyterminate() return YY_NULL -#endif - -/* Number of entries by which start-condition stack grows. */ -#ifndef YY_START_STACK_INCR -#define YY_START_STACK_INCR 25 -#endif - -/* Report a fatal error. */ -#ifndef YY_FATAL_ERROR -#define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) -#endif - -/* Default declaration of generated scanner - a define so the user can - * easily add parameters. - */ -#ifndef YY_DECL -#define YY_DECL int yylex YY_PROTO(( void )) -#endif - -/* Code executed at the beginning of each rule, after yytext and yyleng - * have been set up. - */ -#ifndef YY_USER_ACTION -#define YY_USER_ACTION -#endif - -/* Code executed at the end of each rule. */ -#ifndef YY_BREAK -#define YY_BREAK break; -#endif - -YY_DECL - { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; - -# line 100 "idl.ll" - - - - if ( yy_init ) - { -#ifdef YY_USER_INIT - YY_USER_INIT; -#endif - - if ( ! yy_start ) - yy_start = 1; /* first start state */ - - if ( ! yyin ) - yyin = stdin; - - if ( ! yyout ) - yyout = stdout; - - if ( yy_current_buffer ) - yy_init_buffer( yy_current_buffer, yyin ); - else - yy_current_buffer = - yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_load_buffer_state(); - - yy_init = 0; - } - - while ( 1 ) /* loops until end-of-file is reached */ - { - yy_cp = yy_c_buf_p; - - /* Support of yytext. */ - *yy_cp = yy_hold_char; - - /* yy_bp points to the position in yy_ch_buf of the start of - * the current run. - */ - yy_bp = yy_cp; - - yy_current_state = yy_start; - if ( yy_bp[-1] == '\n' ) - ++yy_current_state; -yy_match: - do - { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 278 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - ++yy_cp; - } - while ( yy_base[yy_current_state] != 446 ); - -yy_find_action: - yy_act = yy_accept[yy_current_state]; - - YY_DO_BEFORE_ACTION; - - -do_action: /* This label is used only to access EOF actions. */ - - - switch ( yy_act ) - { /* beginning of action switch */ - case 0: /* must back up */ - /* undo the effects of YY_DO_BEFORE_ACTION */ - *yy_cp = yy_hold_char; - yy_cp = yy_last_accepting_cpos; - yy_current_state = yy_last_accepting_state; - goto yy_find_action; - -case 1: -YY_USER_ACTION -# line 102 "idl.ll" -return IDL_ANY; - YY_BREAK -case 2: -YY_USER_ACTION -# line 103 "idl.ll" -return IDL_MODULE; - YY_BREAK -case 3: -YY_USER_ACTION -# line 104 "idl.ll" -return IDL_RAISES; - YY_BREAK -case 4: -YY_USER_ACTION -# line 105 "idl.ll" -return IDL_READONLY; - YY_BREAK -case 5: -YY_USER_ACTION -# line 106 "idl.ll" -return IDL_ATTRIBUTE; - YY_BREAK -case 6: -YY_USER_ACTION -# line 107 "idl.ll" -return IDL_EXCEPTION; - YY_BREAK -case 7: -YY_USER_ACTION -# line 108 "idl.ll" -return IDL_CONTEXT; - YY_BREAK -case 8: -YY_USER_ACTION -# line 109 "idl.ll" -return IDL_INTERFACE; - YY_BREAK -case 9: -YY_USER_ACTION -# line 110 "idl.ll" -return IDL_CONST; - YY_BREAK -case 10: -YY_USER_ACTION -# line 111 "idl.ll" -return IDL_TYPEDEF; - YY_BREAK -case 11: -YY_USER_ACTION -# line 112 "idl.ll" -return IDL_STRUCT; - YY_BREAK -case 12: -YY_USER_ACTION -# line 113 "idl.ll" -return IDL_ENUM; - YY_BREAK -case 13: -YY_USER_ACTION -# line 114 "idl.ll" -return IDL_STRING; - YY_BREAK -case 14: -YY_USER_ACTION -# line 115 "idl.ll" -return IDL_WSTRING; - YY_BREAK -case 15: -YY_USER_ACTION -# line 116 "idl.ll" -return IDL_SEQUENCE; - YY_BREAK -case 16: -YY_USER_ACTION -# line 117 "idl.ll" -return IDL_UNION; - YY_BREAK -case 17: -YY_USER_ACTION -# line 118 "idl.ll" -return IDL_SWITCH; - YY_BREAK -case 18: -YY_USER_ACTION -# line 119 "idl.ll" -return IDL_CASE; - YY_BREAK -case 19: -YY_USER_ACTION -# line 120 "idl.ll" -return IDL_DEFAULT; - YY_BREAK -case 20: -YY_USER_ACTION -# line 121 "idl.ll" -return IDL_FLOAT; - YY_BREAK -case 21: -YY_USER_ACTION -# line 122 "idl.ll" -return IDL_DOUBLE; - YY_BREAK -case 22: -YY_USER_ACTION -# line 123 "idl.ll" -return IDL_LONG; - YY_BREAK -case 23: -YY_USER_ACTION -# line 124 "idl.ll" -return IDL_SHORT; - YY_BREAK -case 24: -YY_USER_ACTION -# line 125 "idl.ll" -return IDL_UNSIGNED; - YY_BREAK -case 25: -YY_USER_ACTION -# line 126 "idl.ll" -return IDL_CHAR; - YY_BREAK -case 26: -YY_USER_ACTION -# line 127 "idl.ll" -return IDL_WCHAR; - YY_BREAK -case 27: -YY_USER_ACTION -# line 128 "idl.ll" -return IDL_BOOLEAN; - YY_BREAK -case 28: -YY_USER_ACTION -# line 129 "idl.ll" -return IDL_OCTET; - YY_BREAK -case 29: -YY_USER_ACTION -# line 130 "idl.ll" -return IDL_VOID; - YY_BREAK -case 30: -YY_USER_ACTION -# line 132 "idl.ll" -return IDL_TRUETOK; - YY_BREAK -case 31: -YY_USER_ACTION -# line 133 "idl.ll" -return IDL_FALSETOK; - YY_BREAK -case 32: -YY_USER_ACTION -# line 135 "idl.ll" -return IDL_INOUT; - YY_BREAK -case 33: -YY_USER_ACTION -# line 136 "idl.ll" -return IDL_IN; - YY_BREAK -case 34: -YY_USER_ACTION -# line 137 "idl.ll" -return IDL_OUT; - YY_BREAK -case 35: -YY_USER_ACTION -# line 138 "idl.ll" -return IDL_ONEWAY; - YY_BREAK -case 36: -YY_USER_ACTION -# line 140 "idl.ll" -return IDL_LEFT_SHIFT; - YY_BREAK -case 37: -YY_USER_ACTION -# line 141 "idl.ll" -return IDL_RIGHT_SHIFT; - YY_BREAK -case 38: -YY_USER_ACTION -# line 142 "idl.ll" -{ - yylval.strval = "::"; - return IDL_SCOPE_DELIMITOR; - } - YY_BREAK -case 39: -YY_USER_ACTION -# line 147 "idl.ll" -{ - char *z = (char *) malloc(strlen(ace_yytext) + 1); - strcpy(z, ace_yytext); - yylval.strval = z; - return IDENTIFIER; -} - YY_BREAK -case 40: -YY_USER_ACTION -# line 154 "idl.ll" -{ - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - YY_BREAK -case 41: -YY_USER_ACTION -# line 158 "idl.ll" -{ - yylval.dval = idl_atof(ace_yytext); - return IDL_FLOATING_PT_LITERAL; - } - YY_BREAK -case 42: -YY_USER_ACTION -# line 163 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 10); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 43: -YY_USER_ACTION -# line 167 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 16); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 44: -YY_USER_ACTION -# line 171 "idl.ll" -{ - yylval.ival = idl_atoi(ace_yytext, 8); - return IDL_INTEGER_LITERAL; - } - YY_BREAK -case 45: -YY_USER_ACTION -# line 176 "idl.ll" -{ - /* Skip the quotes */ - char *tmp = ace_yytext; - tmp[strlen(tmp)-1] = '\0'; - yylval.sval = new String(tmp + 1); - return IDL_STRING_LITERAL; - } - YY_BREAK -case 46: -YY_USER_ACTION -# line 183 "idl.ll" -{ - yylval.cval = ace_yytext [1]; - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 47: -YY_USER_ACTION -# line 187 "idl.ll" -{ - // octal character constant - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 48: -YY_USER_ACTION -# line 192 "idl.ll" -{ - yylval.cval = idl_escape_reader(ace_yytext + 1); - return IDL_CHARACTER_LITERAL; - } - YY_BREAK -case 49: -YY_USER_ACTION -# line 196 "idl.ll" -{/* remember pragma */ - idl_global->set_lineno(idl_global->lineno() + 1); - idl_store_pragma(ace_yytext); - } - YY_BREAK -case 50: -YY_USER_ACTION -# line 200 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 51: -YY_USER_ACTION -# line 203 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 52: -YY_USER_ACTION -# line 206 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 53: -YY_USER_ACTION -# line 209 "idl.ll" -{ - idl_parse_line_and_file(ace_yytext); - } - YY_BREAK -case 54: -YY_USER_ACTION -# line 212 "idl.ll" -{ - /* ignore cpp ident */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 55: -YY_USER_ACTION -# line 216 "idl.ll" -{ - /* ignore comments */ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 56: -YY_USER_ACTION -# line 220 "idl.ll" -{ - for(;;) { - char c = yyinput(); - if (c == '*') { - char next = yyinput(); - if (next == '/') - break; - else - yyunput(c, NULL); - if (c == '\n') - idl_global->set_lineno(idl_global->lineno() + 1); - } - } - } - YY_BREAK -case 57: -YY_USER_ACTION -# line 234 "idl.ll" -; - YY_BREAK -case 58: -YY_USER_ACTION -# line 235 "idl.ll" -{ - idl_global->set_lineno(idl_global->lineno() + 1); - } - YY_BREAK -case 59: -YY_USER_ACTION -# line 238 "idl.ll" -return ace_yytext [0]; - YY_BREAK -case 60: -YY_USER_ACTION -# line 240 "idl.ll" -TAO_ECHO; - YY_BREAK -case YY_STATE_EOF(INITIAL): - yyterminate(); - - case YY_END_OF_BUFFER: - { - /* Amount of text matched not including the EOB char. */ - int yy_amount_of_matched_text = yy_cp - yytext_ptr - 1; - - /* Undo the effects of YY_DO_BEFORE_ACTION. */ - *yy_cp = yy_hold_char; - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) - { - /* We're scanning a new file or input source. It's - * possible that this happened because the user - * just pointed yyin at a new source and called - * yylex(). If so, then we have to assure - * consistency between yy_current_buffer and our - * globals. Here is the right place to do so, because - * this is the first action (other than possibly a - * back-up) that will match for the new input source. - */ - yy_n_chars = yy_current_buffer->yy_n_chars; - yy_current_buffer->yy_input_file = yyin; - yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; - } - - /* Note that here we test for yy_c_buf_p "<=" to the position - * of the first EOB in the buffer, since yy_c_buf_p will - * already have been incremented past the NUL character - * (since all states make transitions on EOB to the - * end-of-buffer state). Contrast this with the test - * in input(). - */ - if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - { /* This was really a NUL. */ - yy_state_type yy_next_state; - - yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - /* Okay, we're now positioned to make the NUL - * transition. We couldn't have - * yy_get_previous_state() go ahead and do it - * for us because it doesn't know how to deal - * with the possibility of jamming (and we don't - * want to build jamming into it because then it - * will run more slowly). - */ - - yy_next_state = yy_try_NUL_trans( yy_current_state ); - - yy_bp = yytext_ptr + YY_MORE_ADJ; - - if ( yy_next_state ) - { - /* Consume the NUL. */ - yy_cp = ++yy_c_buf_p; - yy_current_state = yy_next_state; - goto yy_match; - } - - else - { - yy_cp = yy_c_buf_p; - goto yy_find_action; - } - } - - else switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - yy_did_buffer_switch_on_eof = 0; - - if ( yywrap() ) - { - /* Note: because we've taken care in - * yy_get_next_buffer() to have set up - * yytext, we can now set up - * yy_c_buf_p so that if some total - * hoser (like flex itself) wants to - * call the scanner after we return the - * YY_NULL, it'll still work - another - * YY_NULL will get returned. - */ - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - - yy_act = YY_STATE_EOF(YY_START); - goto do_action; - } - - else - { - if ( ! yy_did_buffer_switch_on_eof ) - YY_NEW_FILE; - } - break; - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = - yytext_ptr + yy_amount_of_matched_text; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_match; - - case EOB_ACT_LAST_MATCH: - yy_c_buf_p = - &yy_current_buffer->yy_ch_buf[yy_n_chars]; - - yy_current_state = yy_get_previous_state(); - - yy_cp = yy_c_buf_p; - yy_bp = yytext_ptr + YY_MORE_ADJ; - goto yy_find_action; - } - break; - } - - default: - YY_FATAL_ERROR( - "fatal flex scanner internal error--no action found" ); - } /* end of action switch */ - } /* end of scanning one token */ - } /* end of yylex */ - - -/* yy_get_next_buffer - try to read in a new buffer - * - * Returns a code representing an action: - * EOB_ACT_LAST_MATCH - - * EOB_ACT_CONTINUE_SCAN - continue scanning from current position - * EOB_ACT_END_OF_FILE - end of file - */ - -static int yy_get_next_buffer() - { - register char *dest = yy_current_buffer->yy_ch_buf; - register char *source = yytext_ptr - 1; /* copy prev. char, too */ - register int number_to_move, i; - int ret_val; - - if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) - YY_FATAL_ERROR( - "fatal flex scanner internal error--end of buffer missed" ); - - if ( yy_current_buffer->yy_fill_buffer == 0 ) - { /* Don't try to fill the buffer, so this is an EOF. */ - if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) - { - /* We matched a singled characater, the EOB, so - * treat this as a final EOF. - */ - return EOB_ACT_END_OF_FILE; - } - - else - { - /* We matched some text prior to the EOB, first - * process it. - */ - return EOB_ACT_LAST_MATCH; - } - } - - /* Try to read more data. */ - - /* First move last chars to start of buffer. */ - number_to_move = yy_c_buf_p - yytext_ptr; - - for ( i = 0; i < number_to_move; ++i ) - *(dest++) = *(source++); - - if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) - /* don't do the read, it's not guaranteed to return an EOF, - * just force an EOF - */ - yy_n_chars = 0; - - else - { - int num_to_read = - yy_current_buffer->yy_buf_size - number_to_move - 1; - - while ( num_to_read <= 0 ) - { /* Not enough room in the buffer - grow it. */ -#ifdef YY_USES_REJECT - YY_FATAL_ERROR( -"input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); -#else - - /* just a shorter name for the current buffer */ - YY_BUFFER_STATE b = yy_current_buffer; - - int yy_c_buf_p_offset = yy_c_buf_p - b->yy_ch_buf; - - b->yy_buf_size *= 2; - b->yy_ch_buf = (char *) - yy_flex_realloc( (void *) b->yy_ch_buf, - b->yy_buf_size ); - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( - "fatal error - scanner input buffer overflow" ); - - yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; - - num_to_read = yy_current_buffer->yy_buf_size - - number_to_move - 1; -#endif - } - - if ( num_to_read > YY_READ_BUF_SIZE ) - num_to_read = YY_READ_BUF_SIZE; - - /* Read in more data. */ - YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), - yy_n_chars, num_to_read ); - } - - if ( yy_n_chars == 0 ) - { - if ( number_to_move - YY_MORE_ADJ == 1 ) - { - ret_val = EOB_ACT_END_OF_FILE; - yyrestart( yyin ); - } - - else - { - ret_val = EOB_ACT_LAST_MATCH; - yy_current_buffer->yy_buffer_status = - YY_BUFFER_EOF_PENDING; - } - } - - else - ret_val = EOB_ACT_CONTINUE_SCAN; - - yy_n_chars += number_to_move; - yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; - yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; - - /* yytext begins at the second character in yy_ch_buf; the first - * character is the one which preceded it before reading in the latest - * buffer; it needs to be kept around in case it's a newline, so - * yy_get_previous_state() will have with '^' rules active. - */ - - yytext_ptr = &yy_current_buffer->yy_ch_buf[1]; - - return ret_val; - } - - -/* yy_get_previous_state - get the state just before the EOB char was reached */ - -static yy_state_type yy_get_previous_state() - { - register yy_state_type yy_current_state; - register char *yy_cp; - - register char *yy_bp = yytext_ptr; - - yy_current_state = yy_start; - if ( yy_bp[-1] == '\n' ) - ++yy_current_state; - - for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) - { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 278 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - } - - return yy_current_state; - } - - -/* yy_try_NUL_trans - try to make a transition on the NUL character - * - * synopsis - * next_state = yy_try_NUL_trans( current_state ); - */ - -#ifdef YY_USE_PROTOS -static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) -#else -static yy_state_type yy_try_NUL_trans( yy_current_state ) -yy_state_type yy_current_state; -#endif - { - register int yy_is_jam; - register char *yy_cp = yy_c_buf_p; - - register YY_CHAR yy_c = 1; - if ( yy_accept[yy_current_state] ) - { - yy_last_accepting_state = yy_current_state; - yy_last_accepting_cpos = yy_cp; - } - while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) - { - yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 278 ) - yy_c = yy_meta[(unsigned int) yy_c]; - } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 277); - - return yy_is_jam ? 0 : yy_current_state; - } - - -#ifdef YY_USE_PROTOS -static void yyunput( int c, register char *yy_bp ) -#else -static void yyunput( c, yy_bp ) -int c; -register char *yy_bp; -#endif - { - register char *yy_cp = yy_c_buf_p; - - /* undo effects of setting up yytext */ - *yy_cp = yy_hold_char; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - { /* need to shift things up to make room */ - /* +2 for EOB chars. */ - register int number_to_move = yy_n_chars + 2; - register char *dest = &yy_current_buffer->yy_ch_buf[ - yy_current_buffer->yy_buf_size + 2]; - register char *source = - &yy_current_buffer->yy_ch_buf[number_to_move]; - - while ( source > yy_current_buffer->yy_ch_buf ) - *--dest = *--source; - - yy_cp += dest - source; - yy_bp += dest - source; - yy_n_chars = yy_current_buffer->yy_buf_size; - - if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) - YY_FATAL_ERROR( "flex scanner push-back overflow" ); - } - - if ( yy_cp > yy_bp && yy_cp[-1] == '\n' ) - yy_cp[-2] = '\n'; - - *--yy_cp = (char) c; - - - /* Note: the formal parameter *must* be called "yy_bp" for this - * macro to now work correctly. - */ - YY_DO_BEFORE_ACTION; /* set up yytext again */ - } - - -#ifdef __cplusplus -static int yyinput() -#else -static int input() -#endif - { - int c; - - *yy_c_buf_p = yy_hold_char; - - if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) - { - /* yy_c_buf_p now points to the character we want to return. - * If this occurs *before* the EOB characters, then it's a - * valid NUL; if not, then we've hit the end of the buffer. - */ - if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) - /* This was really a NUL. */ - *yy_c_buf_p = '\0'; - - else - { /* need more input */ - yytext_ptr = yy_c_buf_p; - ++yy_c_buf_p; - - switch ( yy_get_next_buffer() ) - { - case EOB_ACT_END_OF_FILE: - { - if ( yywrap() ) - { - yy_c_buf_p = - yytext_ptr + YY_MORE_ADJ; - return EOF; - } - - YY_NEW_FILE; -#ifdef __cplusplus - return yyinput(); -#else - return input(); -#endif - } - - case EOB_ACT_CONTINUE_SCAN: - yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; - break; - - case EOB_ACT_LAST_MATCH: -#ifdef __cplusplus - YY_FATAL_ERROR( - "unexpected last match in yyinput()" ); -#else - YY_FATAL_ERROR( - "unexpected last match in input()" ); -#endif - } - } - } - - c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ - *yy_c_buf_p = '\0'; /* preserve yytext */ - yy_hold_char = *++yy_c_buf_p; - - return c; - } - - -#ifdef YY_USE_PROTOS -void yyrestart( FILE *input_file ) -#else -void yyrestart( input_file ) -FILE *input_file; -#endif - { - if ( ! yy_current_buffer ) - yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); - - yy_init_buffer( yy_current_buffer, input_file ); - yy_load_buffer_state(); - } - - -#ifdef YY_USE_PROTOS -void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) -#else -void yy_switch_to_buffer( new_buffer ) -YY_BUFFER_STATE new_buffer; -#endif - { - if ( yy_current_buffer == new_buffer ) - return; - - if ( yy_current_buffer ) - { - /* Flush out information for old buffer. */ - *yy_c_buf_p = yy_hold_char; - yy_current_buffer->yy_buf_pos = yy_c_buf_p; - yy_current_buffer->yy_n_chars = yy_n_chars; - } - - yy_current_buffer = new_buffer; - yy_load_buffer_state(); - - /* We don't actually know whether we did this switch during - * EOF (yywrap()) processing, but the only time this flag - * is looked at is after yywrap() is called, so it's safe - * to go ahead and always set it. - */ - yy_did_buffer_switch_on_eof = 1; - } - - -#ifdef YY_USE_PROTOS -void yy_load_buffer_state( void ) -#else -void yy_load_buffer_state() -#endif - { - yy_n_chars = yy_current_buffer->yy_n_chars; - yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; - yyin = yy_current_buffer->yy_input_file; - yy_hold_char = *yy_c_buf_p; - } - - -#ifdef YY_USE_PROTOS -YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) -#else -YY_BUFFER_STATE yy_create_buffer( file, size ) -FILE *file; -int size; -#endif - { - YY_BUFFER_STATE b; - - b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); - - if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - b->yy_buf_size = size; - - /* yy_ch_buf has to be 2 characters longer than the size given because - * we need to put in 2 end-of-buffer characters. - */ - b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); - - if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - - yy_init_buffer( b, file ); - - return b; - } - - -#ifdef YY_USE_PROTOS -void yy_delete_buffer( YY_BUFFER_STATE b ) -#else -void yy_delete_buffer( b ) -YY_BUFFER_STATE b; -#endif - { - if ( b == yy_current_buffer ) - yy_current_buffer = (YY_BUFFER_STATE) 0; - - yy_flex_free( (void *) b->yy_ch_buf ); - yy_flex_free( (void *) b ); - } - - -#ifdef YY_USE_PROTOS -void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) -#else -void yy_init_buffer( b, file ) -YY_BUFFER_STATE b; -FILE *file; -#endif - { - b->yy_input_file = file; - - /* We put in the '\n' and start reading from [1] so that an - * initial match-at-newline will be true. - */ - - b->yy_ch_buf[0] = '\n'; - b->yy_n_chars = 1; - - /* We always need two end-of-buffer characters. The first causes - * a transition to the end-of-buffer state. The second causes - * a jam in that state. - */ - b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; - b->yy_ch_buf[2] = YY_END_OF_BUFFER_CHAR; - - b->yy_buf_pos = &b->yy_ch_buf[1]; - - b->yy_is_interactive = file ? isatty( fileno(file) ) : 0; - - b->yy_fill_buffer = 1; - - b->yy_buffer_status = YY_BUFFER_NEW; - } - - -#ifdef YY_USE_PROTOS -static void yy_push_state( int new_state ) -#else -static void yy_push_state( new_state ) -int new_state; -#endif - { - if ( yy_start_stack_ptr >= yy_start_stack_depth ) - { - int new_size; - - yy_start_stack_depth += YY_START_STACK_INCR; - new_size = yy_start_stack_depth * sizeof( int ); - - if ( ! yy_start_stack ) - yy_start_stack = (int *) yy_flex_alloc( new_size ); - - else - yy_start_stack = (int *) yy_flex_realloc( - (void *) yy_start_stack, new_size ); - - if ( ! yy_start_stack ) - YY_FATAL_ERROR( - "out of memory expanding start-condition stack" ); - } - - yy_start_stack[yy_start_stack_ptr++] = YY_START; - - BEGIN(new_state); - } - - -static void yy_pop_state() - { - if ( --yy_start_stack_ptr < 0 ) - YY_FATAL_ERROR( "start-condition stack underflow" ); - - BEGIN(yy_start_stack[yy_start_stack_ptr]); - } - - -static int yy_top_state() - { - return yy_start_stack[yy_start_stack_ptr - 1]; - } - - -#ifdef YY_USE_PROTOS -static void yy_fatal_error( const char msg[] ) -#else -static void yy_fatal_error( msg ) -char msg[]; -#endif - { - (void) fprintf( stderr, "%s\n", msg ); - exit( 1 ); - } - - - -/* Redefine yyless() so it works in section 3 code. */ - -#undef yyless -#define yyless(n) \ - do \ - { \ - /* Undo effects of setting up yytext. */ \ - yytext[yyleng] = yy_hold_char; \ - yy_c_buf_p = yytext + n - YY_MORE_ADJ; \ - yy_hold_char = *yy_c_buf_p; \ - *yy_c_buf_p = '\0'; \ - yyleng = n; \ - } \ - while ( 0 ) - - -/* Internal utility routines. */ - -#ifndef yytext_ptr -#ifdef YY_USE_PROTOS -static void yy_flex_strncpy( char *s1, const char *s2, int n ) -#else -static void yy_flex_strncpy( s1, s2, n ) -char *s1; -const char *s2; -int n; -#endif - { - register int i; - for ( i = 0; i < n; ++i ) - s1[i] = s2[i]; - } -#endif - - -#ifdef YY_USE_PROTOS -static void *yy_flex_alloc( unsigned int size ) -#else -static void *yy_flex_alloc( size ) -unsigned int size; -#endif - { - return (void *) malloc( size ); - } - -#ifdef YY_USE_PROTOS -static void *yy_flex_realloc( void *ptr, unsigned int size ) -#else -static void *yy_flex_realloc( ptr, size ) -void *ptr; -unsigned int size; -#endif - { - return (void *) realloc( ptr, size ); - } - -#ifdef YY_USE_PROTOS -static void yy_flex_free( void *ptr ) -#else -static void yy_flex_free( ptr ) -void *ptr; -#endif - { - free( ptr ); - } -# line 240 "idl.ll" - - /* subroutines */ - -/* - * Strip down a name to the last component, i.e. everything after the last - * '/' character - */ -static char * -stripped_name(UTL_String *fn) -{ - char *n = fn->get_string(); - long l; - - if (n == NULL) - return NULL; - l = strlen(n); - for (n += l; l > 0 && *n != '/'; l--, n--); - if (*n == '/') n++; - return n; -} - -/* - * Parse a #line statement generated by the C preprocessor - */ -static void -idl_parse_line_and_file(char *buf) -{ - char *r = buf; - char *h; - UTL_String *nm; - - /* Skip initial '#' */ - if (*r != '#') - return; - else - r++; - - /* Check to see if we're running under the screwy Microsoft scheme */ - /* of putting #line num instead of #num. */ - - if (ACE_OS::strncmp (r, "line", 4) == 0) - r += 5; - - /* Find line number */ - while (*r == ' ' || *r == '\t') - r++; - h = r; - for (; *r != '\0' && *r != ' ' && *r != '\t'; r++) - continue; - *r++ = 0; - idl_global->set_lineno(idl_atoi(h, 10)); - - /* Find file name, if present */ - for (; *r != '"'; r++) - if (*r == '\n' || *r == '\0') - return; - - h = ++r; - for (; *r != '"'; r++) - continue; - *r = 0; - if (*h == '\0') - idl_global->set_filename(new String("standard input")); - else - { - long i; - long j; - - // Put Microsoft-style pathnames into a canonical form. - for (i = 0, j = 0; h[j] != '\0'; i++, j++) - { - if (h[j] == '\\' && h[j + 1] == '\\') - j++; - - h[i] = h[j]; - } - h[i] = '\0'; - idl_global->set_filename(new String(h)); - } - idl_global->set_in_main_file( - (idl_global->filename()->compare(idl_global->real_filename())) ? - I_TRUE : - I_FALSE - ); - /* - * If it's an import file store the stripped name for the BE to use - */ - if (!(idl_global->in_main_file()) && idl_global->import()) { - nm = new UTL_String(stripped_name(idl_global->filename())); - idl_global->store_include_file_name(nm); - } -} - -/* - * Store a #pragma line into the list of pragmas - */ -static void -idl_store_pragma(char *buf) -{ - char *cp = buf + 1; - while(*cp != 'p') - cp++; - while(*cp != ' ' && *cp != '\t') - cp++; - while(*cp == ' ' || *cp == '\t') - cp++; - char pragma[80]; - char *pp = pragma; - while(*cp != '\n') { - *pp++ = *cp++; - } - *pp = 0; - if (strcmp(pragma, "import") == 0) { - idl_global->set_import(I_TRUE); - return; - } - if (strcmp(pragma, "include") == 0) { - idl_global->set_import(I_FALSE); - return; - } - UTL_StrList *p = idl_global->pragmas(); - if (p == NULL) - idl_global->set_pragmas(new UTL_StrList(new String(buf), NULL)); - else { - p->nconc(new UTL_StrList(new String(buf), NULL)); - idl_global->set_pragmas(p); - } -} - -/* - * idl_atoi - Convert a string of digits into an integer according to base b - */ -static long -idl_atoi(char *s, long b) -{ - long r = 0; - long negative = 0; - - if (*s == '-') { - negative = 1; - s++; - } - if (b == 8 && *s == '0') - s++; - else if (b == 16 && *s == '0' && (*(s + 1) == 'x' || *(s + 1) == 'X')) - s += 2; - - for (; *s; s++) - if (*s <= '9' && *s >= '0') - r = (r * b) + (*s - '0'); - else if (b > 10 && *s <= 'f' && *s >= 'a') - r = (r * b) + (*s - 'a' + 10); - else if (b > 10 && *s <= 'F' && *s >= 'A') - r = (r * b) + (*s - 'A' + 10); - else - break; - - if (negative) - r *= -1; - - return r; -} - -/* - * Convert a string to a float; atof doesn't seem to work, always. - */ -static double -idl_atof(char *s) -{ - char *h = s; - double d = 0.0; - double f = 0.0; - double e, k; - long neg = 0, negexp = 0; - - ACE_UNUSED_ARG (f); - ACE_UNUSED_ARG (h); - - if (*s == '-') { - neg = 1; - s++; - } - while (*s >= '0' && *s <= '9') { - d = (d * 10) + *s - '0'; - s++; - } - if (*s == '.') { - s++; - e = 10; - while (*s >= '0' && *s <= '9') { - d += (*s - '0') / (e * 1.0); - e *= 10; - s++; - } - } - if (*s == 'e' || *s == 'E') { - s++; - if (*s == '-') { - negexp = 1; - s++; - } else if (*s == '+') - s++; - e = 0; - while (*s >= '0' && *s <= '9') { - e = (e * 10) + *s - '0'; - s++; - } - if (e > 0) { - for (k = 1; e > 0; k *= 10, e--); - if (negexp) - d /= k; - else - d *= k; - } - } - - if (neg) d *= -1.0; - - return d; -} - -/* - * Convert (some) escaped characters into their ascii values - */ -static char -idl_escape_reader( - char *str -) -{ - if (str[0] != '\\') { - return str[0]; - } - - switch (str[1]) { - case 'n': - return '\n'; - case 't': - return '\t'; - case 'v': - return '\v'; - case 'b': - return '\b'; - case 'r': - return '\r'; - case 'f': - return '\f'; - case 'a': - return '\a'; - case '\\': - return '\\'; - case '\?': - return '?'; - case '\'': - return '\''; - case '"': - return '"'; - case 'x': - { - int i; - // hex value - for (i = 2; str[i] != '\0' && isxdigit(str[i]); i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoi(&str[2], 16); - str[i] = save; - return out; - } - break; - default: - // check for octal value - if (str[1] >= '0' && str[1] <= '7') { - int i; - for (i = 1; str[i] >= '0' && str[i] <= '7'; i++) { - continue; - } - char save = str[i]; - str[i] = '\0'; - char out = (char)idl_atoi(&str[1], 8); - str[i] = save; - return out; - } else { - return str[1] - 'a'; - } - break; - } -} diff --git a/TAO/TAO_IDL/fe/y.tab.cpp b/TAO/TAO_IDL/fe/y.tab.cpp deleted file mode 100644 index 93e3dbf8b63..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.cpp +++ /dev/null @@ -1,3274 +0,0 @@ - -# line 73 "idl.yy" -#include "idl.h" -#include "idl_extern.h" -#include "fe_private.h" -#include <stdio.h> - -#if (defined(apollo) || defined(hpux)) && defined(__cplusplus) -extern "C" int yywrap(); -#endif // (defined(apollo) || defined(hpux)) && defined(__cplusplus) - -void yyerror (char *); -int yylex (void); -extern "C" int yywrap (void); -extern char yytext[]; -extern int yyleng; -#define YYDEBUG_LEXER_TEXT (yytext[yyleng] = '\0', yytext) -// Force the pretty debugging code to compile. -#define YYDEBUG 1 - -# line 96 "idl.yy" -typedef union -#ifdef __cplusplus - YYSTYPE -#endif - { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} YYSTYPE; -# define IDENTIFIER 257 -# define IDL_CONST 258 -# define IDL_MODULE 259 -# define IDL_INTERFACE 260 -# define IDL_TYPEDEF 261 -# define IDL_LONG 262 -# define IDL_SHORT 263 -# define IDL_UNSIGNED 264 -# define IDL_DOUBLE 265 -# define IDL_FLOAT 266 -# define IDL_CHAR 267 -# define IDL_WCHAR 268 -# define IDL_OCTET 269 -# define IDL_BOOLEAN 270 -# define IDL_ANY 271 -# define IDL_STRUCT 272 -# define IDL_UNION 273 -# define IDL_SWITCH 274 -# define IDL_ENUM 275 -# define IDL_SEQUENCE 276 -# define IDL_STRING 277 -# define IDL_WSTRING 278 -# define IDL_EXCEPTION 279 -# define IDL_CASE 280 -# define IDL_DEFAULT 281 -# define IDL_READONLY 282 -# define IDL_ATTRIBUTE 283 -# define IDL_ONEWAY 284 -# define IDL_IDEMPOTENT 285 -# define IDL_VOID 286 -# define IDL_IN 287 -# define IDL_OUT 288 -# define IDL_INOUT 289 -# define IDL_RAISES 290 -# define IDL_CONTEXT 291 -# define IDL_INTEGER_LITERAL 292 -# define IDL_STRING_LITERAL 293 -# define IDL_CHARACTER_LITERAL 294 -# define IDL_FLOATING_PT_LITERAL 295 -# define IDL_TRUETOK 296 -# define IDL_FALSETOK 297 -# define IDL_SCOPE_DELIMITOR 298 -# define IDL_LEFT_SHIFT 299 -# define IDL_RIGHT_SHIFT 300 - -#ifdef __STDC__ -#include <stdlib.h> -#else -#include <malloc.h> -#include <memory.h> -#endif - -// #include <values.h> - -#ifdef __cplusplus - -#ifndef yyerror - void yyerror(const char *); -#endif - -#ifndef yylex -#ifdef __EXTERN_C__ - extern "C" { int yylex(void); } -#else - int yylex(void); -#endif -#endif - int yyparse(void); - -#endif -#define yyclearin yychar = -1 -#define yyerrok yyerrflag = 0 -extern int yychar; -extern int yyerrflag; -YYSTYPE yylval; -YYSTYPE yyval; -typedef int yytabelem; -#ifndef YYMAXDEPTH -#define YYMAXDEPTH 150 -#endif -#if YYMAXDEPTH > 0 -int yy_yys[YYMAXDEPTH], *yys = yy_yys; -YYSTYPE yy_yyv[YYMAXDEPTH], *yyv = yy_yyv; -#else /* user does initial allocation */ -int *yys; -YYSTYPE *yyv; -#endif -static int yymaxdepth = YYMAXDEPTH; -# define YYERRCODE 256 - -# line 2242 "idl.yy" - -/* programs */ - -/* - * ??? - */ -int -yywrap() -{ - return 1; -} - -/* - * Report an error situation discovered in a production - * - * This does not do anything since we report all error situations through - * idl_global->err() operations - */ -void -yyerror(char *) -{ -} -yytabelem yyexca[] ={ --1, 0, - 0, 3, - -2, 0, --1, 1, - 0, -1, - -2, 0, --1, 3, - 0, 3, - 125, 3, - -2, 0, --1, 23, - 123, 32, - -2, 57, --1, 131, - 91, 228, - -2, 137, --1, 146, - 257, 253, - 262, 253, - 263, 253, - 264, 253, - 265, 253, - 266, 253, - 267, 253, - 268, 253, - 269, 253, - 270, 253, - 271, 253, - 277, 253, - 283, 240, - 286, 253, - 298, 253, - 125, 25, - -2, 0, --1, 178, - 125, 3, - -2, 0, --1, 219, - 125, 244, - -2, 0, --1, 266, - 125, 160, - -2, 0, --1, 317, - 41, 256, - -2, 258, --1, 355, - 125, 183, - -2, 0, - }; -# define YYNPROD 285 -# define YYLAST 524 -yytabelem yyact[]={ - - 68, 128, 152, 329, 342, 125, 53, 164, 66, 238, - 345, 224, 83, 227, 223, 129, 107, 74, 84, 85, - 72, 73, 75, 76, 78, 77, 79, 19, 20, 391, - 21, 86, 87, 88, 83, 98, 386, 100, 101, 102, - 55, 97, 95, 105, 350, 166, 326, 50, 161, 83, - 162, 204, 205, 69, 74, 84, 85, 72, 73, 75, - 76, 78, 77, 79, 19, 20, 236, 21, 86, 87, - 88, 144, 83, 166, 344, 69, 63, 74, 84, 85, - 72, 73, 75, 76, 78, 77, 79, 331, 332, 333, - 69, 86, 87, 88, 347, 346, 109, 109, 347, 346, - 110, 115, 116, 62, 61, 59, 138, 131, 127, 134, - 92, 83, 126, 69, 228, 83, 302, 99, 219, 140, - 74, 84, 85, 72, 73, 75, 76, 78, 77, 79, - 158, 163, 58, 13, 150, 87, 13, 93, 91, 90, - 83, 198, 155, 151, 239, 74, 84, 85, 72, 73, - 75, 76, 78, 77, 79, 156, 69, 51, 6, 154, - 87, 365, 5, 57, 12, 83, 4, 12, 299, 214, - 74, 84, 85, 72, 73, 75, 76, 78, 77, 157, - 288, 69, 159, 55, 83, 87, 88, 55, 287, 298, - 84, 85, 262, 286, 75, 76, 78, 77, 240, 242, - 241, 229, 21, 189, 201, 14, 69, 2, 10, 56, - 11, 25, 323, 11, 145, 143, 142, 141, 103, 19, - 20, 202, 21, 309, 199, 69, 15, 55, 260, 192, - 111, 193, 194, 9, 160, 14, 18, 24, 10, 259, - 247, 218, 139, 114, 113, 131, 281, 382, 112, 19, - 20, 280, 21, 369, 310, 290, 15, 277, 276, 275, - 274, 273, 83, 272, 285, 48, 47, 46, 131, 45, - 44, 43, 384, 371, 55, 41, 206, 297, 207, 13, - 173, 174, 389, 352, 210, 240, 242, 241, 301, 208, - 83, 387, 324, 300, 209, 196, 195, 167, 168, 169, - 170, 171, 172, 69, 381, 186, 338, 327, 315, 185, - 12, 13, 311, 184, 258, 373, 351, 317, 225, 203, - 312, 60, 390, 314, 67, 167, 168, 169, 170, 171, - 172, 69, 380, 217, 361, 362, 315, 253, 254, 337, - 364, 266, 12, 340, 363, 249, 294, 240, 242, 241, - 353, 348, 339, 328, 322, 94, 11, 321, 96, 250, - 366, 248, 336, 372, 55, 131, 376, 375, 374, 370, - 126, 368, 222, 295, 293, 292, 289, 320, 316, 131, - 383, 308, 279, 263, 251, 252, 220, 282, 11, 177, - 283, 255, 256, 257, 119, 34, 211, 212, 213, 307, - 278, 303, 296, 246, 149, 216, 137, 82, 215, 136, - 81, 175, 117, 200, 135, 306, 271, 270, 226, 181, - 123, 38, 378, 379, 360, 359, 357, 377, 356, 355, - 354, 341, 334, 318, 305, 269, 180, 122, 37, 268, - 304, 267, 265, 221, 179, 121, 36, 335, 244, 106, - 49, 32, 261, 176, 118, 33, 133, 108, 243, 235, - 234, 188, 233, 187, 232, 231, 230, 183, 104, 42, - 182, 146, 124, 39, 17, 16, 264, 178, 120, 35, - 31, 30, 8, 29, 7, 28, 27, 26, 3, 1, - 23, 190, 130, 191, 330, 71, 70, 64, 89, 367, - 165, 153, 284, 22, 319, 313, 148, 358, 343, 245, - 197, 325, 40, 147, 388, 385, 349, 80, 237, 132, - 291, 65, 54, 52 }; -yytabelem yypact[]={ - - -23,-10000000,-10000000, -23,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000, 217,-10000000,-10000000, 212, 211, 210, 208, - 207, 206, -208, -92, -146, -140, -146, -146, -146, 95, --10000000,-10000000, -146,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000, -282,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, -165,-10000000,-10000000,-10000000,-10000000,-10000000, - 186, 184, 183,-10000000,-10000000, -161,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -282,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, -223,-10000000, -146,-10000000, -146,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000, -156,-10000000, 182, -146, 94, - 93, 92, -203, 91,-10000000,-10000000, -282,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000, -146,-10000000, 5, 5, 5,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -53, 252, 251, 133, --10000000,-10000000,-10000000, 80, 127, 281, -248, 233, 247,-10000000, --10000000, 33, 33, 33, -282,-10000000, 5,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000, -185, 180,-10000000, -23, -245, - 278, -143, 76,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - -217, -142,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - 178, 5, 5, 5, 5, 5, 5, 5, 5, 5, - 5,-10000000,-10000000,-10000000, 273, 177, 166,-10000000,-10000000, -245, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, - 204, 202, 201, 200, 199, 198,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000, -282, -223, -146, 133, 5,-10000000, 127, 281, - -248, 233, 233, 247, 247,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000, 5,-10000000, 68, 63, 55, -245, -146, 196, -73, - 43, 249,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -117, -141, - -282,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, -282, -166,-10000000, --10000000,-10000000,-10000000, 130, 195, 271, -143, -146, 277,-10000000, --10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, 89, 248, - -244, 266, -200,-10000000,-10000000,-10000000,-10000000,-10000000, 265,-10000000, --10000000,-10000000,-10000000,-10000000, -182, -146, -247, 276,-10000000, 239, - -117,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, 36, -182, -208, 194, -186, 215, - 5, 275, -223, -200, -146,-10000000,-10000000,-10000000,-10000000,-10000000, --10000000,-10000000,-10000000,-10000000, 263,-10000000,-10000000, 188, -146, 214, - -257,-10000000,-10000000,-10000000,-10000000, 250,-10000000,-10000000, 238,-10000000, - -264,-10000000 }; -yytabelem yypgo[]={ - - 0, 14, 157, 523, 522, 521, 8, 209, 132, 520, - 163, 519, 518, 517, 324, 9, 7, 516, 515, 514, - 5, 513, 512, 511, 510, 509, 508, 507, 108, 506, - 505, 504, 503, 502, 2, 501, 159, 142, 155, 179, - 130, 182, 234, 500, 143, 141, 10, 499, 498, 105, - 104, 103, 321, 497, 496, 495, 6, 76, 494, 493, - 1, 15, 492, 491, 490, 0, 166, 489, 207, 488, - 487, 162, 486, 158, 485, 484, 483, 482, 481, 480, - 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, - 469, 468, 467, 466, 465, 464, 463, 462, 461, 460, - 459, 458, 457, 456, 455, 454, 453, 452, 451, 450, - 449, 448, 447, 446, 445, 444, 443, 442, 192, 118, - 441, 440, 439, 438, 437, 436, 435, 434, 433, 432, - 431, 430, 4, 429, 428, 427, 426, 425, 424, 423, - 422, 421, 420, 419, 418, 417, 13, 416, 415, 414, - 413, 412, 411, 410, 409, 408, 407, 406, 405, 404, - 403, 401, 400, 399, 395, 394, 389, 383, 382, 381, - 378, 377, 362, 357, 354, 353, 3, 352, 344, 343, - 340, 339, 335, 334, 332, 322 }; -yytabelem yyr1[]={ - - 0, 67, 68, 68, 70, 69, 72, 69, 74, 69, - 76, 69, 78, 69, 79, 69, 80, 81, 82, 83, - 77, 75, 75, 86, 87, 89, 84, 90, 64, 32, - 91, 22, 22, 88, 88, 93, 92, 94, 92, 95, - 92, 97, 92, 99, 92, 100, 92, 20, 101, 21, - 21, 16, 102, 16, 103, 16, 65, 85, 104, 105, - 106, 107, 71, 48, 48, 48, 48, 48, 48, 48, - 48, 33, 34, 35, 35, 36, 36, 37, 37, 38, - 38, 38, 39, 39, 39, 40, 40, 40, 40, 41, - 41, 41, 41, 42, 42, 42, 43, 43, 43, 43, - 43, 43, 44, 108, 66, 66, 66, 66, 110, 109, - 1, 1, 2, 2, 2, 56, 56, 56, 56, 56, - 56, 4, 4, 4, 3, 3, 3, 28, 111, 29, - 29, 60, 60, 30, 112, 31, 31, 61, 62, 49, - 49, 54, 54, 54, 55, 55, 55, 52, 52, 52, - 50, 50, 57, 51, 53, 113, 114, 115, 117, 7, - 116, 119, 119, 120, 121, 118, 122, 118, 123, 124, - 125, 126, 127, 128, 129, 131, 10, 9, 9, 9, - 9, 9, 9, 130, 133, 133, 134, 135, 132, 136, - 132, 26, 27, 27, 137, 46, 138, 139, 46, 140, - 47, 141, 142, 143, 145, 8, 144, 148, 147, 147, - 146, 149, 150, 5, 5, 151, 152, 13, 154, 155, - 6, 6, 153, 157, 158, 14, 14, 156, 159, 11, - 24, 25, 25, 160, 161, 45, 162, 163, 96, 63, - 63, 164, 165, 166, 167, 73, 168, 169, 171, 172, - 98, 59, 59, 59, 12, 12, 173, 170, 174, 170, - 175, 178, 177, 177, 179, 180, 176, 15, 15, 15, - 58, 58, 58, 181, 182, 23, 23, 183, 184, 17, - 17, 18, 185, 19, 19 }; -yytabelem yyr2[]={ - - 0, 2, 4, 0, 1, 7, 1, 7, 1, 7, - 1, 7, 1, 7, 1, 7, 1, 1, 1, 1, - 19, 2, 2, 1, 1, 1, 15, 1, 7, 5, - 1, 7, 1, 4, 0, 1, 7, 1, 7, 1, - 7, 1, 7, 1, 7, 1, 7, 5, 1, 9, - 1, 3, 1, 7, 1, 9, 3, 3, 1, 1, - 1, 1, 19, 2, 2, 2, 2, 2, 3, 3, - 3, 2, 2, 2, 7, 2, 7, 2, 7, 2, - 7, 7, 2, 7, 7, 2, 7, 7, 7, 2, - 5, 5, 5, 3, 2, 7, 3, 3, 3, 3, - 3, 3, 3, 1, 7, 3, 3, 3, 1, 7, - 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, - 2, 2, 2, 2, 2, 2, 2, 5, 1, 9, - 1, 2, 2, 5, 1, 9, 1, 3, 3, 2, - 2, 3, 5, 3, 5, 7, 5, 3, 3, 5, - 3, 3, 3, 3, 3, 1, 1, 1, 1, 19, - 4, 4, 0, 1, 1, 11, 1, 7, 1, 1, - 1, 1, 1, 1, 1, 1, 35, 3, 3, 3, - 3, 2, 3, 4, 4, 0, 1, 1, 11, 1, - 7, 5, 5, 1, 1, 7, 1, 1, 11, 1, - 7, 1, 1, 1, 1, 19, 4, 1, 8, 0, - 3, 1, 1, 13, 5, 1, 1, 11, 1, 1, - 13, 3, 3, 1, 1, 13, 3, 3, 1, 7, - 5, 5, 1, 1, 1, 11, 1, 1, 13, 3, - 1, 1, 1, 1, 1, 19, 1, 1, 1, 1, - 21, 3, 3, 1, 2, 3, 1, 7, 1, 9, - 4, 1, 8, 0, 1, 1, 11, 3, 2, 3, - 3, 3, 3, 1, 1, 13, 1, 1, 1, 13, - 1, 5, 1, 9, 1 }; -yytabelem yychk[]={ - --10000000, -67, -68, -69, -66, -71, -73, -75, -77, 256, - 261, -7, -10, -8, 258, 279, -84, -85, 259, 272, - 273, 275, -32, -64, 260, -68, -70, -72, -74, -76, - -78, -79, -108, -104, -164, -80, -113, -123, -141, -86, - -22, 58, -90, 59, 59, 59, 59, 59, 59, -109, - -1, -2, -3, -56, -4, -16, -7, -10, -8, -49, - -52, -50, -51, -57, -53, -5, -6, -14, -65, 298, - -54, -55, 265, 266, 262, 267, 268, 270, 269, 271, - -13, -153, -156, 257, 263, 264, 276, 277, 278, -48, - -49, -50, -57, -51, -52, -6, -14, -16, -65, 257, - -65, -65, -65, 123, -91, -65, -110, 298, -102, 262, - 265, 44, 62, 60, 60, 262, 263, -151, -105, -165, - -81, -114, -124, -142, -87, -20, -16, -28, -60, -61, - -62, -65, -11, -103, -65, -149, -154, -157, 262, 60, - -65, 123, 123, 123, 274, 123, -88, -21, -29, -159, - -65, -44, -34, -35, -36, -37, -38, -39, -40, -41, - -42, 43, 45, 126, -16, -43, 40, 292, 293, 294, - 295, 296, 297, -44, -44, -152, -106, -166, -82, -115, - -125, -143, -89, -92, -66, -71, -73, -96, -98, 256, - -63, -59, 282, 284, 285, 44, 44, -24, -45, 91, - -150, 124, 94, 38, 299, 300, 43, 45, 42, 47, - 37, -42, -42, -42, -34, -155, -158, -2, 61, -119, - -68, -116, -118, -1, 256, 40, -144, -146, 257, 125, - -93, -94, -95, -97, -99, -100, 283, -12, -15, 286, - -56, -6, -16, -101, -111, -25, -160, 62, -36, -37, - -38, -39, -39, -40, -40, -41, -41, -41, 41, 62, - 62, -107, -118, -167, -83, -117, -119, -120, -122, -126, - -145, -147, 59, 59, 59, 59, 59, 59, -162, -168, - -16, -60, -45, -44, -33, -34, 125, 125, 125, -28, - 59, -9, -49, -50, -57, -51, -8, -16, 262, 125, - 44, -15, 257, -161, -121, -127, -148, -163, -169, 93, - 59, 41, -146, -30, -61, -65, -170, 40, -128, -31, - -171, -173, -174, 123, 44, -23, 290, 41, -175, -176, - -58, 287, 288, 289, -129, -112, -172, -181, 41, -177, - -179, -130, -132, -26, 256, -46, 281, 280, -61, -17, - 291, 40, 44, -15, -131, -133, -134, -136, -27, -137, - -138, -183, -182, -178, -180, 125, -132, -47, -1, 59, - -46, 58, -34, 40, -20, -176, -60, -135, -140, -139, - -184, 41, 59, -60, 58, -18, 293, 41, -19, 44, - -185, 293 }; -yytabelem yydef[]={ - - -2, -2, 1, -2, 4, 6, 8, 10, 12, 14, - 103, 105, 106, 107, 58, 241, 21, 22, 16, 155, - 168, 201, 23, -2, 27, 2, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 29, 30, 0, 5, 7, 9, 11, 13, 15, 104, - 108, 110, 111, 112, 113, 114, 124, 125, 126, 115, - 116, 117, 118, 119, 120, 121, 122, 123, 51, 52, - 139, 140, 147, 148, 141, 150, 151, 153, 152, 154, - 0, 221, 226, 56, 143, 0, 215, 222, 227, 59, - 63, 64, 65, 66, 67, 68, 69, 70, 242, 17, - 156, 169, 202, 24, 0, 28, 0, 54, 0, 142, - 149, 211, 214, 218, 223, 144, 146, 0, 0, 0, - 0, 0, 0, 0, 34, 31, 50, 109, 130, 131, - 132, -2, 138, 0, 53, 0, 0, 0, 145, 216, - 60, 243, 18, 157, 170, 203, -2, 47, 127, 0, - 55, 212, 102, 72, 73, 75, 77, 79, 82, 85, - 89, 0, 0, 0, 93, 94, 0, 96, 97, 98, - 99, 100, 101, 219, 224, 0, 0, 162, -2, 0, - 0, 0, 0, 33, 35, 37, 39, 41, 43, 45, - 0, 0, 239, 251, 252, 48, 128, 229, 232, 233, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 90, 91, 92, 0, 0, 0, 217, 61, -2, - 19, 158, 162, 163, 166, 171, 204, 209, 210, 26, - 0, 0, 0, 0, 0, 0, 236, 246, 254, 255, - 267, 268, 269, 0, 0, 230, 0, 213, 74, 76, - 78, 80, 81, 83, 84, 86, 87, 88, 95, 220, - 225, 0, 161, 0, 0, 0, -2, 0, 0, 0, - 0, 206, 36, 38, 40, 42, 44, 46, 0, 0, - 49, 129, 231, 234, 62, 71, 245, 20, 159, 164, - 167, 172, 177, 178, 179, 180, 181, 182, 141, 205, - 207, 237, 247, 0, 0, 0, 0, 0, 0, 235, - 165, 173, 208, 238, 136, 137, 248, -2, 0, 133, - 276, 0, 0, 174, 134, 249, 273, 257, 0, 263, - 264, 270, 271, 272, 0, 0, 280, 0, 259, 260, - 0, 175, 185, 186, 189, 193, 194, 196, 135, 250, - 277, 274, 261, 265, 0, -2, 0, 0, 191, 0, - 0, 0, 0, 0, 0, 176, 184, 187, 199, 190, - 192, 195, 197, 278, 0, 262, 266, 0, 0, 0, - 0, 275, 188, 200, 198, 0, 284, 279, 281, 282, - 0, 283 }; -typedef struct -#ifdef __cplusplus - yytoktype -#endif -{ char *t_name; int t_val; } yytoktype; -#ifndef YYDEBUG -# define YYDEBUG 1 /* allow debugging */ -#endif - -#if YYDEBUG - -yytoktype yytoks[] = -{ - {"IDENTIFIER", 257}, - {"IDL_CONST", 258}, - {"IDL_MODULE", 259}, - {"IDL_INTERFACE", 260}, - {"IDL_TYPEDEF", 261}, - {"IDL_LONG", 262}, - {"IDL_SHORT", 263}, - {"IDL_UNSIGNED", 264}, - {"IDL_DOUBLE", 265}, - {"IDL_FLOAT", 266}, - {"IDL_CHAR", 267}, - {"IDL_WCHAR", 268}, - {"IDL_OCTET", 269}, - {"IDL_BOOLEAN", 270}, - {"IDL_ANY", 271}, - {"IDL_STRUCT", 272}, - {"IDL_UNION", 273}, - {"IDL_SWITCH", 274}, - {"IDL_ENUM", 275}, - {"IDL_SEQUENCE", 276}, - {"IDL_STRING", 277}, - {"IDL_WSTRING", 278}, - {"IDL_EXCEPTION", 279}, - {"IDL_CASE", 280}, - {"IDL_DEFAULT", 281}, - {"IDL_READONLY", 282}, - {"IDL_ATTRIBUTE", 283}, - {"IDL_ONEWAY", 284}, - {"IDL_IDEMPOTENT", 285}, - {"IDL_VOID", 286}, - {"IDL_IN", 287}, - {"IDL_OUT", 288}, - {"IDL_INOUT", 289}, - {"IDL_RAISES", 290}, - {"IDL_CONTEXT", 291}, - {"IDL_INTEGER_LITERAL", 292}, - {"IDL_STRING_LITERAL", 293}, - {"IDL_CHARACTER_LITERAL", 294}, - {"IDL_FLOATING_PT_LITERAL", 295}, - {"IDL_TRUETOK", 296}, - {"IDL_FALSETOK", 297}, - {"IDL_SCOPE_DELIMITOR", 298}, - {"IDL_LEFT_SHIFT", 299}, - {"IDL_RIGHT_SHIFT", 300}, - {"-unknown-", -1} /* ends search */ -}; - -char * yyreds[] = -{ - "-no such reduction-", - "start : definitions", - "definitions : definition definitions", - "definitions : /* empty */", - "definition : type_dcl", - "definition : type_dcl ';'", - "definition : const_dcl", - "definition : const_dcl ';'", - "definition : exception", - "definition : exception ';'", - "definition : interface_def", - "definition : interface_def ';'", - "definition : module", - "definition : module ';'", - "definition : error", - "definition : error ';'", - "module : IDL_MODULE", - "module : IDL_MODULE IDENTIFIER", - "module : IDL_MODULE IDENTIFIER '{'", - "module : IDL_MODULE IDENTIFIER '{' definitions", - "module : IDL_MODULE IDENTIFIER '{' definitions '}'", - "interface_def : interface", - "interface_def : forward", - "interface : interface_header", - "interface : interface_header '{'", - "interface : interface_header '{' exports", - "interface : interface_header '{' exports '}'", - "interface_decl : IDL_INTERFACE", - "interface_decl : IDL_INTERFACE id", - "interface_header : interface_decl inheritance_spec", - "inheritance_spec : ':'", - "inheritance_spec : ':' at_least_one_scoped_name", - "inheritance_spec : /* empty */", - "exports : exports export", - "exports : /* empty */", - "export : type_dcl", - "export : type_dcl ';'", - "export : const_dcl", - "export : const_dcl ';'", - "export : exception", - "export : exception ';'", - "export : attribute", - "export : attribute ';'", - "export : operation", - "export : operation ';'", - "export : error", - "export : error ';'", - "at_least_one_scoped_name : scoped_name scoped_names", - "scoped_names : scoped_names ','", - "scoped_names : scoped_names ',' scoped_name", - "scoped_names : /* empty */", - "scoped_name : id", - "scoped_name : IDL_SCOPE_DELIMITOR", - "scoped_name : IDL_SCOPE_DELIMITOR id", - "scoped_name : scoped_name IDL_SCOPE_DELIMITOR", - "scoped_name : scoped_name IDL_SCOPE_DELIMITOR id", - "id : IDENTIFIER", - "forward : interface_decl", - "const_dcl : IDL_CONST", - "const_dcl : IDL_CONST const_type", - "const_dcl : IDL_CONST const_type id", - "const_dcl : IDL_CONST const_type id '='", - "const_dcl : IDL_CONST const_type id '=' expression", - "const_type : integer_type", - "const_type : char_type", - "const_type : octet_type", - "const_type : boolean_type", - "const_type : floating_pt_type", - "const_type : string_type_spec", - "const_type : wstring_type_spec", - "const_type : scoped_name", - "expression : const_expr", - "const_expr : or_expr", - "or_expr : xor_expr", - "or_expr : or_expr '|' xor_expr", - "xor_expr : and_expr", - "xor_expr : xor_expr '^' and_expr", - "and_expr : shift_expr", - "and_expr : and_expr '&' shift_expr", - "shift_expr : add_expr", - "shift_expr : shift_expr IDL_LEFT_SHIFT add_expr", - "shift_expr : shift_expr IDL_RIGHT_SHIFT add_expr", - "add_expr : mult_expr", - "add_expr : add_expr '+' mult_expr", - "add_expr : add_expr '-' mult_expr", - "mult_expr : unary_expr", - "mult_expr : mult_expr '*' unary_expr", - "mult_expr : mult_expr '/' unary_expr", - "mult_expr : mult_expr '%' unary_expr", - "unary_expr : primary_expr", - "unary_expr : '+' primary_expr", - "unary_expr : '-' primary_expr", - "unary_expr : '~' primary_expr", - "primary_expr : scoped_name", - "primary_expr : literal", - "primary_expr : '(' const_expr ')'", - "literal : IDL_INTEGER_LITERAL", - "literal : IDL_STRING_LITERAL", - "literal : IDL_CHARACTER_LITERAL", - "literal : IDL_FLOATING_PT_LITERAL", - "literal : IDL_TRUETOK", - "literal : IDL_FALSETOK", - "positive_int_expr : const_expr", - "type_dcl : IDL_TYPEDEF", - "type_dcl : IDL_TYPEDEF type_declarator", - "type_dcl : struct_type", - "type_dcl : union_type", - "type_dcl : enum_type", - "type_declarator : type_spec", - "type_declarator : type_spec at_least_one_declarator", - "type_spec : simple_type_spec", - "type_spec : constructed_type_spec", - "simple_type_spec : base_type_spec", - "simple_type_spec : template_type_spec", - "simple_type_spec : scoped_name", - "base_type_spec : integer_type", - "base_type_spec : floating_pt_type", - "base_type_spec : char_type", - "base_type_spec : boolean_type", - "base_type_spec : octet_type", - "base_type_spec : any_type", - "template_type_spec : sequence_type_spec", - "template_type_spec : string_type_spec", - "template_type_spec : wstring_type_spec", - "constructed_type_spec : struct_type", - "constructed_type_spec : union_type", - "constructed_type_spec : enum_type", - "at_least_one_declarator : declarator declarators", - "declarators : declarators ','", - "declarators : declarators ',' declarator", - "declarators : /* empty */", - "declarator : simple_declarator", - "declarator : complex_declarator", - "at_least_one_simple_declarator : simple_declarator simple_declarators", - "simple_declarators : simple_declarators ','", - "simple_declarators : simple_declarators ',' simple_declarator", - "simple_declarators : /* empty */", - "simple_declarator : id", - "complex_declarator : array_declarator", - "integer_type : signed_int", - "integer_type : unsigned_int", - "signed_int : IDL_LONG", - "signed_int : IDL_LONG IDL_LONG", - "signed_int : IDL_SHORT", - "unsigned_int : IDL_UNSIGNED IDL_LONG", - "unsigned_int : IDL_UNSIGNED IDL_LONG IDL_LONG", - "unsigned_int : IDL_UNSIGNED IDL_SHORT", - "floating_pt_type : IDL_DOUBLE", - "floating_pt_type : IDL_FLOAT", - "floating_pt_type : IDL_LONG IDL_DOUBLE", - "char_type : IDL_CHAR", - "char_type : IDL_WCHAR", - "octet_type : IDL_OCTET", - "boolean_type : IDL_BOOLEAN", - "any_type : IDL_ANY", - "struct_type : IDL_STRUCT", - "struct_type : IDL_STRUCT id", - "struct_type : IDL_STRUCT id '{'", - "struct_type : IDL_STRUCT id '{' at_least_one_member", - "struct_type : IDL_STRUCT id '{' at_least_one_member '}'", - "at_least_one_member : member members", - "members : members member", - "members : /* empty */", - "member : type_spec", - "member : type_spec at_least_one_declarator", - "member : type_spec at_least_one_declarator ';'", - "member : error", - "member : error ';'", - "union_type : IDL_UNION", - "union_type : IDL_UNION id", - "union_type : IDL_UNION id IDL_SWITCH", - "union_type : IDL_UNION id IDL_SWITCH '('", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')'", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{'", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{' at_least_one_case_branch", - "union_type : IDL_UNION id IDL_SWITCH '(' switch_type_spec ')' '{' at_least_one_case_branch '}'", - "switch_type_spec : integer_type", - "switch_type_spec : char_type", - "switch_type_spec : octet_type", - "switch_type_spec : boolean_type", - "switch_type_spec : enum_type", - "switch_type_spec : scoped_name", - "at_least_one_case_branch : case_branch case_branches", - "case_branches : case_branches case_branch", - "case_branches : /* empty */", - "case_branch : at_least_one_case_label", - "case_branch : at_least_one_case_label element_spec", - "case_branch : at_least_one_case_label element_spec ';'", - "case_branch : error", - "case_branch : error ';'", - "at_least_one_case_label : case_label case_labels", - "case_labels : case_labels case_label", - "case_labels : /* empty */", - "case_label : IDL_DEFAULT", - "case_label : IDL_DEFAULT ':'", - "case_label : IDL_CASE", - "case_label : IDL_CASE const_expr", - "case_label : IDL_CASE const_expr ':'", - "element_spec : type_spec", - "element_spec : type_spec declarator", - "enum_type : IDL_ENUM", - "enum_type : IDL_ENUM id", - "enum_type : IDL_ENUM id '{'", - "enum_type : IDL_ENUM id '{' at_least_one_enumerator", - "enum_type : IDL_ENUM id '{' at_least_one_enumerator '}'", - "at_least_one_enumerator : enumerator enumerators", - "enumerators : enumerators ','", - "enumerators : enumerators ',' enumerator", - "enumerators : /* empty */", - "enumerator : IDENTIFIER", - "sequence_type_spec : seq_head ','", - "sequence_type_spec : seq_head ',' positive_int_expr", - "sequence_type_spec : seq_head ',' positive_int_expr '>'", - "sequence_type_spec : seq_head '>'", - "seq_head : IDL_SEQUENCE", - "seq_head : IDL_SEQUENCE '<'", - "seq_head : IDL_SEQUENCE '<' simple_type_spec", - "string_type_spec : string_head '<'", - "string_type_spec : string_head '<' positive_int_expr", - "string_type_spec : string_head '<' positive_int_expr '>'", - "string_type_spec : string_head", - "string_head : IDL_STRING", - "wstring_type_spec : wstring_head '<'", - "wstring_type_spec : wstring_head '<' positive_int_expr", - "wstring_type_spec : wstring_head '<' positive_int_expr '>'", - "wstring_type_spec : wstring_head", - "wstring_head : IDL_WSTRING", - "array_declarator : id", - "array_declarator : id at_least_one_array_dim", - "at_least_one_array_dim : array_dim array_dims", - "array_dims : array_dims array_dim", - "array_dims : /* empty */", - "array_dim : '['", - "array_dim : '[' positive_int_expr", - "array_dim : '[' positive_int_expr ']'", - "attribute : opt_readonly IDL_ATTRIBUTE", - "attribute : opt_readonly IDL_ATTRIBUTE param_type_spec", - "attribute : opt_readonly IDL_ATTRIBUTE param_type_spec at_least_one_simple_declarator", - "opt_readonly : IDL_READONLY", - "opt_readonly : /* empty */", - "exception : IDL_EXCEPTION", - "exception : IDL_EXCEPTION id", - "exception : IDL_EXCEPTION id '{'", - "exception : IDL_EXCEPTION id '{' members", - "exception : IDL_EXCEPTION id '{' members '}'", - "operation : opt_op_attribute op_type_spec", - "operation : opt_op_attribute op_type_spec IDENTIFIER", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list opt_raises", - "operation : opt_op_attribute op_type_spec IDENTIFIER parameter_list opt_raises opt_context", - "opt_op_attribute : IDL_ONEWAY", - "opt_op_attribute : IDL_IDEMPOTENT", - "opt_op_attribute : /* empty */", - "op_type_spec : param_type_spec", - "op_type_spec : IDL_VOID", - "parameter_list : '('", - "parameter_list : '(' ')'", - "parameter_list : '('", - "parameter_list : '(' at_least_one_parameter ')'", - "at_least_one_parameter : parameter parameters", - "parameters : parameters ','", - "parameters : parameters ',' parameter", - "parameters : /* empty */", - "parameter : direction", - "parameter : direction param_type_spec", - "parameter : direction param_type_spec declarator", - "param_type_spec : base_type_spec", - "param_type_spec : string_type_spec", - "param_type_spec : scoped_name", - "direction : IDL_IN", - "direction : IDL_OUT", - "direction : IDL_INOUT", - "opt_raises : IDL_RAISES", - "opt_raises : IDL_RAISES '('", - "opt_raises : IDL_RAISES '(' at_least_one_scoped_name ')'", - "opt_raises : /* empty */", - "opt_context : IDL_CONTEXT", - "opt_context : IDL_CONTEXT '('", - "opt_context : IDL_CONTEXT '(' at_least_one_string_literal ')'", - "opt_context : /* empty */", - "at_least_one_string_literal : IDL_STRING_LITERAL string_literals", - "string_literals : string_literals ','", - "string_literals : string_literals ',' IDL_STRING_LITERAL", - "string_literals : /* empty */", -}; -#endif /* YYDEBUG */ -# line 1 "/usr/ccs/bin/yaccpar" -/* - * Copyright (c) 1993 by Sun Microsystems, Inc. - */ - -#if !defined (ACE_WIN32) -#pragma ident "@(#)yaccpar 6.12 93/06/07 SMI" -#endif /* ACE_WIN32 */ - -/* -** Skeleton parser driver for yacc output -*/ - -/* -** yacc user known macros and defines -*/ -#define YYERROR goto yyerrlab -#define YYACCEPT return(0) -#define YYABORT return(1) -#define YYBACKUP( newtoken, newvalue )\ -{\ - if ( yychar >= 0 || ( yyr2[ yytmp ] >> 1 ) != 1 )\ - {\ - yyerror( "syntax error - cannot backup" );\ - goto yyerrlab;\ - }\ - yychar = newtoken;\ - yystate = *yyps;\ - yylval = newvalue;\ - goto yynewstate;\ -} -#define YYRECOVERING() (!!yyerrflag) -#define YYNEW(type) malloc(sizeof(type) * yynewmax) -#define YYCOPY(to, from, type) \ - (type *) memcpy(to, (char *) from, yynewmax * sizeof(type)) -#define YYENLARGE( from, type) \ - (type *) realloc((char *) from, yynewmax * sizeof(type)) -#ifndef YYDEBUG -# define YYDEBUG 1 /* make debugging available */ -#endif - -/* -** user known globals -*/ -int yydebug; /* set to 1 to get debugging */ - -/* -** driver internal defines -*/ -#define YYFLAG (-10000000) - -/* -** global variables used by the parser -*/ -YYSTYPE *yypv; /* top of value stack */ -int *yyps; /* top of state stack */ - -int yystate; /* current state */ -int yytmp; /* extra var (lasts between blocks) */ - -int yynerrs; /* number of errors */ -int yyerrflag; /* error recovery flag */ -int yychar; /* current input token number */ - - - -#ifdef YYNMBCHARS -#define YYLEX() yycvtok(yylex()) -/* -** yycvtok - return a token if i is a wchar_t value that exceeds 255. -** If i<255, i itself is the token. If i>255 but the neither -** of the 30th or 31st bit is on, i is already a token. -*/ -#if defined(__STDC__) || defined(__cplusplus) -int yycvtok(int i) -#else -int yycvtok(i) int i; -#endif -{ - int first = 0; - int last = YYNMBCHARS - 1; - int mid; - wchar_t j; - - if(i&0x60000000){/*Must convert to a token. */ - if( yymbchars[last].character < i ){ - return i;/*Giving up*/ - } - while ((last>=first)&&(first>=0)) {/*Binary search loop*/ - mid = (first+last)/2; - j = yymbchars[mid].character; - if( j==i ){/*Found*/ - return yymbchars[mid].tvalue; - }else if( j<i ){ - first = mid + 1; - }else{ - last = mid -1; - } - } - /*No entry in the table.*/ - return i;/* Giving up.*/ - }else{/* i is already a token. */ - return i; - } -} -#else/*!YYNMBCHARS*/ -#define YYLEX() yylex() -#endif/*!YYNMBCHARS*/ - -/* -** yyparse - return 0 if worked, 1 if syntax error not recovered from -*/ -#if defined(__STDC__) || defined(__cplusplus) -int yyparse(void) -#else -int yyparse() -#endif -{ - register YYSTYPE *yypvt; /* top of value stack for $vars */ - -#if defined(__cplusplus) || defined(lint) -/* - hacks to please C++ and lint - goto's inside switch should never be - executed; yypvt is set to 0 to avoid "used before set" warning. -*/ - static int __yaccpar_lint_hack__ = 0; - switch (__yaccpar_lint_hack__) - { - case 1: goto yyerrlab; - case 2: goto yynewstate; - } - yypvt = 0; -#endif - - /* - ** Initialize externals - yyparse may be called more than once - */ - yypv = &yyv[-1]; - yyps = &yys[-1]; - yystate = 0; - yytmp = 0; - yynerrs = 0; - yyerrflag = 0; - yychar = -1; - -#if YYMAXDEPTH <= 0 - if (yymaxdepth <= 0) - { - if ((yymaxdepth = YYEXPAND(0)) <= 0) - { - yyerror("yacc initialization error"); - YYABORT; - } - } -#endif - - { - register YYSTYPE *yy_pv; /* top of value stack */ - register int *yy_ps; /* top of state stack */ - register int yy_state; /* current state */ - register int yy_n; /* internal state number info */ - goto yystack; /* moved from 6 lines above to here to please C++ */ - - /* - ** get globals into registers. - ** branch to here only if YYBACKUP was called. - */ - yynewstate: - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - goto yy_newstate; - - /* - ** get globals into registers. - ** either we just started, or we just finished a reduction - */ - yystack: - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - - /* - ** top of for (;;) loop while no reductions done - */ - yy_stack: - /* - ** put a state and value onto the stacks - */ -#if YYDEBUG - /* - ** if debugging, look up token value in list of value vs. - ** name pairs. 0 and negative (-1) are special values. - ** Note: linear search is used since time is not a real - ** consideration while debugging. - */ - if ( yydebug ) - { - register int yy_i; - - printf( "State %d, token ", yy_state ); - if ( yychar == 0 ) - printf( "end-of-file\n" ); - else if ( yychar < 0 ) - printf( "-none-\n" ); - else - { - for ( yy_i = 0; yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ++yy_ps >= &yys[ yymaxdepth ] ) /* room on stack? */ - { - /* - ** reallocate and recover. Note that pointers - ** have to be reset, or bad things will happen - */ - int yyps_index = (yy_ps - yys); - int yypv_index = (yy_pv - yyv); - int yypvt_index = (yypvt - yyv); - int yynewmax; -#ifdef YYEXPAND - yynewmax = YYEXPAND(yymaxdepth); -#else - yynewmax = 2 * yymaxdepth; /* double table size */ - if (yymaxdepth == YYMAXDEPTH) /* first time growth */ - { - char *newyys = (char *)YYNEW(int); - char *newyyv = (char *)YYNEW(YYSTYPE); - if (newyys != 0 && newyyv != 0) - { - yys = YYCOPY(newyys, yys, int); - yyv = YYCOPY(newyyv, yyv, YYSTYPE); - } - else - yynewmax = 0; /* failed */ - } - else /* not first time */ - { - yys = YYENLARGE(yys, int); - yyv = YYENLARGE(yyv, YYSTYPE); - if (yys == 0 || yyv == 0) - yynewmax = 0; /* failed */ - } -#endif - if (yynewmax <= yymaxdepth) /* tables not expanded */ - { - yyerror( "yacc stack overflow" ); - YYABORT; - } - yymaxdepth = yynewmax; - - yy_ps = yys + yyps_index; - yy_pv = yyv + yypv_index; - yypvt = yyv + yypvt_index; - } - *yy_ps = yy_state; - *++yy_pv = yyval; - - /* - ** we have a new state - find out what to do - */ - yy_newstate: - if ( ( yy_n = yypact[ yy_state ] ) <= YYFLAG ) - goto yydefault; /* simple state */ -#if YYDEBUG - /* - ** if debugging, need to mark whether new token grabbed - */ - yytmp = yychar < 0; -#endif - if ( ( yychar < 0 ) && ( ( yychar = YYLEX() ) < 0 ) ) - yychar = 0; /* reached EOF */ -#if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - printf( "Received token " ); - if ( yychar == 0 ) - printf( "end-of-file\n" ); - else if ( yychar < 0 ) - printf( "-none-\n" ); - else - { - for ( yy_i = 0; yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val == yychar ) - break; - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( ( ( yy_n += yychar ) < 0 ) || ( yy_n >= YYLAST ) ) - goto yydefault; - if ( yychk[ yy_n = yyact[ yy_n ] ] == yychar ) /*valid shift*/ - { - yychar = -1; - yyval = yylval; - yy_state = yy_n; - if ( yyerrflag > 0 ) - yyerrflag--; - goto yy_stack; - } - - yydefault: - if ( ( yy_n = yydef[ yy_state ] ) == -2 ) - { -#if YYDEBUG - yytmp = yychar < 0; -#endif - if ( ( yychar < 0 ) && ( ( yychar = YYLEX() ) < 0 ) ) - yychar = 0; /* reached EOF */ -#if YYDEBUG - if ( yydebug && yytmp ) - { - register int yy_i; - - printf( "Received token " ); - if ( yychar == 0 ) - printf( "end-of-file\n" ); - else if ( yychar < 0 ) - printf( "-none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - printf( "%s\n", yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - /* - ** look through exception table - */ - { - register int *yyxi = yyexca; - - while ( ( *yyxi != -1 ) || - ( yyxi[1] != yy_state ) ) - { - yyxi += 2; - } - while ( ( *(yyxi += 2) >= 0 ) && - ( *yyxi != yychar ) ) - ; - if ( ( yy_n = yyxi[1] ) < 0 ) - YYACCEPT; - } - } - - /* - ** check for syntax error - */ - if ( yy_n == 0 ) /* have an error */ - { - /* no worry about speed here! */ - switch ( yyerrflag ) - { - case 0: /* new error */ - yyerror( "syntax error" ); - goto skip_init; - yyerrlab: - /* - ** get globals into registers. - ** we have a user generated syntax type error - */ - yy_pv = yypv; - yy_ps = yyps; - yy_state = yystate; - skip_init: - yynerrs++; - /* FALLTHRU */ - case 1: - case 2: /* incompletely recovered error */ - /* try again... */ - yyerrflag = 3; - /* - ** find state where "error" is a legal - ** shift action - */ - while ( yy_ps >= yys ) - { - yy_n = yypact[ *yy_ps ] + YYERRCODE; - if ( yy_n >= 0 && yy_n < YYLAST && - yychk[yyact[yy_n]] == YYERRCODE) { - /* - ** simulate shift of "error" - */ - yy_state = yyact[ yy_n ]; - goto yy_stack; - } - /* - ** current state has no shift on - ** "error", pop stack - */ -#if YYDEBUG -# define _POP_ "Error recovery pops state %d, uncovers state %d\n" - if ( yydebug ) - printf( _POP_, *yy_ps, - yy_ps[-1] ); -# undef _POP_ -#endif - yy_ps--; - yy_pv--; - } - /* - ** there is no state on stack with "error" as - ** a valid shift. give up. - */ - YYABORT; - case 3: /* no shift yet; eat a token */ -#if YYDEBUG - /* - ** if debugging, look up token in list of - ** pairs. 0 and negative shouldn't occur, - ** but since timing doesn't matter when - ** debugging, it doesn't hurt to leave the - ** tests here. - */ - if ( yydebug ) - { - register int yy_i; - - printf( "Error recovery discards " ); - if ( yychar == 0 ) - printf( "token end-of-file\n" ); - else if ( yychar < 0 ) - printf( "token -none-\n" ); - else - { - for ( yy_i = 0; - yytoks[yy_i].t_val >= 0; - yy_i++ ) - { - if ( yytoks[yy_i].t_val - == yychar ) - { - break; - } - } - printf( "token %s\n", - yytoks[yy_i].t_name ); - } - } -#endif /* YYDEBUG */ - if ( yychar == 0 ) /* reached EOF. quit */ - YYABORT; - yychar = -1; - goto yy_newstate; - } - }/* end if ( yy_n == 0 ) */ - /* - ** reduction by production yy_n - ** put stack tops, etc. so things right after switch - */ -#if YYDEBUG - /* - ** if debugging, print the string that is the user's - ** specification of the reduction which is just about - ** to be done. - */ - if ( yydebug ) - printf( "Reduce by (%d) \"%s\"\n", - yy_n, yyreds[ yy_n ] ); -#endif - yytmp = yy_n; /* value to switch over */ - yypvt = yy_pv; /* $vars top of value stack */ - /* - ** Look in goto table for next state - ** Sorry about using yy_state here as temporary - ** register variable, but why not, if it works... - ** If yyr2[ yy_n ] doesn't have the low order bit - ** set, then there is no action to be done for - ** this reduction. So, no saving & unsaving of - ** registers done. The only difference between the - ** code just after the if and the body of the if is - ** the goto yy_stack in the body. This way the test - ** can be made before the choice of what to do is needed. - */ - { - /* length of production doubled with extra bit */ - register int yy_len = yyr2[ yy_n ]; - - if ( !( yy_len & 01 ) ) - { - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = - yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - goto yy_stack; - } - yy_len >>= 1; - yyval = ( yy_pv -= yy_len )[1]; /* $$ = $1 */ - yy_state = yypgo[ yy_n = yyr1[ yy_n ] ] + - *( yy_ps -= yy_len ) + 1; - if ( yy_state >= YYLAST || - yychk[ yy_state = yyact[ yy_state ] ] != -yy_n ) - { - yy_state = yyact[ yypgo[ yy_n ] ]; - } - } - /* save until reenter driver code */ - yystate = yy_state; - yyps = yy_ps; - yypv = yy_pv; - } - /* - ** code supplied by user is placed in this switch - */ - switch( yytmp ) - { - -case 4: -# line 238 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } break; -case 5: -# line 242 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 6: -# line 246 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } break; -case 7: -# line 250 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 8: -# line 254 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } break; -case 9: -# line 258 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 10: -# line 262 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceDeclSeen); - } break; -case 11: -# line 266 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 12: -# line 270 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleDeclSeen); - } break; -case 13: -# line 274 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 14: -# line 278 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 15: -# line 282 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 16: -# line 289 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSeen); - } break; -case 17: -# line 293 "idl.yy" -{ - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-0].strval, 1, 0, I_FALSE), NULL); - AST_Module *m = NULL; - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleIDSeen); - /* - * Make a new module and add it to the enclosing scope - */ - if (s != NULL) { - m = idl_global->gen()->create_module(n, p); - (void) s->fe_add_module(m); - } - /* - * Push it on the stack - */ - idl_global->scopes()->push(m); - } break; -case 18: -# line 314 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleSqSeen); - } break; -case 19: -# line 318 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleBodySeen); - } break; -case 20: -# line 322 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ModuleQsSeen); - /* - * Finished with this module - pop it from the scope stack - */ - idl_global->scopes()->pop(); - } break; -case 23: -# line 338 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Interface *i = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *d = NULL; - AST_Interface *fd = NULL; - - ACE_UNUSED_ARG (v); - - /* - * Make a new interface node and add it to its enclosing scope - */ - if (s != NULL && yypvt[-0].ihval != NULL) { - i = idl_global->gen()->create_interface(yypvt[-0].ihval->interface_name(), - yypvt[-0].ihval->inherits(), - yypvt[-0].ihval->n_inherits(), - p); - if (i != NULL && - (d = s->lookup_by_name(i->name(), I_FALSE)) != NULL) { - /* - * See if we're defining a forward declared interface. - */ - if (d->node_type() == AST_Decl::NT_interface) { - /* - * Narrow to an interface - */ - fd = AST_Interface::narrow_from_decl(d); - /* - * Successful? - */ - if (fd == NULL) { - /* - * Should we give an error here? - */ - } - /* - * If it is a forward declared interface.. - */ - else if (!fd->is_defined()) { - /* - * Check if redefining in same scope - */ - if (fd->defined_in() != s) { - idl_global->err() - ->error3(UTL_Error::EIDL_SCOPE_CONFLICT, - i, - fd, - ScopeAsDecl(s)); - } - /* - * All OK, do the redefinition - */ - else { - fd->set_inherits(yypvt[-0].ihval->inherits()); - fd->set_n_inherits(yypvt[-0].ihval->n_inherits()); - /* - * Update place of definition - */ - fd->set_imported(idl_global->imported()); - fd->set_in_main_file(idl_global->in_main_file()); - fd->set_line(idl_global->lineno()); - fd->set_file_name(idl_global->filename()); - fd->add_pragmas(p); - /* - * Use full definition node - */ - delete i; - i = fd; - } - } - } - } - /* - * Add the interface to its definition scope - */ - (void) s->fe_add_interface(i); - } - /* - * Push it on the scope stack - */ - idl_global->scopes()->push(i); - } break; -case 24: -# line 422 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSqSeen); - } break; -case 25: -# line 426 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceBodySeen); - } break; -case 26: -# line 430 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceQsSeen); - /* - * Done with this interface - pop it off the scopes stack - */ - idl_global->scopes()->pop(); - } break; -case 27: -# line 441 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceSeen); - } break; -case 28: -# line 445 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InterfaceIDSeen); - yyval.idval = yypvt[-0].idval; - } break; -case 29: -# line 453 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InheritSpecSeen); - /* - * Create an AST representation of the information in the header - * part of an interface - this representation contains a computed - * list of all interfaces which this interface inherits from, - * recursively - */ - yyval.ihval = new FE_InterfaceHeader(new UTL_ScopedName(yypvt[-1].idval, NULL), yypvt[-0].nlval); - } break; -case 30: -# line 467 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_InheritColonSeen); - } break; -case 31: -# line 471 "idl.yy" -{ - yyval.nlval = yypvt[-0].nlval; - } break; -case 32: -# line 475 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 35: -# line 487 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeDeclSeen); - } break; -case 36: -# line 491 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 37: -# line 495 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstDeclSeen); - } break; -case 38: -# line 499 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 39: -# line 503 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptDeclSeen); - } break; -case 40: -# line 507 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 41: -# line 511 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrDeclSeen); - } break; -case 42: -# line 515 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 43: -# line 519 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpDeclSeen); - } break; -case 44: -# line 523 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - } break; -case 45: -# line 527 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 46: -# line 531 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 47: -# line 539 "idl.yy" -{ - yyval.nlval = new UTL_NameList(yypvt[-1].idlist, yypvt[-0].nlval); - } break; -case 48: -# line 547 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SNListCommaSeen); - } break; -case 49: -# line 551 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopedNameSeen); - - if (yypvt[-3].nlval == NULL) - yyval.nlval = new UTL_NameList(yypvt[-0].idlist, NULL); - else { - yypvt[-3].nlval->nconc(new UTL_NameList(yypvt[-0].idlist, NULL)); - yyval.nlval = yypvt[-3].nlval; - } - } break; -case 50: -# line 562 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 51: -# line 569 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yyval.idlist = new UTL_IdList(yypvt[-0].idval, NULL); - } break; -case 52: -# line 575 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } break; -case 53: -# line 579 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yyval.idlist = new UTL_IdList(new Identifier(yypvt[-2].strval, 1, 0, I_FALSE), - new UTL_IdList(yypvt[-0].idval, NULL)); - } break; -case 54: -# line 587 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ScopeDelimSeen); - } break; -case 55: -# line 591 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SN_IDSeen); - - yypvt[-3].idlist->nconc(new UTL_IdList(yypvt[-0].idval, NULL)); - yyval.idlist = yypvt[-3].idlist; - } break; -case 56: -# line 600 "idl.yy" -{ - yyval.idval = new Identifier(yypvt[-0].strval, 1, 0, I_FALSE); - } break; -case 57: -# line 607 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-0].idval, NULL); - AST_InterfaceFwd *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_ForwardDeclSeen); - /* - * Create a node representing a forward declaration of an - * interface. Store it in the enclosing scope - */ - if (s != NULL) { - f = idl_global->gen()->create_interface_fwd(n, p); - (void) s->fe_add_interface_fwd(f); - } - } break; -case 58: -# line 627 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstSeen); - } break; -case 59: -# line 631 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstTypeSeen); - } break; -case 60: -# line 635 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstIDSeen); - } break; -case 61: -# line 639 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ConstAssignSeen); - } break; -case 62: -# line 643 "idl.yy" -{ - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-4].idval, NULL); - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Constant *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ConstExprSeen); - /* - * Create a node representing a constant declaration. Store - * it in the enclosing scope - */ - if (yypvt[-0].exval != NULL && s != NULL) { - if (yypvt[-0].exval->coerce(yypvt[-6].etval) == NULL) - idl_global->err()->coercion_error(yypvt[-0].exval, yypvt[-6].etval); - else { - c = - idl_global->gen()->create_constant(yypvt[-6].etval, yypvt[-0].exval, n, p); - (void) s->fe_add_constant(c); - } - } - } break; -case 68: -# line 676 "idl.yy" -{ - yyval.etval = AST_Expression::EV_string; - } break; -case 69: -# line 680 "idl.yy" -{ - yyval.etval = AST_Expression::EV_wstring; - } break; -case 70: -# line 684 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *c = NULL; - AST_Typedef *t = NULL; - - /* - * If the constant's type is a scoped name, it must resolve - * to a scalar constant type - */ - if (s != NULL && (d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE)) != NULL) { - /* - * Look through typedefs - */ - while (d->node_type() == AST_Decl::NT_typedef) { - t = AST_Typedef::narrow_from_decl(d); - if (t == NULL) - break; - d = t->base_type(); - } - if (d == NULL) - yyval.etval = AST_Expression::EV_any; - else if (d->node_type() == AST_Decl::NT_pre_defined) { - c = AST_PredefinedType::narrow_from_decl(d); - if (c != NULL) { - yyval.etval = idl_global->PredefinedTypeToExprType(c->pt()); - } else { - yyval.etval = AST_Expression::EV_any; - } - } else - yyval.etval = AST_Expression::EV_any; - } else - yyval.etval = AST_Expression::EV_any; - } break; -case 74: -# line 726 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_or, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 76: -# line 734 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_xor, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 78: -# line 742 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_and, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 80: -# line 750 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_right,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 81: -# line 754 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_left,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 83: -# line 762 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_add, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 84: -# line 766 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_minus,yypvt[-2].exval,yypvt[-0].exval); - } break; -case 86: -# line 774 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mul, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 87: -# line 778 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_div, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 88: -# line 782 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_mod, yypvt[-2].exval, yypvt[-0].exval); - } break; -case 90: -# line 790 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_plus, - yypvt[-0].exval, - NULL); - } break; -case 91: -# line 796 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_u_minus, - yypvt[-0].exval, - NULL); - } break; -case 92: -# line 802 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(AST_Expression::EC_bit_neg, - yypvt[-0].exval, - NULL); - } break; -case 93: -# line 811 "idl.yy" -{ - /* - * An expression which is a scoped name is not resolved now, - * but only when it is evaluated (such as when it is assigned - * as a constant value) - */ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].idlist); - } break; -case 95: -# line 821 "idl.yy" -{ - yyval.exval = yypvt[-1].exval; - } break; -case 96: -# line 828 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].ival); - } break; -case 97: -# line 832 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].sval); - } break; -case 98: -# line 836 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].cval); - } break; -case 99: -# line 840 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].dval); - } break; -case 100: -# line 844 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr((idl_bool) I_TRUE, - AST_Expression::EV_bool); - } break; -case 101: -# line 849 "idl.yy" -{ - yyval.exval = idl_global->gen()->create_expr((idl_bool) I_FALSE, - AST_Expression::EV_bool); - } break; -case 102: -# line 857 "idl.yy" -{ - yypvt[-0].exval->evaluate(AST_Expression::EK_const); - yyval.exval = idl_global->gen()->create_expr(yypvt[-0].exval, AST_Expression::EV_ulong); - } break; -case 103: -# line 865 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypedefSeen); - } break; -case 104: -# line 868 "idl.yy" -{yyval.ival = 0;} break; -case 105: -# line 869 "idl.yy" -{ yyval.ival = 0;} break; -case 106: -# line 870 "idl.yy" -{ yyval.ival = 0;} break; -case 107: -# line 871 "idl.yy" -{ yyval.ival = 0;} break; -case 108: -# line 876 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_TypeSpecSeen); - } break; -case 109: -# line 880 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l; - FE_Declarator *d = NULL; - AST_Typedef *t = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_DeclaratorsSeen); - /* - * Create a list of type renamings. Add them to the - * enclosing scope - */ - if (s != NULL && yypvt[-2].dcval != NULL && yypvt[-0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type * tp = d->compose(yypvt[-2].dcval); - if (tp == NULL) - continue; - t = idl_global->gen()->create_typedef(tp, d->name(), p); - (void) s->fe_add_typedef(t); - } - delete l; - } - } break; -case 112: -# line 919 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 114: -# line 924 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - yyval.dcval = d; - } break; -case 127: -# line 959 "idl.yy" -{ - yyval.dlval = new UTL_DeclList(yypvt[-1].deval, yypvt[-0].dlval); - } break; -case 128: -# line 967 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } break; -case 129: -# line 971 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (yypvt[-3].dlval == NULL) - yyval.dlval = new UTL_DeclList(yypvt[-0].deval, NULL); - else { - yypvt[-3].dlval->nconc(new UTL_DeclList(yypvt[-0].deval, NULL)); - yyval.dlval = yypvt[-3].dlval; - } - } break; -case 130: -# line 982 "idl.yy" -{ - yyval.dlval = NULL; - } break; -case 133: -# line 994 "idl.yy" -{ - yyval.dlval = new UTL_DeclList(yypvt[-1].deval, yypvt[-0].dlval); - } break; -case 134: -# line 1002 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsCommaSeen); - } break; -case 135: -# line 1006 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DeclsDeclSeen); - - if (yypvt[-3].dlval == NULL) - yyval.dlval = new UTL_DeclList(yypvt[-0].deval, NULL); - else { - yypvt[-3].dlval->nconc(new UTL_DeclList(yypvt[-0].deval, NULL)); - yyval.dlval = yypvt[-3].dlval; - } - } break; -case 136: -# line 1017 "idl.yy" -{ - yyval.dlval = NULL; - } break; -case 137: -# line 1024 "idl.yy" -{ - yyval.deval = new FE_Declarator(new UTL_ScopedName(yypvt[-0].idval, NULL), - FE_Declarator::FD_simple, NULL); - } break; -case 138: -# line 1032 "idl.yy" -{ - yyval.deval = new FE_Declarator(new UTL_ScopedName(yypvt[-0].dcval->local_name(), NULL), - FE_Declarator::FD_complex, - yypvt[-0].dcval); - } break; -case 141: -# line 1046 "idl.yy" -{ - yyval.etval = AST_Expression::EV_long; - } break; -case 142: -# line 1050 "idl.yy" -{ - yyval.etval = AST_Expression::EV_longlong; - } break; -case 143: -# line 1054 "idl.yy" -{ - yyval.etval = AST_Expression::EV_short; - } break; -case 144: -# line 1061 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ulong; - } break; -case 145: -# line 1065 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ulonglong; - } break; -case 146: -# line 1069 "idl.yy" -{ - yyval.etval = AST_Expression::EV_ushort; - } break; -case 147: -# line 1076 "idl.yy" -{ - yyval.etval = AST_Expression::EV_double; - } break; -case 148: -# line 1080 "idl.yy" -{ - yyval.etval = AST_Expression::EV_float; - } break; -case 149: -# line 1084 "idl.yy" -{ - yyval.etval = AST_Expression::EV_longdouble; - } break; -case 150: -# line 1091 "idl.yy" -{ - yyval.etval = AST_Expression::EV_char; - } break; -case 151: -# line 1095 "idl.yy" -{ - yyval.etval = AST_Expression::EV_wchar; - } break; -case 152: -# line 1102 "idl.yy" -{ - yyval.etval = AST_Expression::EV_octet; - } break; -case 153: -# line 1109 "idl.yy" -{ - yyval.etval = AST_Expression::EV_bool; - } break; -case 154: -# line 1116 "idl.yy" -{ - yyval.etval = AST_Expression::EV_any; - } break; -case 155: -# line 1123 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSeen); - } break; -case 156: -# line 1127 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-0].idval, NULL); - AST_Structure *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_StructIDSeen); - /* - * Create a node representing a struct declaration. Add it - * to the enclosing scope - */ - if (s != NULL) { - d = idl_global->gen()->create_structure(n, p); - (void) s->fe_add_structure(d); - } - /* - * Push the scope of the struct on the scopes stack - */ - idl_global->scopes()->push(d); - } break; -case 157: -# line 1151 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructSqSeen); - } break; -case 158: -# line 1155 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructBodySeen); - } break; -case 159: -# line 1159 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StructQsSeen); - /* - * Done with this struct. Pop its scope off the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = - AST_Structure::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 163: -# line 1184 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberTypeSeen); - } break; -case 164: -# line 1188 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsSeen); - } break; -case 165: -# line 1192 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - FE_Declarator *d = NULL; - AST_Field *f = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_MemberDeclsCompleted); - /* - * Check for illegal recursive use of type - */ - if (yypvt[-4].dcval != NULL && AST_illegal_recursive_type(yypvt[-4].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, yypvt[-4].dcval); - /* - * Create a node representing a struct or exception member - * Add it to the enclosing scope - */ - else if (s != NULL && yypvt[-4].dcval != NULL && yypvt[-2].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-2].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(yypvt[-4].dcval); - if (tp == NULL) - continue; - f = idl_global->gen()->create_field(tp, d->name(), p); - (void) s->fe_add_field(f); - } - delete l; - } - } break; -case 166: -# line 1225 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 167: -# line 1229 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 168: -# line 1237 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSeen); - } break; -case 169: -# line 1241 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionIDSeen); - } break; -case 170: -# line 1245 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchSeen); - } break; -case 171: -# line 1249 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchOpenParSeen); - } break; -case 172: -# line 1253 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchTypeSeen); - } break; -case 173: -# line 1257 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-8].idval, NULL); - AST_Union *u = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_SwitchCloseParSeen); - /* - * Create a node representing a union. Add it to its enclosing - * scope - */ - if (yypvt[-2].dcval != NULL && s != NULL) { - AST_ConcreteType *tp = AST_ConcreteType::narrow_from_decl(yypvt[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(yypvt[-2].dcval); - } else { - u = idl_global->gen()->create_union(tp, n, p); - (void) s->fe_add_union(u); - } - } - /* - * Push the scope of the union on the scopes stack - */ - idl_global->scopes()->push(u); - } break; -case 174: -# line 1286 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionSqSeen); - } break; -case 175: -# line 1290 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionBodySeen); - } break; -case 176: -# line 1294 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionQsSeen); - /* - * Done with this union. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = - AST_Union::narrow_from_scope( - idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 177: -# line 1312 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 178: -# line 1316 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 179: -# line 1320 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 180: -# line 1324 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 182: -# line 1329 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - AST_PredefinedType *p = NULL; - AST_Typedef *t = NULL; - long found = I_FALSE; - - /* - * The discriminator is a scoped name. Try to resolve to - * one of the scalar types or to an enum. Thread through - * typedef's to arrive at the base type at the end of the - * chain - */ - if (s != NULL && (d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE)) != NULL) { - while (!found) { - switch (d->node_type()) { - case AST_Decl::NT_enum: - yyval.dcval = d; - found = I_TRUE; - break; - case AST_Decl::NT_pre_defined: - p = AST_PredefinedType::narrow_from_decl(d); - if (p != NULL) { - switch (p->pt()) { - case AST_PredefinedType::PT_long: - case AST_PredefinedType::PT_ulong: - case AST_PredefinedType::PT_longlong: - case AST_PredefinedType::PT_ulonglong: - case AST_PredefinedType::PT_short: - case AST_PredefinedType::PT_char: - case AST_PredefinedType::PT_wchar: - case AST_PredefinedType::PT_octet: - case AST_PredefinedType::PT_boolean: - yyval.dcval = p; - found = I_TRUE; - break; - default: - yyval.dcval = NULL; - found = I_TRUE; - break; - } - } - break; - case AST_Decl::NT_typedef: - t = AST_Typedef::narrow_from_decl(d); - if (t != NULL) d = t->base_type(); - break; - default: - yyval.dcval = NULL; - found = I_TRUE; - break; - } - } - } else - yyval.dcval = NULL; - - if (yyval.dcval == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - } break; -case 186: -# line 1399 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionLabelSeen); - } break; -case 187: -# line 1403 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemSeen); - } break; -case 188: -# line 1407 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_LabellistActiveIterator *l = NULL; - AST_UnionLabel *d = NULL; - AST_UnionBranch *b = NULL; - AST_Field *f = yypvt[-2].ffval; - - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemCompleted); - /* - * Create several nodes representing branches of a union. - * Add them to the enclosing scope (the union scope) - */ - if (s != NULL && yypvt[-4].llval != NULL && yypvt[-2].ffval != NULL) { - l = new UTL_LabellistActiveIterator(yypvt[-4].llval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - b = idl_global->gen()->create_union_branch(d, - f->field_type(), - f->name(), - f->pragmas()); - (void) s->fe_add_union_branch(b); - } - delete l; - } - } break; -case 189: -# line 1435 "idl.yy" -{ - idl_global->err()->syntax_error(idl_global->parse_state()); - } break; -case 190: -# line 1439 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_NoState); - yyerrok; - } break; -case 191: -# line 1447 "idl.yy" -{ - yyval.llval = new UTL_LabelList(yypvt[-1].ulval, yypvt[-0].llval); - } break; -case 192: -# line 1454 "idl.yy" -{ - if (yypvt[-1].llval == NULL) - yyval.llval = new UTL_LabelList(yypvt[-0].ulval, NULL); - else { - yypvt[-1].llval->nconc(new UTL_LabelList(yypvt[-0].ulval, NULL)); - yyval.llval = yypvt[-1].llval; - } - } break; -case 193: -# line 1463 "idl.yy" -{ - yyval.llval = NULL; - } break; -case 194: -# line 1470 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DefaultSeen); - } break; -case 195: -# line 1474 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - yyval.ulval = idl_global->gen()-> - create_union_label(AST_UnionLabel::UL_default, - NULL); - } break; -case 196: -# line 1482 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_CaseSeen); - } break; -case 197: -# line 1486 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelExprSeen); - } break; -case 198: -# line 1490 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_LabelColonSeen); - - yyval.ulval = idl_global->gen()->create_union_label(AST_UnionLabel::UL_label, - yypvt[-2].exval); - } break; -case 199: -# line 1500 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemTypeSeen); - } break; -case 200: -# line 1504 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_UnionElemDeclSeen); - /* - * Check for illegal recursive use of type - */ - if (yypvt[-2].dcval != NULL && AST_illegal_recursive_type(yypvt[-2].dcval)) - idl_global->err()->error1(UTL_Error::EIDL_RECURSIVE_TYPE, yypvt[-2].dcval); - /* - * Create a field in a union branch - */ - else if (yypvt[-2].dcval == NULL || yypvt[-0].deval == NULL) - yyval.ffval = NULL; - else { - AST_Type *tp = yypvt[-0].deval->compose(yypvt[-2].dcval); - if (tp == NULL) - yyval.ffval = NULL; - else - yyval.ffval = idl_global->gen()->create_field(tp, - yypvt[-0].deval->name(), - idl_global->pragmas()); - } - } break; -case 201: -# line 1530 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSeen); - } break; -case 202: -# line 1534 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-0].idval, NULL); - AST_Enum *e = NULL; - AST_Decl *v = NULL; - UTL_StrList *p = idl_global->pragmas(); - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_EnumIDSeen); - /* - * Create a node representing an enum and add it to its - * enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_enum(n, p); - /* - * Add it to its defining scope - */ - (void) s->fe_add_enum(e); - } - /* - * Push the enum scope on the scopes stack - */ - idl_global->scopes()->push(e); - } break; -case 203: -# line 1561 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumSqSeen); - } break; -case 204: -# line 1565 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumBodySeen); - } break; -case 205: -# line 1569 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumQsSeen); - /* - * Done with this enum. Pop its scope from the scopes stack - */ - if (idl_global->scopes()->top() == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = AST_Enum::narrow_from_scope(idl_global->scopes()->top_non_null()); - idl_global->scopes()->pop(); - } - } break; -case 207: -# line 1588 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_EnumCommaSeen); - } break; -case 210: -# line 1597 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-0].strval, 1, 0, I_FALSE), NULL); - AST_EnumVal *e = NULL; - AST_Enum *c = NULL; - UTL_StrList *p = idl_global->pragmas(); - - /* - * Create a node representing one enumerator in an enum - * Add it to the enclosing scope (the enum scope) - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_enum) { - c = AST_Enum::narrow_from_scope(s); - if (c != NULL) - e = idl_global->gen()->create_enum_val(c->next_enum_val(), n, p); - (void) s->fe_add_enum_val(e); - } - } break; -case 211: -# line 1621 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceCommaSeen); - } break; -case 212: -# line 1625 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceExprSeen); - } break; -case 213: -# line 1629 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else if (yypvt[-5].dcval == NULL) { - yyval.dcval = NULL; - } else { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-5].dcval); - if (tp == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = idl_global->gen()->create_sequence(yypvt[-2].exval, tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl(yyval.dcval)); - } - } - } break; -case 214: -# line 1660 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceQsSeen); - /* - * Remove sequence marker from scopes stack - */ - if (idl_global->scopes()->top() == NULL) - idl_global->scopes()->pop(); - /* - * Create a node representing a sequence - */ - if (yypvt[-1].dcval == NULL) - yyval.dcval = NULL; - else { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-1].dcval); - if (tp == NULL) - yyval.dcval = NULL; - else { - yyval.dcval = - idl_global->gen()->create_sequence( - idl_global->gen()->create_expr((unsigned long) 0), - tp); - /* - * Add this AST_Sequence to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_sequence(AST_Sequence::narrow_from_decl(yyval.dcval)); - } - } - } break; -case 215: -# line 1693 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSeen); - /* - * Push a sequence marker on scopes stack - */ - idl_global->scopes()->push(NULL); - } break; -case 216: -# line 1701 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceSqSeen); - } break; -case 217: -# line 1705 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_SequenceTypeSeen); - yyval.dcval = yypvt[-0].dcval; - } break; -case 218: -# line 1714 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } break; -case 219: -# line 1718 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } break; -case 220: -# line 1722 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else { - yyval.dcval = idl_global->gen()->create_string(yypvt[-2].exval); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(yyval.dcval)); - } - } break; -case 221: -# line 1740 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - yyval.dcval = - idl_global->gen()->create_string( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(yyval.dcval)); - } break; -case 222: -# line 1758 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } break; -case 223: -# line 1766 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSqSeen); - } break; -case 224: -# line 1770 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringExprSeen); - } break; -case 225: -# line 1774 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringQsSeen); - /* - * Create a node representing a string - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.dcval = NULL; - } else { - yyval.dcval = idl_global->gen()->create_wstring(yypvt[-2].exval); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(yyval.dcval)); - } - } break; -case 226: -# line 1792 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringCompleted); - /* - * Create a node representing a string - */ - yyval.dcval = - idl_global->gen()->create_wstring( - idl_global->gen()->create_expr((unsigned long) 0)); - /* - * Add this AST_String to the types defined in the global scope - */ - (void) idl_global->root() - ->fe_add_string(AST_String::narrow_from_decl(yyval.dcval)); - } break; -case 227: -# line 1810 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_StringSeen); - } break; -case 228: -# line 1817 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayIDSeen); - } break; -case 229: -# line 1821 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ArrayCompleted); - /* - * Create a node representing an array - */ - if (yypvt[-0].elval != NULL) { - yyval.dcval = idl_global->gen()->create_array(new UTL_ScopedName(yypvt[-2].idval, NULL), - yypvt[-0].elval->length(), yypvt[-0].elval); - } - } break; -case 230: -# line 1835 "idl.yy" -{ - yyval.elval = new UTL_ExprList(yypvt[-1].exval, yypvt[-0].elval); - } break; -case 231: -# line 1842 "idl.yy" -{ - if (yypvt[-1].elval == NULL) - yyval.elval = new UTL_ExprList(yypvt[-0].exval, NULL); - else { - yypvt[-1].elval->nconc(new UTL_ExprList(yypvt[-0].exval, NULL)); - yyval.elval = yypvt[-1].elval; - } - } break; -case 232: -# line 1851 "idl.yy" -{ - yyval.elval = NULL; - } break; -case 233: -# line 1858 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimSqSeen); - } break; -case 234: -# line 1862 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimExprSeen); - } break; -case 235: -# line 1866 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_DimQsSeen); - /* - * Array dimensions are expressions which must be coerced to - * positive integers - */ - if (yypvt[-2].exval == NULL || yypvt[-2].exval->coerce(AST_Expression::EV_ulong) == NULL) { - idl_global->err()->coercion_error(yypvt[-2].exval, AST_Expression::EV_ulong); - yyval.exval = NULL; - } else - yyval.exval = yypvt[-2].exval; - } break; -case 236: -# line 1883 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrSeen); - } break; -case 237: -# line 1887 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrTypeSeen); - } break; -case 238: -# line 1891 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_DecllistActiveIterator *l = NULL; - AST_Attribute *a = NULL; - FE_Declarator *d = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_AttrCompleted); - /* - * Create nodes representing attributes and add them to the - * enclosing scope - */ - if (s != NULL && yypvt[-2].dcval != NULL && yypvt[-0].dlval != NULL) { - l = new UTL_DecllistActiveIterator(yypvt[-0].dlval); - for (;!(l->is_done()); l->next()) { - d = l->item(); - if (d == NULL) - continue; - AST_Type *tp = d->compose(yypvt[-2].dcval); - if (tp == NULL) - continue; - a = idl_global->gen()->create_attribute(yypvt[-5].bval, tp, d->name(), p); - /* - * Add one attribute to the enclosing scope - */ - (void) s->fe_add_attribute(a); - } - delete l; - } - } break; -case 239: -# line 1925 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_AttrROSeen); - yyval.bval = I_TRUE; - } break; -case 240: -# line 1930 "idl.yy" -{ - yyval.bval = I_FALSE; - } break; -case 241: -# line 1937 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSeen); - } break; -case 242: -# line 1941 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = new UTL_ScopedName(yypvt[-0].idval, NULL); - AST_Exception *e = NULL; - UTL_StrList *p = idl_global->pragmas(); - AST_Decl *v = NULL; - - ACE_UNUSED_ARG (v); - - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptIDSeen); - /* - * Create a node representing an exception and add it to - * the enclosing scope - */ - if (s != NULL) { - e = idl_global->gen()->create_exception(n, p); - (void) s->fe_add_exception(e); - } - /* - * Push the exception scope on the scope stack - */ - idl_global->scopes()->push(e); - } break; -case 243: -# line 1965 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptSqSeen); - } break; -case 244: -# line 1969 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptBodySeen); - } break; -case 245: -# line 1973 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_ExceptQsSeen); - /* - * Done with this exception. Pop its scope from the scope stack - */ - idl_global->scopes()->pop(); - } break; -case 246: -# line 1985 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpTypeSeen); - } break; -case 247: -# line 1989 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - UTL_ScopedName *n = - new UTL_ScopedName(new Identifier(yypvt[-0].strval, 1, 0, I_FALSE), NULL); - AST_Operation *o = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpIDSeen); - /* - * Create a node representing an operation on an interface - * and add it to its enclosing scope - */ - if (s != NULL && yypvt[-2].dcval != NULL) { - AST_Type *tp = AST_Type::narrow_from_decl(yypvt[-2].dcval); - if (tp == NULL) { - idl_global->err()->not_a_type(yypvt[-2].dcval); - } else if (tp->node_type() == AST_Decl::NT_except) { - idl_global->err()->not_a_type(yypvt[-2].dcval); - } else { - o = idl_global->gen()->create_operation(tp, yypvt[-3].ofval, n, p); - (void) s->fe_add_operation(o); - } - } - /* - * Push the operation scope onto the scopes stack - */ - idl_global->scopes()->push(o); - } break; -case 248: -# line 2018 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParsCompleted); - } break; -case 249: -# line 2022 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseCompleted); - } break; -case 250: -# line 2026 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Operation *o = NULL; - - idl_global->set_parse_state(IDL_GlobalData::PS_OpCompleted); - /* - * Add exceptions and context to the operation - */ - if (s != NULL && s->scope_node_type() == AST_Decl::NT_op) { - o = AST_Operation::narrow_from_scope(s); - - if (yypvt[-2].nlval != NULL && o != NULL) - (void) o->fe_add_exceptions(yypvt[-2].nlval); - if (yypvt[-0].slval != NULL) - (void) o->fe_add_context(yypvt[-0].slval); - } - /* - * Done with this operation. Pop its scope from the scopes stack - */ - idl_global->scopes()->pop(); - } break; -case 251: -# line 2051 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - yyval.ofval = AST_Operation::OP_oneway; - } break; -case 252: -# line 2056 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpAttrSeen); - yyval.ofval = AST_Operation::OP_idempotent; - } break; -case 253: -# line 2061 "idl.yy" -{ - yyval.ofval = AST_Operation::OP_noflags; - } break; -case 255: -# line 2069 "idl.yy" -{ - yyval.dcval = - idl_global->scopes()->bottom() - ->lookup_primitive_type(AST_Expression::EV_void); - } break; -case 256: -# line 2078 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } break; -case 257: -# line 2082 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } break; -case 258: -# line 2086 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpSqSeen); - } break; -case 259: -# line 2091 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpQsSeen); - } break; -case 261: -# line 2101 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParCommaSeen); - } break; -case 264: -# line 2110 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDirSeen); - } break; -case 265: -# line 2114 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpParTypeSeen); - } break; -case 266: -# line 2118 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Argument *a = NULL; - UTL_StrList *p = idl_global->pragmas(); - - idl_global->set_parse_state(IDL_GlobalData::PS_OpParDeclSeen); - /* - * Create a node representing an argument to an operation - * Add it to the enclosing scope (the operation scope) - */ - if (yypvt[-2].dcval != NULL && yypvt[-0].deval != NULL && s != NULL) { - AST_Type *tp = yypvt[-0].deval->compose(yypvt[-2].dcval); - if (tp != NULL) { - a = idl_global->gen()->create_argument(yypvt[-4].dival, tp, yypvt[-0].deval->name(), p); - (void) s->fe_add_argument(a); - } - } - } break; -case 267: -# line 2140 "idl.yy" -{ - yyval.dcval = idl_global->scopes()->bottom()->lookup_primitive_type(yypvt[-0].etval); - } break; -case 269: -# line 2145 "idl.yy" -{ - UTL_Scope *s = idl_global->scopes()->top_non_null(); - AST_Decl *d = NULL; - - if (s != NULL) - d = s->lookup_by_name(yypvt[-0].idlist, I_TRUE); - if (d == NULL) - idl_global->err()->lookup_error(yypvt[-0].idlist); - yyval.dcval = d; - } break; -case 270: -# line 2159 "idl.yy" -{ - yyval.dival = AST_Argument::dir_IN; - } break; -case 271: -# line 2163 "idl.yy" -{ - yyval.dival = AST_Argument::dir_OUT; - } break; -case 272: -# line 2167 "idl.yy" -{ - yyval.dival = AST_Argument::dir_INOUT; - } break; -case 273: -# line 2174 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSeen); - } break; -case 274: -# line 2178 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseSqSeen); - } break; -case 275: -# line 2183 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpRaiseQsSeen); - yyval.nlval = yypvt[-1].nlval; - } break; -case 276: -# line 2188 "idl.yy" -{ - yyval.nlval = NULL; - } break; -case 277: -# line 2195 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSeen); - } break; -case 278: -# line 2199 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextSqSeen); - } break; -case 279: -# line 2204 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextQsSeen); - yyval.slval = yypvt[-1].slval; - } break; -case 280: -# line 2209 "idl.yy" -{ - yyval.slval = NULL; - } break; -case 281: -# line 2216 "idl.yy" -{ - yyval.slval = new UTL_StrList(yypvt[-1].sval, yypvt[-0].slval); - } break; -case 282: -# line 2224 "idl.yy" -{ - idl_global->set_parse_state(IDL_GlobalData::PS_OpContextCommaSeen); - } break; -case 283: -# line 2228 "idl.yy" -{ - if (yypvt[-3].slval == NULL) - yyval.slval = new UTL_StrList(yypvt[-0].sval, NULL); - else { - yypvt[-3].slval->nconc(new UTL_StrList(yypvt[-0].sval, NULL)); - yyval.slval = yypvt[-3].slval; - } - } break; -case 284: -# line 2237 "idl.yy" -{ - yyval.slval = NULL; - } break; -# line 532 "/usr/ccs/bin/yaccpar" - } - goto yystack; /* reset registers in driver code */ -} - diff --git a/TAO/TAO_IDL/fe/y.tab.h b/TAO/TAO_IDL/fe/y.tab.h deleted file mode 100644 index 7752d999a11..00000000000 --- a/TAO/TAO_IDL/fe/y.tab.h +++ /dev/null @@ -1,76 +0,0 @@ - -typedef union -#ifdef __cplusplus - YYSTYPE -#endif - { - AST_Decl *dcval; /* Decl value */ - UTL_StrList *slval; /* String list */ - UTL_NameList *nlval; /* Name list */ - UTL_ExprList *elval; /* Expression list */ - UTL_LabelList *llval; /* Label list */ - UTL_DeclList *dlval; /* Declaration list */ - FE_InterfaceHeader *ihval; /* Interface header */ - AST_Expression *exval; /* Expression value */ - AST_UnionLabel *ulval; /* Union label */ - AST_Field *ffval; /* Field value */ - AST_Expression::ExprType etval; /* Expression type */ - AST_Argument::Direction dival; /* Argument direction */ - AST_Operation::Flags ofval; /* Operation flags */ - FE_Declarator *deval; /* Declarator value */ - idl_bool bval; /* Boolean value */ - long ival; /* Long value */ - double dval; /* Double value */ - float fval; /* Float value */ - char cval; /* Char value */ - - String *sval; /* String value */ - char *strval; /* char * value */ - Identifier *idval; /* Identifier */ - UTL_IdList *idlist; /* Identifier list */ -} YYSTYPE; -extern YYSTYPE yylval; -# define IDENTIFIER 257 -# define IDL_CONST 258 -# define IDL_MODULE 259 -# define IDL_INTERFACE 260 -# define IDL_TYPEDEF 261 -# define IDL_LONG 262 -# define IDL_SHORT 263 -# define IDL_UNSIGNED 264 -# define IDL_DOUBLE 265 -# define IDL_FLOAT 266 -# define IDL_CHAR 267 -# define IDL_WCHAR 268 -# define IDL_OCTET 269 -# define IDL_BOOLEAN 270 -# define IDL_ANY 271 -# define IDL_STRUCT 272 -# define IDL_UNION 273 -# define IDL_SWITCH 274 -# define IDL_ENUM 275 -# define IDL_SEQUENCE 276 -# define IDL_STRING 277 -# define IDL_WSTRING 278 -# define IDL_EXCEPTION 279 -# define IDL_CASE 280 -# define IDL_DEFAULT 281 -# define IDL_READONLY 282 -# define IDL_ATTRIBUTE 283 -# define IDL_ONEWAY 284 -# define IDL_IDEMPOTENT 285 -# define IDL_VOID 286 -# define IDL_IN 287 -# define IDL_OUT 288 -# define IDL_INOUT 289 -# define IDL_RAISES 290 -# define IDL_CONTEXT 291 -# define IDL_INTEGER_LITERAL 292 -# define IDL_STRING_LITERAL 293 -# define IDL_CHARACTER_LITERAL 294 -# define IDL_FLOATING_PT_LITERAL 295 -# define IDL_TRUETOK 296 -# define IDL_FALSETOK 297 -# define IDL_SCOPE_DELIMITOR 298 -# define IDL_LEFT_SHIFT 299 -# define IDL_RIGHT_SHIFT 300 diff --git a/TAO/TAO_IDL/idl_make_vars b/TAO/TAO_IDL/idl_make_vars deleted file mode 100644 index f061649d004..00000000000 --- a/TAO/TAO_IDL/idl_make_vars +++ /dev/null @@ -1,62 +0,0 @@ -# Makefile include file for IDL compiler -# -# What OS we're compiling on. -# -# As shipped the CFE is preconfigured for SOLARIS 2.x -# =================================================== -# -# Uncomment the next line for SOLARIS 2.x -OSV = SOLARIS2 -# Uncomment the next line for SUNOS 4.x -# OSV = SUNOS4 -# Uncomment the next line for HPUX -# OSV = hpux -# Uncomment the next line for Apollo Domain -# OSV = apollo -# -# IDL_CFE_VERSION Defines what the current IDL CFE version is -IDL_CFE_VERSION = \"1.3.0\" -# -# Define LEXFLAGS to pass to lex -LEXFLAGS = -t -# -# Define YFLAGS to pass to yacc -YFLAGS = -t -d -# -# C++ What C++ compiler to use -# -# Also define CCC which is used instead of C++ in -# some versions of make. Make sure they refer to the -# same executable; if you modify one please also modify -# the other to be identical. -# -# Uncomment these two lines if you're using SunPro Sparcworks C++ compilers -# (Tested for SunPro Sparcworks 2.x with SunOS 4.x and Solaris 2.x, for -# SunPro Sparcworks 3.0 with Solaris 2.x) -C++ = CC -CCC = CC -# Uncomment these two lines if you're using g++ (tested for SunOS 4.x and -# Solaris 2.x only, with g++ 2.5.8) -# C++ = g++ -# CCC = g++ -# -# What flags to pass to the C preprocessor -CPPFLAGS += -I../include -I. -D$(OSV) \ - -DCPP_LOCATION=\"$(C++)\" \ - -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) \ -# -# What flags to pass to the CC phase -CCFLAGS += -g -# -# What ranlib to use -# -# Uncomment the following line for SunOS 4.x and others which have ranlib -# RANLIB = ranlib -# Uncomment the following line for Solaris 2.x and others which don't have it -RANLIB = /bin/true -# -# What ar to use -AR = ar -# -# What flags to give to ar -ARFLAGS = crv diff --git a/TAO/TAO_IDL/idl_specs/array.idl b/TAO/TAO_IDL/idl_specs/array.idl deleted file mode 100644 index 2520e9045fd..00000000000 --- a/TAO/TAO_IDL/idl_specs/array.idl +++ /dev/null @@ -1,37 +0,0 @@ -typedef sequence<long,10> vec10; -typedef char str22[22][2]; -typedef boolean boolarray[3][40]; - - -struct A { - long a1; - char a2[17]; - char a3[10][2]; -// vec10 a3; -}; - -struct B { - long b1; - A b2; -}; - -struct C { - long c1; - long c2; -}; - -typedef A A_matrix[2][3][4]; -typedef B B_matrix[2][3][4]; -typedef C C_matrix[2][3][4]; - -typedef A_matrix A_rmatrix[2][3][4][5]; - -interface A_i { - A op(in A a1, inout A a2, out A a3); - str22 op2(in str22 a1, inout str22 a2, out str22 a3); - str22 op3(in short a1[3][4], inout short a2[3][4], out short a3[4][4]); - A_matrix op4(in A a1, inout A a2, out A a3); - attribute str22 attribute_array; - void foo(in any x[3], out any y[4], inout any z[3]); -}; - diff --git a/TAO/TAO_IDL/idl_specs/constant.idl b/TAO/TAO_IDL/idl_specs/constant.idl deleted file mode 100644 index 3570de87ebc..00000000000 --- a/TAO/TAO_IDL/idl_specs/constant.idl +++ /dev/null @@ -1,29 +0,0 @@ -const short l = 4; - -enum N { zero, un , deux, trois }; - -exception E { - short cause ; - }; - -module M { - const short l = 4; - - enum N { zero, un , deux, trois }; - - exception E { - short cause ; - }; - - interface A { - const short l = 4; - - enum N { zero, un , deux, trois }; - - exception E { - short cause ; - }; - N foo(in N x, out N y, inout N z); - }; -}; - diff --git a/TAO/TAO_IDL/idl_specs/dif2.idl b/TAO/TAO_IDL/idl_specs/dif2.idl deleted file mode 100644 index c2b23eaf625..00000000000 --- a/TAO/TAO_IDL/idl_specs/dif2.idl +++ /dev/null @@ -1,48 +0,0 @@ -/* A test interface for DIF1 */ - -interface ex1 -{ - void op0(); - float op1(in float f, out double d, inout long l); - double op2(in double d, out long l, inout short s); - long op3(in long l, out short s, inout unsigned long ul); - short op4(in short s, out unsigned long ul, inout unsigned short us); - unsigned long op5(inout unsigned long ul, in unsigned short us, out char c, in boolean b); - unsigned short op6(out unsigned short us, inout char c); -}; - -//interface ex3; - -interface ex2 : ex1 -{ - // operations continued from ex1 - char op7(in char c, out boolean b, inout octet o); - boolean op8(out boolean b, in octet o); - octet op9(inout octet o, out string s, in string <10> ls, inout long l); - string op10(in string s, out string <10> ls); - string <10> op11(inout string <10> ls, out long l); - long op12(in long l); -// ex3 op13(Environment *ev); -}; - -interface ex3 : ex1 -{ - // attributes - readonly attribute float float_attribute; - attribute double double_attribute; - readonly attribute long long_attribute; - attribute short short_attribute; - readonly attribute unsigned long unsigned_long_attribute; - -}; - -interface ex4 : ex2, ex3 -{ - attribute unsigned short unsigned_short_attribute; - readonly attribute char char_attribute; - attribute boolean boolean_attribute; - readonly attribute octet octet_attribute; - attribute string string_attribute; - readonly attribute string <10> limited_string_attribute; - readonly attribute ex4 an_object_attribute; -}; diff --git a/TAO/TAO_IDL/idl_specs/inherit.idl b/TAO/TAO_IDL/idl_specs/inherit.idl deleted file mode 100644 index a96fe169570..00000000000 --- a/TAO/TAO_IDL/idl_specs/inherit.idl +++ /dev/null @@ -1,17 +0,0 @@ -interface one { - void op_one(); -}; -interface two : one { - void op_two(); -}; -interface three : one { - void op_three(); -}; -interface four : two, three { - void op_four(); -}; - -interface five : four, three, two { - void op_five(); -}; - diff --git a/TAO/TAO_IDL/idl_specs/module.idl b/TAO/TAO_IDL/idl_specs/module.idl deleted file mode 100644 index 178ad2fb689..00000000000 --- a/TAO/TAO_IDL/idl_specs/module.idl +++ /dev/null @@ -1,20 +0,0 @@ -module mod1 -{ - module mod2 - { - interface ex1 - { - attribute long l1; - readonly attribute long l2; - - long m1(in long a); - }; - - interface ex2 : ex1 - { - attribute long l3; - - long m2(in long a, out long b); - }; - }; -}; diff --git a/TAO/TAO_IDL/idl_specs/primtypes.idl b/TAO/TAO_IDL/idl_specs/primtypes.idl deleted file mode 100644 index fa5d154f8f2..00000000000 --- a/TAO/TAO_IDL/idl_specs/primtypes.idl +++ /dev/null @@ -1,23 +0,0 @@ -interface ex1 -{ - attribute long l1; - long m1(in long a); - ex1 mtypes( - in long a1, inout long a2, out long a3, - in unsigned long b1, inout unsigned long b2, out unsigned long b3, - in short c1,inout short c2, out short c3, - in unsigned short d1, inout unsigned short d2, out unsigned short d3, - in float e1, inout float e2, out float e3, - in double f1, inout double f2, out double f3, - in char g1, inout char g2, out char g3 - ); - -}; - -interface ex2 : ex1 -{ - readonly attribute long l2; - - long m2(in long a, out long b); - void mv(); -}; diff --git a/TAO/TAO_IDL/idl_specs/sequence.idl b/TAO/TAO_IDL/idl_specs/sequence.idl deleted file mode 100644 index 4701c987b15..00000000000 --- a/TAO/TAO_IDL/idl_specs/sequence.idl +++ /dev/null @@ -1,25 +0,0 @@ -typedef sequence<long,10> vec10; -typedef sequence<char,20> c20; -typedef sequence<c20,23> cc23; -typedef sequence<char,24> c24; -typedef sequence< sequence<long,10>, 10> c30; -struct TProgram { - string path; - sequence<string> argv; - sequence<string> envp; -}; - -struct foo { - long f1; - char f2; -}; - -typedef foo foo_ar[20]; -typedef sequence<foo> f_unbounded; -typedef sequence<foo_ar> f_ar_unbounded; - -interface TestSeq { - attribute f_unbounded fattr; - typedef sequence<long,10> also_vec10; - vec10 op(in also_vec10 a, out vec10 b, inout sequence <long,10> c); -}; diff --git a/TAO/TAO_IDL/idl_specs/simple.idl b/TAO/TAO_IDL/idl_specs/simple.idl deleted file mode 100644 index 6538d9410ba..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple.idl +++ /dev/null @@ -1,16 +0,0 @@ -typedef sequence<long,10> vec10; - -exception simple_error { - long reason; -}; - -interface simple { - long op(in long a, out simple b, inout long c) raises (simple_error); -}; - -interface simple2 : simple { - exception simple2_error { - long reason2; - }; - long op2(in long a, in simple b, out simple2 c) raises (simple2_error); -}; diff --git a/TAO/TAO_IDL/idl_specs/simple2.idl b/TAO/TAO_IDL/idl_specs/simple2.idl deleted file mode 100644 index b26e7ff3230..00000000000 --- a/TAO/TAO_IDL/idl_specs/simple2.idl +++ /dev/null @@ -1,26 +0,0 @@ -#include "simple.idl" - - -interface simple3 : simple2 { - exception OVERFLOW { - long a; - string msg; - }; - exception UNDERFLOW { - long b; - string msg; - }; - exception BADNUM { - vec10 c; - }; - exception USERERROR { - any reason; - }; - long op3(in long a, out simple3 b, out simple2 c, out simple d) - raises (OVERFLOW, UNDERFLOW, BADNUM); - any op4(in any x, inout any y, out any z) - raises(UNDERFLOW); - - oneway void op5() - raises(USERERROR); -}; diff --git a/TAO/TAO_IDL/idl_specs/struct.idl b/TAO/TAO_IDL/idl_specs/struct.idl deleted file mode 100644 index 42f215a1a62..00000000000 --- a/TAO/TAO_IDL/idl_specs/struct.idl +++ /dev/null @@ -1,52 +0,0 @@ -struct bar { - long b1; - long b2; - string<20> b3; -}; - -struct bar2 { - long b3; - bar b4; -}; - -struct bar3 { - long b1; - long b2; - long b3; -}; - -struct bar4 { - long b1; - bar2 b2; - long b3; - bar3 b4; - long b5; -}; - - -interface foo { - long op(in bar a, out bar2 b); -}; -interface foo2 : foo { - bar op2(in bar2 a); - long op3(in long a, out char b); -}; - - -typedef unsigned short Coord; - -struct CellPos { - Coord row; - Coord col; -}; - -struct CellPos2 { - unsigned short row; - unsigned short col; -}; - -struct CellPos3 { - Coord row; - Coord col; - unsigned short col2; -}; diff --git a/TAO/TAO_IDL/idl_specs/union.idl b/TAO/TAO_IDL/idl_specs/union.idl deleted file mode 100644 index 7b6e32b9957..00000000000 --- a/TAO/TAO_IDL/idl_specs/union.idl +++ /dev/null @@ -1,26 +0,0 @@ -struct Bar { - long b1; - char b2; -}; - -union Foo switch (long) { -case 1: long x; -case 2: Bar y; -default: char z; -}; - - -union Foo2 switch (char) { - case 'a': long x; - case 'b': Foo y; -}; - -interface a { - struct astruct { - Foo2 a1; - Foo a2; - Bar a3; - }; - Foo2 opA(in astruct b); -}; - diff --git a/TAO/TAO_IDL/idl_specs/union2.idl b/TAO/TAO_IDL/idl_specs/union2.idl deleted file mode 100644 index 94a355facdf..00000000000 --- a/TAO/TAO_IDL/idl_specs/union2.idl +++ /dev/null @@ -1,21 +0,0 @@ -enum FooDisc { - FOO1, - FOO2 -}; -union Foo switch (FooDisc) { -case FOO1: long x; -case FOO2: string y; -default: char z; -}; - - -struct Bar { - enum BarDisc { - BAR1, - BAR2 - } kind; - union Foo switch (BarDisc) { - case BAR1: long x; - case BAR2: long y; - } addr; -}; diff --git a/TAO/TAO_IDL/include/ast.h b/TAO/TAO_IDL/include/ast.h deleted file mode 100644 index e3672b2625f..00000000000 --- a/TAO/TAO_IDL/include/ast.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_AST_HH -#define _AST_AST_HH - -// ast.h -// -// Defines the classes which constitute the agreement between the CFE -// and BEs. - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -#include "utl_scoped_name.h" // Define UTL_ScopedName - -#include "ast_decl.h" // class AST_Decl - -#include "ast_expression.h" // class AST_Expression - -#include "utl_scope.h" // class UTL_Scope - -#include "ast_type.h" // class AST_Type -#include "ast_concrete_type.h" // class AST_ConcreteType -#include "ast_predefined_type.h"// class AST_PredefinedType -#include "ast_module.h" // class AST_Module -#include "ast_root.h" // class AST_Root -#include "ast_interface.h" // class AST_Interface -#include "ast_interface_fwd.h" // class AST_InterfaceFwd -#include "ast_structure.h" // class AST_Structure -#include "ast_exception.h" // class AST_Exception -#include "ast_enum.h" // class AST_Enum -#include "ast_operation.h" // class AST_Operation -#include "ast_field.h" // class AST_Field -#include "ast_argument.h" // class AST_Argument -#include "ast_attribute.h" // class AST_Attribute -#include "ast_union.h" // class AST_Union -#include "ast_union_branch.h" // class AST_UnionBranch -#include "ast_union_label.h" // class AST_UnionLabel -#include "ast_constant.h" // class AST_Constant -#include "ast_enum_val.h" // class AST_EnumVal -#include "ast_array.h" // class AST_Array -#include "ast_sequence.h" // class AST_Sequence -#include "ast_string.h" // class AST_String -#include "ast_typedef.h" // class AST_Typedef - -#include "utl_list.h" // class UTL_List -#include "utl_strlist.h" // class UTL_StrList -#include "utl_exprlist.h" // class UTL_ExprList - -#include "ast_generator.h" // class AST_Generator - -#endif // _AST_AST_HH diff --git a/TAO/TAO_IDL/include/ast_argument.h b/TAO/TAO_IDL/include/ast_argument.h deleted file mode 100644 index c0cbb18cebb..00000000000 --- a/TAO/TAO_IDL/include/ast_argument.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ARGUMENT_AST_ARGUMENT_HH -#define _AST_ARGUMENT_AST_ARGUMENT_HH - -// Representation of argument to operation: -// -// An argument is a field with a direction attached - -/* -** DEPENDENCIES: ast_field.hh, utl_scoped_name.hh, ast_type.hh -** utl_strlist.hh, ast_decl.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_field.h" - - -class AST_Argument : public virtual AST_Field -{ -public: - // Define enum with values denoting argument passing directions - enum Direction {dir_IN, dir_OUT, dir_INOUT}; - - // Operations - - // Constructor(s) - AST_Argument(); - AST_Argument(Direction direction, AST_Type *ft, UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Argument() {} - - // Data Accessors - Direction direction(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Argument, AST_Field); - DEF_NARROW_FROM_DECL(AST_Argument); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const Direction pd_direction; // Argument direction -}; - -#endif // _AST_ARGUMENT_AST_ARGUMENT_HH diff --git a/TAO/TAO_IDL/include/ast_array.h b/TAO/TAO_IDL/include/ast_array.h deleted file mode 100644 index 0d3fb69b9f1..00000000000 --- a/TAO/TAO_IDL/include/ast_array.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ARRAY_AST_ARRAY_HH -#define _AST_ARRAY_AST_ARRAY_HH - -// Representation of array declaration: -// -// An array is a combination of a list of dimensions and a base type - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_exprlist.hh, ast_type.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_Array : public virtual AST_ConcreteType { -public: - // Operations - - // Constructor(s) - AST_Array(); - AST_Array(UTL_ScopedName *n, unsigned long ndims, UTL_ExprList *dims); - virtual ~AST_Array() {} - - // Data Accessors - unsigned long n_dims(); - AST_Expression **dims(); - void set_dims(AST_Expression **, unsigned long); - AST_Type *base_type(); - void set_base_type(AST_Type *nbt); - - // Narrowing - DEF_NARROW_METHODS1(AST_Array, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_Array); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - unsigned long pd_n_dims; // How many dimensions? - AST_Expression **pd_dims; // Their expressions - AST_Type *pd_base_type; // Base type of array - - // Operations - - // Compute how many dimensions - AST_Expression **compute_dims(UTL_ExprList *dims, - unsigned long ndims); -}; - -#endif // _AST_ARRAY_AST_ARRAY_HH diff --git a/TAO/TAO_IDL/include/ast_attribute.h b/TAO/TAO_IDL/include/ast_attribute.h deleted file mode 100644 index a18706bd0f7..00000000000 --- a/TAO/TAO_IDL/include/ast_attribute.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ATTRIBUTE_AST_ATTRIBUTE_HH -#define _AST_ATTRIBUTE_AST_ATTRIBUTE_HH - -// Representation of attribute declaration: -// -// An attribute is a field with a readonly property - -/* -** DEPENDENCIES: ast_field.hh, ast_type.hh, utl_scoped_name.hh, -** utl_strlist.hh, ast_decl.hh -** -** USE: Included from ast.h -*/ - -class AST_Attribute : public virtual AST_Field -{ -public: - // Operations - - // Constructor(s) - AST_Attribute(); - AST_Attribute(idl_bool readonly, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Attribute() {} - - // Data Accessors - idl_bool readonly(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Attribute, AST_Field); - DEF_NARROW_FROM_DECL(AST_Attribute); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const idl_bool pd_readonly; // Is attribute read-only? -}; - -#endif // _AST_ATTRIBUTE_AST_ATTRIBUTE_HH diff --git a/TAO/TAO_IDL/include/ast_concrete_type.h b/TAO/TAO_IDL/include/ast_concrete_type.h deleted file mode 100644 index 6c527afaca7..00000000000 --- a/TAO/TAO_IDL/include/ast_concrete_type.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH -#define _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH - -// Class for all concrete types -// -// This is useful to group together IDL types other than objects - -/* -** DEPENDENCIES: ast_type.hh, ast_decl.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_ConcreteType : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_ConcreteType(); - AST_ConcreteType(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_ConcreteType() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_ConcreteType, AST_Type); - DEF_NARROW_FROM_DECL(AST_ConcreteType); -}; - -#endif // _AST_CONCRETE_TYPE_AST_CONCRETE_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_constant.h b/TAO/TAO_IDL/include/ast_constant.h deleted file mode 100644 index 90db723d429..00000000000 --- a/TAO/TAO_IDL/include/ast_constant.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_CONSTANT_AST_CONSTANT_HH -#define _AST_CONSTANT_AST_CONSTANT_HH - -// Representation of constant declaration: -// -// NOTE: Part of the job of the constructor is to convert -// the AST_Constant_val it received to the type denoted by -// the ConstantType it received. -// -// NOTE: There are two constructors here, one that gets a NodeType -// parameter. This constructor is used from AST_EnumVal, which is -// just a glorified AST_Constant - -/* -** DEPENDENCIES: ast_decl.hh, ast_expression.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Constant : public virtual AST_Decl -{ -public: - // Operations - - // Constructor(s) - AST_Constant(); - AST_Constant(AST_Expression::ExprType et, AST_Decl::NodeType nt, - AST_Expression *ev, UTL_ScopedName *n, UTL_StrList *p); - AST_Constant(AST_Expression::ExprType et, AST_Expression *ev, - UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Constant() {} - - // Data Accessors - AST_Expression *constant_value(); - AST_Expression::ExprType et(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Constant, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Constant); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_constant_value; // The value - AST_Expression::ExprType pd_et; // Its expr type -}; - -#endif // _AST_CONSTANT_AST_CONSTANT_HH diff --git a/TAO/TAO_IDL/include/ast_decl.h b/TAO/TAO_IDL/include/ast_decl.h deleted file mode 100644 index 26509ab6508..00000000000 --- a/TAO/TAO_IDL/include/ast_decl.h +++ /dev/null @@ -1,186 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_DECL_AST_DECL_HH -#define _AST_DECL_AST_DECL_HH - -// Rock bottom of AST class hierarchy -// -// This class is inherited by all classes which represent named entities -// in IDL. It implements the line and file recording mechanism and also -// records the type of the node. This may be useful for BEs to be able -// to distinguish the real type of a node given only a superclass. - -/* -** DEPENDENCIES: utl_scope.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "idl_bool.h" -#include "utl_scoped_name.h" -#include "utl_string.h" - -// This class is needed (only for g++) to get around a bug in g++ which -// causes virtual operations to not be looked up correctly if an operation -// is defined in more than one virtual public base class. This class makes -// the hierarchy rooted in a single class, thereby eliminating the situation -// that causes the bug to appear - -class COMMON_Base -{ - public: - // Narrowing - DEF_NARROW_METHODS0(COMMON_Base); -}; - -class AST_Decl : public virtual COMMON_Base -{ -public: - // Enum defining the different kinds of AST nodes - enum NodeType { - NT_module // Denotes a module - , NT_root // Denotes the root of AST - , NT_interface // Denotes an interface - , NT_interface_fwd // Fwd declared interface - , NT_const // Denotes a constant - , NT_except // Denotes an exception - , NT_attr // Denotes an attribute - , NT_op // Denotes an operation - , NT_argument // Denotes an op. argument - , NT_union // Denotes a union - , NT_union_branch // Denotes a union branch - , NT_struct // Denotes a structure - , NT_field // Denotes a field in structure - , NT_enum // Denotes an enumeration - , NT_enum_val // Denotes an enum. value - , NT_string // Denotes an IDL string - , NT_array // Denotes an IDL array - , NT_sequence // Denotes an IDL sequence - , NT_typedef // Denotes a typedef - , NT_pre_defined // Denotes a predefined type - }; - - // Operations - - // Constructor(s) - AST_Decl(); - AST_Decl(NodeType type, UTL_ScopedName *n, UTL_StrList *pragmas); - virtual ~AST_Decl() {} - - // Data Accessors - idl_bool imported(); - void set_imported(idl_bool is_it); - idl_bool in_main_file(); - void set_in_main_file(idl_bool is_it); - UTL_Scope *defined_in(); - void set_defined_in(UTL_Scope *); - NodeType node_type(); - long line(); - void set_line(long l); - String *file_name(); - void set_file_name(String *s); - UTL_ScopedName *name(); - void set_name(UTL_ScopedName *n); - Identifier *local_name(); - void add_pragmas(UTL_StrList *p); - UTL_StrList *pragmas(); - idl_bool added(); - void set_added(idl_bool is_it); - - // Narrowing - DEF_NARROW_METHODS0(AST_Decl); - DEF_NARROW_FROM_DECL(AST_Decl); - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Return TRUE if "this" has "s" as an ancestor - idl_bool has_ancestor(AST_Decl *s); - -private: - // Data - idl_bool pd_imported; // Imported? - idl_bool pd_in_main_file; // Defined in main file? - UTL_Scope *pd_defined_in; // Scope - NodeType pd_node_type; // What kind of node - long pd_line; // Line defined in - String *pd_file_name; // What file defined in - UTL_ScopedName *pd_name; // As given - Identifier *pd_local_name; // Name in scope - UTL_StrList *pd_pragmas; // Pragmas - idl_bool pd_added; // already added - - // Operations - - // Compute the full name of an AST node - void compute_full_name(UTL_ScopedName *n); -}; - -#endif // _AST_DECL_AST_DECL_HH diff --git a/TAO/TAO_IDL/include/ast_enum.h b/TAO/TAO_IDL/include/ast_enum.h deleted file mode 100644 index cf6941386c5..00000000000 --- a/TAO/TAO_IDL/include/ast_enum.h +++ /dev/null @@ -1,113 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ENUM_AST_ENUM_HH -#define _AST_ENUM_AST_ENUM_HH - -// Representation of enum: - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, ast_enum_val.hh, -** utl_scoped_name.hh, utl_strlist.hh, ast_expression.hh, -** -** USE: Included from ast.hh -*/ - -class AST_Enum : public virtual AST_ConcreteType, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Enum(); - AST_Enum(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Enum() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Enum, AST_ConcreteType, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Enum); - DEF_NARROW_FROM_SCOPE(AST_Enum); - - // AST Dumping - virtual void dump(ostream &); - - // Other operations - - // Look up an AST_EnumVal by value - virtual AST_EnumVal *lookup_by_value(const AST_Expression *v); - - // Get value to be assigned to next enumerator - virtual unsigned long next_enum_val(); - -private: - // Data - unsigned long pd_enum_counter; // Value for next - // enumerator - // Scope management - friend int yyparse(); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_ENUM_AST_ENUM_HH diff --git a/TAO/TAO_IDL/include/ast_enum_val.h b/TAO/TAO_IDL/include/ast_enum_val.h deleted file mode 100644 index 902b5ad04c4..00000000000 --- a/TAO/TAO_IDL/include/ast_enum_val.h +++ /dev/null @@ -1,97 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ENUM_VAL_AST_ENUM_VAL_HH -#define _AST_ENUM_VAL_AST_ENUM_VAL_HH - -// Representation of enumerator in enum: -// -// An enumerator is a constant of type unsigned long - -/* -** DEPENDENCIES: ast_constant.hh, utl_scoped_name.hh, utl_strlist.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_EnumVal : public virtual AST_Constant -{ -public: - // Operations - - // Constructor(s) - AST_EnumVal(); - AST_EnumVal(unsigned long v, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_EnumVal() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_EnumVal, AST_Constant); - DEF_NARROW_FROM_DECL(AST_EnumVal); - - // AST Dumping - virtual void dump(ostream &); -}; - -#endif // _AST_ENUM_VAL_AST_ENUM_VAL_HH diff --git a/TAO/TAO_IDL/include/ast_exception.h b/TAO/TAO_IDL/include/ast_exception.h deleted file mode 100644 index a1bf98fd8e9..00000000000 --- a/TAO/TAO_IDL/include/ast_exception.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXCEPTION_AST_EXCEPTION_HH -#define _AST_EXCEPTION_AST_EXCEPTION_HH - -// Representation of exception -// -// NOTE: An exception is not a type according to the CORBAS 1.1 -// -// NOTE: add(AST_ConcreteType *) is defined here because an exception -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Exception. - -/* -** DEPENDENCIES: ast_decl.hh, ast_structure.hh, utl_scope.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Exception : public virtual AST_Structure -{ -public: - // Operations - - // Constructor(s) - AST_Exception(); - AST_Exception(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Exception() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Exception, AST_Structure); - DEF_NARROW_FROM_DECL(AST_Exception); - DEF_NARROW_FROM_SCOPE(AST_Exception); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend int yyparse(); - // Scope Management Protocol - - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_EXCEPTION_AST_EXCEPTION_HH diff --git a/TAO/TAO_IDL/include/ast_expression.h b/TAO/TAO_IDL/include/ast_expression.h deleted file mode 100644 index 6d284bd1a77..00000000000 --- a/TAO/TAO_IDL/include/ast_expression.h +++ /dev/null @@ -1,229 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXPRESSION_AST_EXPRESSION_HH -#define _AST_EXPRESSION_AST_EXPRESSION_HH - -// Representation of expression values - -/* -** DEPENDENCIES: NONE -** -** USE: Included from ast.hh -*/ - -// An expression (and maybe its value, if computed) -class AST_Expression { -public: - // Enum to define all the different operators to combine expressions - enum ExprComb { - EC_add // '+' - , EC_minus // '-' - , EC_mul // '*' - , EC_div // '/' - , EC_mod // '%' - , EC_or // '|' - , EC_xor // '^' - , EC_and // '&' - , EC_left // '<<' - , EC_right // '>>' - , EC_u_plus // unary '+' - , EC_u_minus // unary '-' - , EC_bit_neg // '~' - , EC_none // No operator (missing) - , EC_symbol // a symbol (function or constant name) - }; - - // Enum to define the different kinds of evaluation possible - // Extend this for more kinds of evaluation as required - enum EvalKind { - EK_const // Must evaluate to constant - , EK_positive_int // Must evaluate to positive integer - }; - - // Enum to define expression type - enum ExprType { - EV_short // Expression value is short - , EV_ushort // Expression value is unsigned short - , EV_long // Expression value is long - , EV_ulong // Expression value is unsigned long - , EV_longlong // Expression value is long long - , EV_ulonglong // Expression value is unsigned long long - , EV_float // Expression value is 32-bit float - , EV_double // Expression value is 64-bit float - , EV_longdouble // Expression value is 128-bit float - , EV_char // Expression value is char - , EV_wchar // Expression value is wide char - , EV_octet // Expression value is unsigned char - , EV_bool // Expression value is boolean - , EV_string // Expression value is char * - , EV_wstring // Expression value is wchar_t * - , EV_any // Expression value is any of above - , EV_void // Expression value is void (absent) - , EV_none // Expression value is missing - }; - - // Structure to descrive value of constant expression and its type - struct AST_ExprValue { - union { - short sval; // Contains short expression value - unsigned short usval; // Contains unsigned short expr value - long lval; // Contains long expression value - unsigned long ulval; // Contains unsigned long expr value - unsigned long bval; // Contains boolean expression value - float fval; // Contains 32-bit float expr value - double dval; // Contains 64-bit float expr value - char cval; // Contains char expression value - unsigned char oval; // Contains unsigned char expr value - String *strval; // Contains String * expr value - unsigned long eval; // Contains enumeration value - } u; - ExprType et; - }; - - // Operations - - // Constructor(s) - AST_Expression(AST_Expression *v, ExprType t); - - AST_Expression(ExprComb c, AST_Expression *v1, AST_Expression *v2); - - AST_Expression(short s); - AST_Expression(unsigned short us); - AST_Expression(long l); - AST_Expression(long l, ExprType t); - AST_Expression(unsigned long ul); - AST_Expression(float f); - AST_Expression(double d); - AST_Expression(char c); - AST_Expression(unsigned char uc); - AST_Expression(String *s); - AST_Expression(UTL_ScopedName *n); - virtual ~AST_Expression () {} - - // Data Accessors - UTL_Scope *defined_in(); - void set_defined_in(UTL_Scope *d); - long line(); - void set_line(long l); - String *file_name(); - void set_file_name(String *f); - ExprComb ec(); - void set_ec(ExprComb new_ec); - AST_ExprValue *ev(); - void set_ev(AST_ExprValue *new_ev); - AST_Expression *v1(); - void set_v1(AST_Expression *e); - AST_Expression *v2(); - void set_v2(AST_Expression *e); - UTL_ScopedName *n(); - void set_n(UTL_ScopedName *new_n); - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Evaluation and value coercion - virtual AST_ExprValue *eval(EvalKind ek); - virtual AST_ExprValue *coerce(ExprType t); - - // Evaluate then store value inside this AST_Expression - virtual void evaluate(EvalKind ek); - - // Compare to AST_Expressions - virtual long operator==(AST_Expression *vc); - virtual long compare(AST_Expression *vc); - -protected: - // Evaluate different sets of operators - virtual AST_ExprValue *eval_bin_op(EvalKind ek); - virtual AST_ExprValue *eval_bit_op(EvalKind ek); - virtual AST_ExprValue *eval_un_op(EvalKind ek); - virtual AST_ExprValue *eval_symbol(EvalKind ek); - -private: - // Data - UTL_Scope *pd_defined_in; // Scope - long pd_line; // Line defined in - String *pd_file_name; // What file defined in - - ExprComb pd_ec; // What combinator - AST_ExprValue *pd_ev; // computed value - AST_Expression *pd_v1; // 1st sub-expression - AST_Expression *pd_v2; // 2nd sub-expression - UTL_ScopedName *pd_n; // symbolic name (if any) - - // Operations - - // Fill out the lineno, filename and definition scope details - void fill_definition_details(); - - // Internal evaluation - virtual AST_ExprValue *eval_internal(EvalKind ek); -}; - -#endif // _AST_EXPR_VAL_AST_EXPR_VAL_HH - - diff --git a/TAO/TAO_IDL/include/ast_extern.h b/TAO/TAO_IDL/include/ast_extern.h deleted file mode 100644 index 74ea518bef5..00000000000 --- a/TAO/TAO_IDL/include/ast_extern.h +++ /dev/null @@ -1,91 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_EXTERN_AST_EXTERN_HH -#define _AST_EXTERN_AST_EXTERN_HH - -// ast_extern.hh -// -// Declares all global functions for the AST - -/* -** DEPENDENCIES: none -** -** USE: Included from idl_extern.hh -*/ - -// Functions: - -// Two functions are provided for storing AST nodes representing fwd -// declared interfaces, and for checking the stored nodes after parsing -// the entire AST. The check ensures that for each fwd declared interface -// the full definition was also seen. - -extern void AST_record_fwd_interface(AST_InterfaceFwd *i); -extern void AST_check_fwd_interface(); - -extern idl_bool AST_illegal_recursive_type(AST_Decl *t); - -#endif // _AST_EXTERN_AST_EXTERN_HH - diff --git a/TAO/TAO_IDL/include/ast_field.h b/TAO/TAO_IDL/include/ast_field.h deleted file mode 100644 index 39e80f5c6ec..00000000000 --- a/TAO/TAO_IDL/include/ast_field.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_FIELD_AST_FIELD_HH -#define _AST_FIELD_AST_FIELD_HH - -// Representation of a generic field -// -// Used as member in structures, exceptions and unions, and as a base -// type for attributes and arguments to operations -// -// NOTE: There are two constructors here, the first is used when field -// is used directly inside a structure, the second when it is used as -// the base type for attributes and operations. - -/* -** DEPENDENCIES: ast_decl.hh, ast_type.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" - - -class AST_Field : public virtual AST_Decl -{ -public: - // Operations - - // Constructor(s) - AST_Field(); - AST_Field(AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p); - AST_Field(AST_Decl::NodeType nt, AST_Type *field_type, - UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Field() {} - - // Data Accessors - AST_Type *field_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Field, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Field); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_field_type; // Base type for field - -}; - -#endif // _AST_FIELD_AST_FIELD_HH diff --git a/TAO/TAO_IDL/include/ast_generator.h b/TAO/TAO_IDL/include/ast_generator.h deleted file mode 100644 index c9154fc366d..00000000000 --- a/TAO/TAO_IDL/include/ast_generator.h +++ /dev/null @@ -1,212 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_GENERATOR_AST_GENERATOR_HH -#define _AST_GENERATOR_AST_GENERATOR_HH - -// ast_generator.h -// -// Defines base class for generators - -/* -** DEPENDENCIES: ast_predefined_type.hh utl_scoped_name.hh utl_strlist.hh -** ast_module.hh ast_root.hh ast_interface.hh -** ast_interface_fwd.hh ast_exception.hh ast_structure.hh -** ast_enum.hh ast_operation.hh ast_type.hh ast_field.hh -** ast_argument.hh ast_attribute.hh ast_union.hh -** ast_concrete_type.hh ast_union_branch.hh ast_union_label.hh -** ast_expression.hh ast_enum_val.hh ast_array.hh -** ast_sequence.hh ast_string.hh ast_typedef.hh -** -** USE: Included from ast.hh -*/ - -class AST_Generator -{ -public: - // Operations - - // Create a node representing a predefined type - virtual AST_PredefinedType - *create_predefined_type(AST_PredefinedType::PredefinedType t, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a module - virtual AST_Module *create_module(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a module which is the root of an AST - virtual AST_Root *create_root(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an interface - virtual AST_Interface *create_interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - - // Create a node representing a forward declaration of an interface - virtual AST_InterfaceFwd *create_interface_fwd(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an exception - virtual AST_Exception *create_exception(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a structure - virtual AST_Structure *create_structure(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an enum - virtual AST_Enum *create_enum(UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an operation on an interface - virtual AST_Operation *create_operation(AST_Type *rt, - AST_Operation::Flags fl, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a field in a structure, exception or - // union - virtual AST_Field *create_field(AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an argument to an operation - virtual AST_Argument *create_argument(AST_Argument::Direction d, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an attribute - virtual AST_Attribute *create_attribute(idl_bool ro, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a union - virtual AST_Union *create_union(AST_ConcreteType *dt, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing one branch in a union - virtual AST_UnionBranch *create_union_branch(AST_UnionLabel *lab, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing a label on a union branch - virtual AST_UnionLabel *create_union_label(AST_UnionLabel::UnionLabel ul, - AST_Expression *lv); - - // Create a node representing a constant - virtual AST_Constant *create_constant(AST_Expression::ExprType et, - AST_Expression *ev, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create various kinds of nodes representing expressions - virtual AST_Expression *create_expr(UTL_ScopedName *n); - virtual AST_Expression *create_expr(AST_Expression *v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(AST_Expression::ExprComb c, - AST_Expression *v1, - AST_Expression *v2); - virtual AST_Expression *create_expr(long v); - virtual AST_Expression *create_expr(long v, - AST_Expression::ExprType t); - virtual AST_Expression *create_expr(unsigned long v); - virtual AST_Expression *create_expr(String *s); - virtual AST_Expression *create_expr(char c); - virtual AST_Expression *create_expr(double d); - - // Create a node representing an enumerator - virtual AST_EnumVal *create_enum_val(unsigned long v, - UTL_ScopedName *n, - UTL_StrList *p); - - // Create a node representing an array type - virtual AST_Array *create_array(UTL_ScopedName *n, - unsigned long ndims, - UTL_ExprList *dims); - - // Create a node representing a sequence type - virtual AST_Sequence *create_sequence(AST_Expression *v, - AST_Type *bt); - - // Create a node representing a string type - virtual AST_String *create_string(AST_Expression *v); - - // Create a node representing a wide string type - virtual AST_String *create_wstring(AST_Expression *v); - - // Create a node representing a type renaming (typedef) - virtual AST_Typedef *create_typedef(AST_Type *bt, - UTL_ScopedName *n, - UTL_StrList *p); -}; - -#endif // _AST_GENERATOR_AST_GENERATOR_HH diff --git a/TAO/TAO_IDL/include/ast_interface.h b/TAO/TAO_IDL/include/ast_interface.h deleted file mode 100644 index fe8c96e8b3b..00000000000 --- a/TAO/TAO_IDL/include/ast_interface.h +++ /dev/null @@ -1,144 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_INTERFACE_AST_INTERFACE_HH -#define _AST_INTERFACE_AST_INTERFACE_HH - -// Representation of interface: -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. - -/* -** DEPENDENCIES: ast_type.hh, utl_scope.hh, ast_decl.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_type.h" -#include "utl_scope.h" -#include "ast_decl.h" - - -class AST_Interface : public virtual AST_Type, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Interface(); - AST_Interface(UTL_ScopedName *n, - AST_Interface **ih, - long nih, - UTL_StrList *p); - virtual ~AST_Interface() {} - - // Data Accessors - AST_Interface **inherits(); - void set_inherits(AST_Interface **i); - long n_inherits(); - void set_n_inherits(long i); - - // Is this interface defined? This predicate returns FALSE when an - // interface was forward declared but not defined yet, and TRUE in - // all other cases. - idl_bool is_defined() - { - return (pd_n_inherits < 0) ? I_FALSE : I_TRUE; - } - - // Narrowing - DEF_NARROW_METHODS2(AST_Interface, AST_Type, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Interface); - DEF_NARROW_FROM_SCOPE(AST_Interface); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Interface **pd_inherits; // Inherited interfaces - // This is an array of pointers - // to the inherited interfaces - long pd_n_inherits; // How many of them? - - // Scope Management Protocol - friend int yyparse(); - - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Attribute *fe_add_attribute(AST_Attribute *a); - virtual AST_Operation *fe_add_operation(AST_Operation *o); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - -}; - -#endif // _AST_INTERFACE_AST_INTERFACE_HH diff --git a/TAO/TAO_IDL/include/ast_interface_fwd.h b/TAO/TAO_IDL/include/ast_interface_fwd.h deleted file mode 100644 index 8dddc51d916..00000000000 --- a/TAO/TAO_IDL/include/ast_interface_fwd.h +++ /dev/null @@ -1,104 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH -#define _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH - -// Representation of a forward interface declaration - -/* -** DEPENDENCIES: ast_decl.hh, ast_interface.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_InterfaceFwd : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_InterfaceFwd(); - AST_InterfaceFwd(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_InterfaceFwd() {} - - // Data Accessors - AST_Interface *full_definition(); - void set_full_definition(AST_Interface *nfd); - - // Narrowing - DEF_NARROW_METHODS1(AST_InterfaceFwd, AST_Type); - DEF_NARROW_FROM_DECL(AST_InterfaceFwd); - - // AST Dumping - virtual void dump(ostream &); - -private: - // Data - AST_Interface *pd_full_definition; // The interface this is a - // forward declaration of -}; - -#endif // _AST_INTERFACE_FWD_AST_INTERFACE_FWD_HH diff --git a/TAO/TAO_IDL/include/ast_module.h b/TAO/TAO_IDL/include/ast_module.h deleted file mode 100644 index 305d47dd4fa..00000000000 --- a/TAO/TAO_IDL/include/ast_module.h +++ /dev/null @@ -1,118 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_MODULE_AST_MODULE_HH -#define _AST_MODULE_AST_MODULE_HH - -// Representation of module -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. - -/* -** DEPENDENCIES: ast_decl.hh, utl_scope.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Module : public virtual AST_Decl, public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Module(); - AST_Module(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Module() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Module, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Module); - DEF_NARROW_FROM_SCOPE(AST_Module); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend void fe_populate(AST_Module *m); - friend int yyparse(); - - // Scope Management Protocol - - virtual AST_PredefinedType *fe_add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *fe_add_module(AST_Module *m); - virtual AST_Interface *fe_add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *fe_add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - -}; - -#endif // _AST_MODULE_AST_MODULE_HH diff --git a/TAO/TAO_IDL/include/ast_operation.h b/TAO/TAO_IDL/include/ast_operation.h deleted file mode 100644 index dc197a7bf17..00000000000 --- a/TAO/TAO_IDL/include/ast_operation.h +++ /dev/null @@ -1,137 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_OPERATION_AST_OPERATION_HH -#define _AST_OPERATION_AST_OPERATION_HH - -// Representation of operation declaration: - -/* -** DEPENDENCIES: ast_decl.hh, utl_scope.hh, ast_type.hh, utl_strlist.hh, -** utl_exceptlist.hh, utl_scoped_name.hh -** -** USE: included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "utl_list.h" -#include "ast_decl.h" -#include "utl_scope.h" -#include "utl_scoped_name.h" - - -class AST_Operation : public virtual AST_Decl, public virtual UTL_Scope -{ -public: - // Define enum with flags for operation attributes - enum Flags { - OP_noflags // No flags present - , OP_oneway // Operation is oneway - , OP_idempotent // Operation is idempotent - }; - - // Operations - - // Constructor(s) - AST_Operation(); - AST_Operation(AST_Type *return_type, - Flags flags, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_Operation() {} - - // Data Accessors - AST_Type *return_type(); - Flags flags(); - UTL_StrList *context(); - UTL_ExceptList *exceptions(); - - // Narrowing - DEF_NARROW_METHODS2(AST_Operation, AST_Decl, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Operation); - DEF_NARROW_FROM_SCOPE(AST_Operation); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_return_type; // Return type - Flags pd_flags; // Operation flags - UTL_StrList *pd_context; // Context - UTL_ExceptList *pd_exceptions; // Exceptions raised - - // Scope Management Protocol - friend int yyparse(); - - virtual AST_Argument *fe_add_argument(AST_Argument *a); - virtual UTL_StrList *fe_add_context(UTL_StrList *c); - // Add context - virtual UTL_NameList *fe_add_exceptions(UTL_NameList *e); - // exceptions - -}; - -#endif // _AST_OPERATION_AST_OPERATION_HH diff --git a/TAO/TAO_IDL/include/ast_predefined_type.h b/TAO/TAO_IDL/include/ast_predefined_type.h deleted file mode 100644 index 1be12f4c4bc..00000000000 --- a/TAO/TAO_IDL/include/ast_predefined_type.h +++ /dev/null @@ -1,125 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH -#define _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH - -// Representation of predefined types: -// -// Instances of this class are inserted into the global context by -// the front end before the start of parsing. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scoped_name.hh, utl_strlist.hh, -** ast_decl.hh -** -** USE: Included from ast.hh -*/ - -class AST_PredefinedType : public virtual AST_ConcreteType -{ -public: - // Enum for all the different predefined types - enum PredefinedType { - PT_long // Predefined type "long" - , PT_ulong // Predefined type "unsigned long" - , PT_longlong // Predefined type "long long" - , PT_ulonglong // Predefined type "unsigned long long" - , PT_short // Predefined type "short" - , PT_ushort // Predefined type "unsigned short" - , PT_float // Predefined type "float" - , PT_double // Predefined type "double" - , PT_longdouble // Predefined type "long double" - , PT_char // Predefined type "char" - , PT_wchar // Predefined type "wchar_t" - , PT_boolean // Predefined type "boolean" - , PT_octet // Predefined type "octet" - , PT_any // Predefined type "any" - , PT_void // Predefined type "void" - , PT_pseudo // Predefined type for pseudo objects - }; - - // Operations - - // Constructor(s) - AST_PredefinedType(); - AST_PredefinedType(PredefinedType t, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_PredefinedType() {} - - // Data Accessors - PredefinedType pt(); - - // Narrowing - DEF_NARROW_METHODS1(AST_PredefinedType, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_PredefinedType); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - const PredefinedType pd_pt; // The specific predefined type -}; - -#endif // _AST_PREDEFINED_TYPE_AST_PREDEFINED_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_root.h b/TAO/TAO_IDL/include/ast_root.h deleted file mode 100644 index 765043aac97..00000000000 --- a/TAO/TAO_IDL/include/ast_root.h +++ /dev/null @@ -1,105 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_ROOT_AST_ROOT_HH -#define _AST_ROOT_AST_ROOT_HH - -// Representation of root of AST - -/* -** DEPENDENCIES: ast_module.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Root : public virtual AST_Module -{ -public: - // Operations - - // Constructor(s) - AST_Root(); - AST_Root(UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Root() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Root, AST_Module); - DEF_NARROW_FROM_DECL(AST_Root); - DEF_NARROW_FROM_SCOPE(AST_Root); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend class FE_Declarator; - friend int yyparse(); - // Add protocol - - virtual AST_Sequence *fe_add_sequence(AST_Sequence *s); - virtual AST_String *fe_add_string(AST_String *s); - virtual AST_Array *fe_add_array(AST_Array *a); - -}; - -#endif // _AST_ROOT_AST_ROOT_HH diff --git a/TAO/TAO_IDL/include/ast_sequence.h b/TAO/TAO_IDL/include/ast_sequence.h deleted file mode 100644 index d3864e9f982..00000000000 --- a/TAO/TAO_IDL/include/ast_sequence.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_SEQUENCE_AST_SEQUENCE_HH -#define _AST_SEQUENCE_AST_SEQUENCE_HH - -// Representation of sequence declaration: -// -// A sequence is a combination of a maximum size and a base type - -/* -** DEPENDENCIES: ast_concrete_type.hh, ast_type.hh, ast_decl.hh, -** ast_expression.hh -** -** USE: Included from ast.hh -*/ - -class AST_Sequence : public virtual AST_ConcreteType -{ -public: - // Operations - - // Constructor(s) - AST_Sequence(); - AST_Sequence(AST_Expression *max_size, AST_Type *bt); - virtual ~AST_Sequence() {} - - // Data Accessors - AST_Expression *max_size(); - AST_Type *base_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Sequence, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_Sequence); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_max_size; // Maximum sequence size - AST_Type *pd_base_type; // Sequence base type -}; - -#endif // _AST_SEQUENCE_AST_SEQUENCE_HH diff --git a/TAO/TAO_IDL/include/ast_string.h b/TAO/TAO_IDL/include/ast_string.h deleted file mode 100644 index 4bdfbb7734e..00000000000 --- a/TAO/TAO_IDL/include/ast_string.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_STRING_AST_STRING_HH -#define _AST_STRING_AST_STRING_HH - -// Representation of string declaration -// -// A string type is represented by a maximum size - -/* -** DEPENDENCIES: ast_concrete_type.hh, ast_decl.hh, ast_expression.hh -** -** USE: Included from ast.hh -*/ - -class AST_String : public virtual AST_ConcreteType -{ -public: - // Operations - - // Constructor(s) - AST_String(); - AST_String(AST_Expression *max_size); - AST_String(AST_Expression *max_size, long wide); - virtual ~AST_String() {} - - // Data Accessors - AST_Expression *max_size(); - long width(); - - // Narrowing - DEF_NARROW_METHODS1(AST_String, AST_ConcreteType); - DEF_NARROW_FROM_DECL(AST_String); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Expression *pd_max_size; // String maximum size - long pd_width; // Width of string -}; - -#endif // _AST_STRING_AST_STRING_HH diff --git a/TAO/TAO_IDL/include/ast_structure.h b/TAO/TAO_IDL/include/ast_structure.h deleted file mode 100644 index f20eb0eb3a8..00000000000 --- a/TAO/TAO_IDL/include/ast_structure.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_STRUCTURE_AST_STRUCTURE_HH -#define _AST_STRUCTURE_AST_STRUCTURE_HH - -// Representation of structure: -// -// NOTE: add(AST_ConcreteType *) is defined here because a structure -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Structure. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, utl_scoped_name.hh, -** utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Structure : public virtual AST_ConcreteType, - public virtual UTL_Scope -{ -public: - // Operations - - // Constructor(s) - AST_Structure(); - AST_Structure(UTL_ScopedName *n, UTL_StrList *p); - AST_Structure(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Structure() {} - - // Narrowing - DEF_NARROW_METHODS2(AST_Structure, AST_ConcreteType, UTL_Scope); - DEF_NARROW_FROM_DECL(AST_Structure); - DEF_NARROW_FROM_SCOPE(AST_Structure); - - // AST Dumping - virtual void dump(ostream &o); - -private: - friend int yyparse(); - // Scope Management Protocol - - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); -}; - -#endif // _AST_STRUCTURE_AST_STRUCTURE_HH diff --git a/TAO/TAO_IDL/include/ast_type.h b/TAO/TAO_IDL/include/ast_type.h deleted file mode 100644 index ca9a5e0498c..00000000000 --- a/TAO/TAO_IDL/include/ast_type.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_TYPE_AST_TYPE_HH -#define _AST_TYPE_AST_TYPE_HH - -// Class for all IDL types -// -// This is useful wherever any IDL type defining construct can appear -// such as the base type for a typedef or array - -/* -** DEPENDENCIES: ast_decl.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" - - -class AST_Type : public virtual AST_Decl -{ -public: - // Operations - - // Constructor(s) - AST_Type(); - AST_Type(AST_Decl::NodeType nt, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Type() {} - - // Narrowing - DEF_NARROW_METHODS1(AST_Type, AST_Decl); - DEF_NARROW_FROM_DECL(AST_Type); -}; - -#endif // _AST_TYPE_AST_TYPE_HH diff --git a/TAO/TAO_IDL/include/ast_typedef.h b/TAO/TAO_IDL/include/ast_typedef.h deleted file mode 100644 index 1abb09aa935..00000000000 --- a/TAO/TAO_IDL/include/ast_typedef.h +++ /dev/null @@ -1,103 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_TYPEDEF_AST_TYPEDEF_HH -#define _AST_TYPEDEF_AST_TYPEDEF_HH - -// Representation of typedef declaration -// -// A typedef declaration is a renaming of a base type - -/* -** DEPENDENCIES: ast_decl.hh, ast_type.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Typedef : public virtual AST_Type -{ -public: - // Operations - - // Constructor(s) - AST_Typedef(); - AST_Typedef(AST_Type *base_type, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Typedef() {} - - // Data Accessors - AST_Type *base_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Typedef, AST_Type); - DEF_NARROW_FROM_DECL(AST_Typedef); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_Type *pd_base_type; // typedef base type -}; - -#endif // _AST_TYPEDEF_AST_TYPEDEF_HH diff --git a/TAO/TAO_IDL/include/ast_union.h b/TAO/TAO_IDL/include/ast_union.h deleted file mode 100644 index eab7ec51985..00000000000 --- a/TAO/TAO_IDL/include/ast_union.h +++ /dev/null @@ -1,141 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_AST_UNION_HH -#define _AST_UNION_AST_UNION_HH - -// Representation of union declaration: -// -// NOTE: add(AST_ConcreteType *) is defined here because a union -// can contain locally defined types in addition to fields. -// -// NOTE: add(AST_EnumValue *) is defined here because enums can -// be defined manifest locally; the constants defined in these -// enums are inserted in the enclosing scope. It is unlikely that -// a BE writer will need to overload this function in AST_Union. - -/* -** DEPENDENCIES: ast_concrete_type.hh, utl_scope.hh, ast_union_branch.hh, -** ast_union_label.hh, utl_scoped_name.hh, utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -class AST_Union : public virtual AST_Structure -{ -public: - // Operations - - // Constructor(s) - AST_Union(); - AST_Union(AST_ConcreteType *disc_type, UTL_ScopedName *n, UTL_StrList *p); - virtual ~AST_Union() {} - - // Data Accessors - AST_ConcreteType *disc_type(); - AST_Expression::ExprType udisc_type(); - - // Narrowing - DEF_NARROW_METHODS1(AST_Union, AST_Structure); - DEF_NARROW_FROM_DECL(AST_Union); - DEF_NARROW_FROM_SCOPE(AST_Union); - - // AST Dumping - virtual void dump(ostream &); - -private: - // Data - AST_ConcreteType *pd_disc_type; // Discriminator type - AST_Expression::ExprType pd_udisc_type; // Its expression type - /* Convention: udisc_type == EV_any denotes an enum value */ - - // Operations - - // Look up a branch by node pointer - AST_UnionBranch *lookup_branch(AST_UnionBranch *branch); - - // Look up the branch with the "default" label - AST_UnionBranch *lookup_default(); - - // Look up a branch given a branch with a label. This is used to - // check for duplicate labels - AST_UnionBranch *lookup_label(AST_UnionBranch *b); - - // Look up a union branch given an enumerator. This is used to - // check for duplicate enum labels - AST_UnionBranch *lookup_enum(AST_UnionBranch *b); - -private: - friend int yyparse(); - // Scope Management Protocol - - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_UnionBranch *fe_add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - -}; - -#endif // _AST_UNION_AST_UNION_HH diff --git a/TAO/TAO_IDL/include/ast_union_branch.h b/TAO/TAO_IDL/include/ast_union_branch.h deleted file mode 100644 index e2de5aa8b7e..00000000000 --- a/TAO/TAO_IDL/include/ast_union_branch.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_BRANCH_AST_UNION_BRAN_HH -#define _AST_UNION_BRANCH_AST_UNION_BRAN_HH - -// Representation of union branch declaration: -// -// A branch of a union is a field with a label - -/* -** DEPEndencies: ast_field.hh, ast_union_label.hh, ast_type.hh, -** utl_scoped_name.hh, utl_strlist.h, ast_decl.h -** -** USE: Included from ast.hh -*/ - -class AST_UnionBranch : public virtual AST_Field -{ -public: - // Operations - - // Constructor(s) - AST_UnionBranch(); - AST_UnionBranch(AST_UnionLabel *label, - AST_Type *ft, - UTL_ScopedName *n, - UTL_StrList *p); - virtual ~AST_UnionBranch() {} - - // Data Accessors - AST_UnionLabel *label(); - - // Narrowing - DEF_NARROW_METHODS1(AST_UnionBranch, AST_Field); - DEF_NARROW_FROM_DECL(AST_UnionBranch); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - AST_UnionLabel *pd_label; // Label of this branch -}; - -#endif // _AST_UNION_BRANCH_AST_UNION_BRAN_HH diff --git a/TAO/TAO_IDL/include/ast_union_label.h b/TAO/TAO_IDL/include/ast_union_label.h deleted file mode 100644 index 587ddb1c911..00000000000 --- a/TAO/TAO_IDL/include/ast_union_label.h +++ /dev/null @@ -1,108 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_UNION_LABEL_AST_UNION_LABEL_HH -#define _AST_UNION_LABEL_AST_UNION_LABEL_HH - -// AST_UnionLabel.h -// -// Defines labels for unions - -/* -** DEPENDENCIES: ast_expression.hh -** -** USE: included from ast.hh -*/ - -class AST_UnionLabel -{ -public: - // Define kind of label - enum UnionLabel { - UL_default // Label is "default" - , UL_label // Regular label - }; - - // Operations - - // Constructor(s) - AST_UnionLabel(); - AST_UnionLabel(UnionLabel lk, AST_Expression *lv); - virtual ~AST_UnionLabel() {} - - // Data Accessors - UnionLabel label_kind(); - AST_Expression *label_val(); - - // AST Dumping - virtual void dump(ostream &o); - -private: - // Data - UnionLabel pd_label_kind; // Label kind - AST_Expression *pd_label_val; // Label expression - -}; - -#endif // _AST_UNION_LABEL_AST_UNION_LABEL_HH diff --git a/TAO/TAO_IDL/include/be_extern.h b/TAO/TAO_IDL/include/be_extern.h deleted file mode 100644 index c8e5f0530fe..00000000000 --- a/TAO/TAO_IDL/include/be_extern.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _BE_EXTERN_BE_EXTERN_HH -#define _BE_EXTERN_BE_EXTERN_HH - -// be_extern.h - Defines the BE part of the BE<->FE protocol - -// Functions: - -extern "C" AST_Generator *BE_init(); - -extern "C" void BE_produce(); -extern "C" void BE_abort(); -extern "C" void BE_prep_arg(char *, idl_bool); - -extern "C" void BE_version(); - -#endif // _BE_EXTERN_BE_EXTERN_HH diff --git a/TAO/TAO_IDL/include/drv_extern.h b/TAO/TAO_IDL/include/drv_extern.h deleted file mode 100644 index 8f5d6651f91..00000000000 --- a/TAO/TAO_IDL/include/drv_extern.h +++ /dev/null @@ -1,84 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_EXTERN_DRV_EXTERN_HH -#define _DRV_EXTERN_DRV_EXTERN_HH - -// drv_extern.h - External functions for the IDL compiler driver program - -// Functions - -extern void DRV_init(); -extern void DRV_parse_args(long, char **); -extern void DRV_usage(); - -extern void DRV_pre_proc(char *myfile); - -extern void DRV_cpp_init(); -extern void DRV_cpp_putarg(char *str); -extern void DRV_cpp_new_location(char *new_loc); - -extern void DRV_fork(); - -#endif // _DRV_EXTERN_DRV_EXTERN_HH diff --git a/TAO/TAO_IDL/include/drv_link.h b/TAO/TAO_IDL/include/drv_link.h deleted file mode 100644 index daea5b77b88..00000000000 --- a/TAO/TAO_IDL/include/drv_link.h +++ /dev/null @@ -1,122 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_LINK_DRV_LINK_HH -#define _DRV_LINK_DRV_LINK_HH - -// drv_link.hh - Define data and functions which are used to -// link in the back end functions - -/* - * Front end interface - */ - -class File; -typedef void (* DRV_PF_FE_init_stage1)(); -typedef void (* DRV_PF_FE_init_stage2)(); -typedef int (* DRV_PF_FE_yyparse)(); -typedef void (* DRV_PF_FE_set_yyin)(File *); - -class UTL_Error; -class UTL_Indenter; -class UTL_String; -typedef UTL_Error * (* DRV_PF_FE_new_UTL_Error)(); -typedef UTL_Indenter * (* DRV_PF_FE_new_UTL_Indenter)(); -typedef UTL_String * (* DRV_PF_FE_new_UTL_String)(char *); - -extern DRV_PF_FE_init_stage1 DRV_FE_init_stage1; -extern DRV_PF_FE_init_stage2 DRV_FE_init_stage2; -extern DRV_PF_FE_yyparse DRV_FE_yyparse; -extern DRV_PF_FE_set_yyin DRV_FE_set_yyin; - -extern DRV_PF_FE_new_UTL_Error DRV_FE_new_UTL_Error; -extern DRV_PF_FE_new_UTL_Indenter DRV_FE_new_UTL_Indenter; -extern DRV_PF_FE_new_UTL_String DRV_FE_new_UTL_String; - -/* - * Back end interface - */ - -class AST_Generator; -typedef AST_Generator * (* DRV_PF_BE_init)(); -typedef void (* DRV_PF_BE_produce)(); -typedef void (* DRV_PF_BE_abort)(); -typedef void (* DRV_PF_BE_prep_arg)(char *, idl_bool); -typedef void (* DRV_PF_BE_version)(); - -extern DRV_PF_BE_init DRV_BE_init; -extern DRV_PF_BE_produce DRV_BE_produce; -extern DRV_PF_BE_abort DRV_BE_abort; -extern DRV_PF_BE_prep_arg DRV_BE_prep_arg; -extern DRV_PF_BE_version DRV_BE_version; - -// Functions - -extern void DRV_FE_open(); -extern void DRV_FE_close(); - -extern void DRV_BE_open(); -extern void DRV_BE_close(); - -#endif // _DRV_LINK_DRV_LINK_HH diff --git a/TAO/TAO_IDL/include/drv_private.h b/TAO/TAO_IDL/include/drv_private.h deleted file mode 100644 index caa74747db7..00000000000 --- a/TAO/TAO_IDL/include/drv_private.h +++ /dev/null @@ -1,81 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _DRV_PRIVATE_DRV_PRIVATE_HH -#define _DRV_PRIVATE_DRV_PRIVATE_HH - -// drv_private.hh - Define data and functions which are private to -// the DRV but which must be accessible througout the DRV - -// Data - -extern char *DRV_files[]; // All files to be processed -extern long DRV_nfiles; // How many are there? -extern long DRV_file_index; // What's the file I am responsible - // for? - -// Functions -extern void DRV_drive(char *);// Compiler driver for single file - -#endif // _DRV_PRIVATE_DRV_PRIVATE_HH diff --git a/TAO/TAO_IDL/include/fe_declarator.h b/TAO/TAO_IDL/include/fe_declarator.h deleted file mode 100644 index dee81ffe035..00000000000 --- a/TAO/TAO_IDL/include/fe_declarator.h +++ /dev/null @@ -1,111 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_DECLARATOR_FE_DECLARATOR_HH -#define _FE_DECLARATOR_FE_DECLARATOR_HH - -// FE_Declarator.h -// -// FE internal class for storing interim declaration statements - -/* -** DEPENDENCIES: utl_scoped_name.hh, ast_decl.hh -** -** USE: Included from fe.hh -*/ - -class FE_Declarator -{ -public: - // Enum to denote types of declarators - enum DeclaratorType { - FD_simple // Simple declarator - , FD_complex // Complex declarator (complex_part field used) - }; - - // Operations - - // Constructor(s) - FE_Declarator(UTL_ScopedName *n, DeclaratorType dt, AST_Decl *cp); - virtual ~FE_Declarator() {} - - // Data Accessors - AST_Decl *complex_part(); - UTL_ScopedName *name(); - DeclaratorType decl_type(); - - // Other Operations - - // Compose an FE_Declarator into an AST_Type once all the needed information - // is available - AST_Type *compose(AST_Decl* tc); - -private: - // Data - AST_Decl *pd_complex_part; // If a complex declarator - UTL_ScopedName *pd_name; // The name if complex - DeclaratorType pd_decl_type; // Whether complex or simple -}; - -#endif // _FE_DECLARATOR_FE_DECLARATOR_HH diff --git a/TAO/TAO_IDL/include/fe_extern.h b/TAO/TAO_IDL/include/fe_extern.h deleted file mode 100644 index 816081f1323..00000000000 --- a/TAO/TAO_IDL/include/fe_extern.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_EXTERN_FE_EXTERN_HH -#define _FE_EXTERN_FE_EXTERN_HH - -// fe_extern.hh -// -// Declares all global functions for the FE - -/* -** DEPENDENCIES: none -** -** USE: Included from idl_extern.hh -*/ - -// Functions: - -// Initialization: -// -// FE initialization is done in two stages, with the BE initialization -// occurring in between. The first stage is responsible for creating -// the sope stack. The BE initialization creates the generator object -// which is then used in the second stage to create the global scope -// and to populate it with nodes for the predefined types - -extern "C" void FE_init_stage1(); // Initialize stage 1 -extern "C" void FE_init_stage2(); // Initialize stage 2 - -// Interface to Yacc parser - -class File; -extern "C" int FE_yyparse(); // Invode yyparse -extern "C" void FE_set_yyin(File *); // Set yyin - -// Interface to constructors for objects need by the driver - -class UTL_Error; -class UTL_Indenter; -class UTL_String; - -extern "C" UTL_Error * FE_new_UTL_Error(); -extern "C" UTL_Indenter * FE_new_UTL_Indenter(); -extern "C" UTL_String * FE_new_UTL_String(char *); - -#endif // _FE_EXTERN_FE_EXTERN_HH diff --git a/TAO/TAO_IDL/include/fe_interface_header.h b/TAO/TAO_IDL/include/fe_interface_header.h deleted file mode 100644 index b75164780a8..00000000000 --- a/TAO/TAO_IDL/include/fe_interface_header.h +++ /dev/null @@ -1,107 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_INTERFACE_HEADER_FE_INTERFACE_HH -#define _FE_INTERFACE_HEADER_FE_INTERFACE_HH - -// FE_InterfaceHeader -// -// Internal class for FE to describe interface headers - -/* -** DEPENDENCIES: utl_scoped_name.hh, ast_interface.hh, utl_scope.hh, -** ast_decl.hh -** -** USE: Included from fe.hh -*/ - -class FE_InterfaceHeader -{ -public: - // Operations - - // Constructor(s) - FE_InterfaceHeader(UTL_ScopedName *n, UTL_NameList *l); - virtual ~FE_InterfaceHeader() {} - - // Data Accessors - UTL_ScopedName *interface_name(); - AST_Interface **inherits(); - long n_inherits(); - -private: - // Data - UTL_ScopedName *pd_interface_name; // Interface name - AST_Interface **pd_inherits; // Inherited interfaces - long pd_n_inherits; // How many - - // Operations - - // Compile the flattened unique list of interfaces which this - // interface inherits from - void compile_one_inheritance(AST_Interface *i); - void compile_inheritance(UTL_NameList *l); -}; - -#endif // _FE_INTERFACE_HEADER_FE_INTERFACE_HH diff --git a/TAO/TAO_IDL/include/fe_private.h b/TAO/TAO_IDL/include/fe_private.h deleted file mode 100644 index d90e19907bd..00000000000 --- a/TAO/TAO_IDL/include/fe_private.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _FE_FE_HH -#define _FE_FE_HH - -// fe_private.hh - Defines data which is private to the FE but -// which must be accessible throughout the FE - -/* -** DEPENDENCIES: NONE -** -** USE: Included from source files -*/ - -/* - * FE includes - */ - -#include "fe_interface_header.h"// class FE_InterfaceHeader -#include "fe_declarator.h" // class FE_Declarator - -/* - * FE Operations - */ - -#endif // _FE_FE_HH diff --git a/TAO/TAO_IDL/include/global_extern.h b/TAO/TAO_IDL/include/global_extern.h deleted file mode 100644 index 3ff7bf93dfd..00000000000 --- a/TAO/TAO_IDL/include/global_extern.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _GLOBAL_EXTERN_GLOBAL_EXTERN_HH -#define _GLOBAL_EXTERN_GLOBAL_EXTERN_HH - -// global_extern.hh - Global data for the IDL compiler - -extern IDL_GlobalData *idl_global; // Contains all "global" data - -// Global functions for the IDL compiler - -// Return TRUE when the name of this AST_Decl can be reused in -// a definition in this scope -extern idl_bool can_be_redefined(AST_Decl *); - -#endif // _GLOBAL_EXTERN_GLOBAL_EXTERN_HH diff --git a/TAO/TAO_IDL/include/idl.h b/TAO/TAO_IDL/include/idl.h deleted file mode 100644 index ea50cca6c61..00000000000 --- a/TAO/TAO_IDL/include/idl.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_IDL_HH -#define _IDL_IDL_HH - -// idl.hh -// -// Main include file for IDL compiler. Includes the rest of the -// files defining the different units of the compiler - -#include "ace/ACE.h" // Most important ACE include file - -#include "intlmacros.h" // Define macros for intl'ion - -#include <stdlib.h> // POSIX standard defns -#include <ctype.h> // External functions - -#include "ace/stdcpp.h" // Standard IO library - -#include <sys/types.h> // POSIX standard types - -#include "idl_narrow.h" // IDL Narrowing mechanism - -#include "idl_defines.h" // Constants for IDL compiler -#include "idl_fwd.h" // Forward decls of classes - -#include "idl_bool.h" // Defines boolean for IDL - -#include "utl_string.h" // Defines utility string class -#include "utl_identifier.h" // Defines utility identifier class -#include "ast.h" // AST classes -#include "util.h" // Utility classes - -#endif // _IDL_IDL_HH diff --git a/TAO/TAO_IDL/include/idl_bool.h b/TAO/TAO_IDL/include/idl_bool.h deleted file mode 100644 index dd53d968732..00000000000 --- a/TAO/TAO_IDL/include/idl_bool.h +++ /dev/null @@ -1,92 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_BOOL_IDL_BOOL_HH -#define _IDL_BOOL_IDL_BOOL_HH - -/* - * idl_bool.hh - Boolean definitions for IDL CFE - * - * This is interim. When porting to a new platform, this file will be - * modified to incorporate definitions for the boolean type suitable - * for the new platform. - */ - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -#ifndef I_TRUE -#define I_TRUE 1 -#endif - -#ifndef I_FALSE -#define I_FALSE 0 -#endif - -typedef long idl_bool; - -#endif // _IDL_BOOL_IDL_BOOL_HH diff --git a/TAO/TAO_IDL/include/idl_defines.h b/TAO/TAO_IDL/include/idl_defines.h deleted file mode 100644 index b4a4857d3f2..00000000000 --- a/TAO/TAO_IDL/include/idl_defines.h +++ /dev/null @@ -1,82 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_DEFINES_IDL_DEFINES_HH -#define _IDL_DEFINES_IDL_DEFINES_HH - -/* - * idl_defines.hh - Defines global compiler flags - */ - -// This cannot be an enum since more than one value may be active at -// a given time, hence bitflags are #define'd instead - -#define IDL_CF_VERSION (1 << 0) -#define IDL_CF_DUMP_AST (1 << 1) -#define IDL_CF_ONLY_PREPROC (1 << 2) -#define IDL_CF_ONLY_USAGE (1 << 3) -#define IDL_CF_INFORMATIVE (1 << 4) -#define IDL_CF_NOWARNINGS (1 << 5) - -#endif // _IDL_DEFINES_IDL_DEFINES_HH diff --git a/TAO/TAO_IDL/include/idl_extern.h b/TAO/TAO_IDL/include/idl_extern.h deleted file mode 100644 index efa7f328950..00000000000 --- a/TAO/TAO_IDL/include/idl_extern.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_EXTERN_IDL_EXTERN_HH -#define _IDL_EXTERN_IDL_EXTERN_HH - -// idl_extern.hh -// -// Global variables and functions for IDL compiler - -#include "fe_extern.h" // External API of FE -#include "be_extern.h" // External API of BE -#include "drv_extern.h" // External API of DRV -#include "ast_extern.h" // External API of AST -#include "nr_extern.h" // External API of NR -#include "global_extern.h" // Global data - -#endif // _IDL_EXTERN_IDL_EXTERN_HH diff --git a/TAO/TAO_IDL/include/idl_fwd.h b/TAO/TAO_IDL/include/idl_fwd.h deleted file mode 100644 index e0719c1a171..00000000000 --- a/TAO/TAO_IDL/include/idl_fwd.h +++ /dev/null @@ -1,145 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_FWD_IDL_FWD_HH -#define _IDL_FWD_IDL_FWD_HH - -// idl_fwd.hh -// -// Forward declaration of all class names in CFE-BEs contract - -/* -** DEPENDENCIES: NONE -** -** USE: Included from idl.hh -*/ - -// Class for global data representation: - -class IDL_GlobalData; // Global data is stored in an - // instance of this - -// Classes for utility of the IDL compiler: - -class UTL_ScopeStack; // Stack of scopes -class UTL_Scope; // A definition scope (mixin) - -class UTL_LongList; // List of longs -class UTL_StrList; // List of strings -class UTL_StrlistActiveIterator; // Active iterator for list of strings -class UTL_IdList; // List of identifiers -class UTL_IdListActiveIterator; // Active iterator for list of id's -class UTL_ExceptList; // List of exceptions -class UTL_NameList; // List of scoped names -class UTL_ExprList; // List of expressions -class UTL_InterfList; // List of interfaces -class UTL_LabelList; // List of union branch labels -class UTL_DeclList; // List of declarators -class UTL_String; // String class -class UTL_Identifier; // Identifier class - -class UTL_Error; // Error class -class UTL_Indenter; // Indenter class - -// Classes for utility of the FE. These classes are used only -// by the FE but their forward declaration is needed because lists -// of them are constructed by classes in UTL - -class FE_InterfaceHeader; // Interface header -class FE_Declarator; // Declarator - -// Generator class for the AST - -class AST_Generator; // Generate nodes of various types - -// Classes for AST: - -class AST_Decl; // The rock bottom base class - -class AST_PredefinedType; // A predefined type -class AST_Type; // An IDL type -class AST_ConcreteType; // An IDL concrete type -class AST_Module; // A module -class AST_Root; // The root of an AST (a module) -class AST_Interface; // An interface -class AST_InterfaceFwd; // A forward interface decl -class AST_Constant; // A constant declaration -class AST_Expression; // Value of an expression -class AST_Exception; // An exception declaration -class AST_Attribute; // An attribute declaration -class AST_Operation; // An operation declaration -class AST_Argument; // An argument to an operation -class AST_Union; // A union declaration -class AST_UnionBranch; // A branch in a union -class AST_UnionLabel; // A union branch label -class AST_Structure; // A structure declaration -class AST_Field; // A field in a structure or union -class AST_Enum; // An enum declaration -class AST_EnumVal; // An enumerator in an enum -class AST_Sequence; // A sequence declaration -class AST_String; // A string declaration -class AST_Array; // An array declaration -class AST_Typedef; // A typedef declaration - -#endif // _IDL_FWD_IDL_FWD_HH diff --git a/TAO/TAO_IDL/include/idl_global.h b/TAO/TAO_IDL/include/idl_global.h deleted file mode 100644 index 04079024263..00000000000 --- a/TAO/TAO_IDL/include/idl_global.h +++ /dev/null @@ -1,348 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_IDL_GLOBAL_HH -#define _IDL_IDL_GLOBAL_HH - -// idl_global.hh -// -// Defines a class containing all global data for the compiler. -// Can be subclassed in BEs to store more data - -class IDL_GlobalData -{ -public: - // Types - - // The ParseState type encodes the state of the Yacc parser so that - // better error messages can be produced, and for use by BEs in situations - // where context sensitive behavior is required - enum ParseState { - PS_NoState // No state - , PS_TypeDeclSeen // Seen complete typedef declaration - , PS_ConstDeclSeen // Seen complete const declaration - , PS_ExceptDeclSeen // Seen complete exception declaration - , PS_InterfaceDeclSeen // Seen complete interface declaration - , PS_ModuleDeclSeen // Seen complete module declaration - , PS_AttrDeclSeen // Seen complete attribute declaration - , PS_OpDeclSeen // Seen complete operation declaration - , PS_ModuleSeen // Seen a MODULE keyword - , PS_ModuleIDSeen // Seen the module ID - , PS_ModuleSqSeen // '{' seen for module - , PS_ModuleQsSeen // '}' seen for module - , PS_ModuleBodySeen // Seen complete module body - , PS_InterfaceSeen // Seen an INTERFACE keyword - , PS_InterfaceIDSeen // Seen the interface ID - , PS_InheritSpecSeen // Seen a complete inheritance spec - , PS_ForwardDeclSeen // Forward interface decl seen - , PS_InterfaceSqSeen // '{' seen for interface - , PS_InterfaceQsSeen // '}' seen for interface - , PS_InterfaceBodySeen // Seen an interface body - , PS_InheritColonSeen // Seen ':' in inheritance list - , PS_SNListCommaSeen // Seen ',' in list of scoped names - , PS_ScopedNameSeen // Seen a complete scoped name - , PS_SN_IDSeen // Seen an identifier as part of a scoped name - , PS_ScopeDelimSeen // Seen a scope delim as party of a scoped name - , PS_ConstSeen // Seen a CONST keyword - , PS_ConstTypeSeen // Parsed the type of a constant - , PS_ConstIDSeen // Seen the constant ID - , PS_ConstAssignSeen // Seen the '=' - , PS_ConstExprSeen // Seen the constant value expression - , PS_TypedefSeen // Seen a TYPEDEF keyword - , PS_TypeSpecSeen // Seen a complete type specification - , PS_DeclaratorsSeen // Seen a complete list of declarators - , PS_StructSeen // Seen a STRUCT keyword - , PS_StructIDSeen // Seen the struct ID - , PS_StructSqSeen // '{' seen for struct - , PS_StructQsSeen // '}' seen for struct - , PS_StructBodySeen // Seen complete body of struct decl - , PS_MemberTypeSeen // Seen type of struct or except member - , PS_MemberDeclsSeen // Seen decls of struct or except members - , PS_MemberDeclsCompleted // Completed one struct or except member to ';' - , PS_UnionSeen // Seen a UNION keyword - , PS_UnionIDSeen // Seen the union ID - , PS_SwitchSeen // Seen the SWITCH keyword - , PS_SwitchOpenParSeen // Seen the switch open par. - , PS_SwitchTypeSeen // Seen the switch type spec - , PS_SwitchCloseParSeen // Seen the switch close par. - , PS_UnionSqSeen // '{' seen for union - , PS_UnionQsSeen // '}' seen for union - , PS_DefaultSeen // Seen DEFAULT keyword - , PS_UnionLabelSeen // Seen label of union element - , PS_LabelColonSeen // Seen ':' of union branch label - , PS_LabelExprSeen // Seen expression of union branch label - , PS_UnionElemSeen // Seen a union element - , PS_UnionElemCompleted // Completed one union member up to ';' - , PS_CaseSeen // Seen a CASE keyword - , PS_UnionElemTypeSeen // Seen type spec for union element - , PS_UnionElemDeclSeen // Seen declarator for union element - , PS_UnionBodySeen // Seen completed union body - , PS_EnumSeen // Seen an ENUM keyword - , PS_EnumIDSeen // Seen the enum ID - , PS_EnumSqSeen // Seen '{' for enum - , PS_EnumQsSeen // Seen '}' for enum - , PS_EnumBodySeen // Seen complete enum body - , PS_EnumCommaSeen // Seen ',' in list of enumerators - , PS_SequenceSeen // Seen a SEQUENCE keyword - , PS_SequenceSqSeen // Seen '<' for sequence - , PS_SequenceQsSeen // Seen '>' for sequence - , PS_SequenceTypeSeen // Seen type decl for sequence - , PS_SequenceCommaSeen // Seen comma for sequence - , PS_SequenceExprSeen // Seen size expression for sequence - , PS_StringSeen // Seen a STRING keyword - , PS_StringSqSeen // Seen '<' for string - , PS_StringQsSeen // Seen '>' for string - , PS_StringExprSeen // Seen size expression for string - , PS_StringCompleted // Seen a string decl without size spec - , PS_ArrayIDSeen // Seen array ID - , PS_ArrayCompleted // Seen completed array declaration - , PS_DimSqSeen // Seen '[' for array dimension - , PS_DimQsSeen // Seen ']' for array dimension - , PS_DimExprSeen // Seen size expression for array dimension - , PS_AttrROSeen // Seen READONLY keyword - , PS_AttrSeen // Seen ATTRIBUTE keyword - , PS_AttrTypeSeen // Seen type decl for attribute - , PS_AttrDeclsSeen // Seen declarators for attribute - , PS_AttrCompleted // Seen complete attribute declaration - , PS_ExceptSeen // Seen EXCEPTION keyword - , PS_ExceptIDSeen // Seen exception identifier - , PS_ExceptSqSeen // Seen '{' for exception - , PS_ExceptQsSeen // Seen '}' for exception - , PS_ExceptBodySeen // Seen complete exception body - , PS_OpAttrSeen // Seen operation attribute - , PS_OpTypeSeen // Seen operation return type - , PS_OpIDSeen // Seen operation ID - , PS_OpParsCompleted // Completed operation param list - , PS_OpRaiseCompleted // Completed operation except list - , PS_OpContextCompleted // Completed operation context spec - , PS_OpCompleted // Completed operation statement - , PS_OpSqSeen // Seen '(' for operation - , PS_OpQsSeen // Seen ')' for operation - , PS_OpParCommaSeen // Seen ',' in list of op params - , PS_OpParDirSeen // Seen parameter direction - , PS_OpParTypeSeen // Seen parameter type - , PS_OpParDeclSeen // Seen parameter declaration - , PS_OpRaiseSeen // Seen RAISES keyword - , PS_OpRaiseSqSeen // Seen '(' for RAISES - , PS_OpRaiseQsSeen // Seen ')' for RAISES - , PS_OpContextSeen // Seen CONTEXT keyword - , PS_OpContextSqSeen // Seen '(' for CONTEXT - , PS_OpContextQsSeen // Seen ')' for CONTEXT - , PS_OpContextCommaSeen // Seen ',' for CONTEXT - , PS_DeclsCommaSeen // Seen ',' in declarators list - , PS_DeclsDeclSeen // Seen complete decl in decls list - }; - - // Constructor - IDL_GlobalData(); - virtual ~IDL_GlobalData() {} - - // Operations - virtual UTL_ScopeStack *scopes(); // Scopes stack - virtual void set_scopes(UTL_ScopeStack *); - // Set it - - virtual AST_Root *root(); // Root of AST - virtual void set_root(AST_Root *); // Set it - - virtual AST_Generator *gen(); // Generator - virtual void set_gen(AST_Generator *);// Set it - - virtual UTL_Error *err(); // Error reporter - virtual void set_err(UTL_Error *); // Set it - - virtual long err_count(); // How many errors? - virtual void set_err_count(long); // Set it - - virtual long lineno(); // Where in file? - virtual void set_lineno(long); // Set it - - virtual String *filename(); // What file? - virtual void set_filename(String *); // Set it - - virtual String *main_filename(); // What's the main - // file name? - virtual void set_main_filename(String *); - // Set it - - virtual String *real_filename(); // What's the real - // file name? - virtual void set_real_filename(String *); - // Set it - - virtual String *stripped_filename(); // Stripped filename - virtual void set_stripped_filename(String *); - // Set it - - virtual idl_bool imported(); // Are we imported? - virtual idl_bool import(); // Is import on? - virtual void set_import(idl_bool); // Set it - - virtual idl_bool in_main_file(); // Are we? - virtual void set_in_main_file(idl_bool); // Set it - - virtual char *prog_name(); // Invoked as.. - virtual void set_prog_name(char *); // Set it - - virtual char *cpp_location(); // Where's CPP? - virtual void set_cpp_location(char *);// Set it - - virtual long compile_flags(); // What flags are on? - virtual void set_compile_flags(long);// Turn some on or off - - virtual char *be(); // Get BE to use - virtual void set_be(char *); // Set it - - virtual char *local_escapes(); // Get local escapes - virtual void set_local_escapes(char *);// Set it - - virtual UTL_Indenter *indent(); // Get indenter - virtual void set_indent(UTL_Indenter *); - // Set it - - virtual UTL_StrList *pragmas(); // Get pragmas - virtual void set_pragmas(UTL_StrList *);// Set it - - virtual idl_bool read_from_stdin(); // Reading from stdin? - virtual void set_read_from_stdin(idl_bool); // Set it - - virtual void store_include_file_name(String *); - - virtual String **include_file_names(); // Array of file names - virtual void set_include_file_names(String **); // Set it - - virtual unsigned long n_include_file_names(); // How many - virtual void set_n_include_file_names(unsigned long n); - - virtual ParseState parse_state(); // What state we're in - virtual void set_parse_state(ParseState s); // Set it - - // Convert from a predefined type to an expression type - virtual AST_Expression::ExprType - PredefinedTypeToExprType( - AST_PredefinedType::PredefinedType - ); - - /**************** Added to serve the back end *************/ - virtual String *idl_src_file(); - // returns the IDL source file being copiled - - virtual void idl_src_file(String *); - // set the source IDL file that is being parsed - - // helper functions that generate the file names for the C++ mapping - // generated code - static const char *be_get_client_hdr_fname (); - static const char *be_get_client_stub_fname (); - static const char *be_get_client_inline_fname (); - static const char *be_get_server_hdr_fname (); - static const char *be_get_server_skeleton_fname (); - static const char *be_get_server_inline_fname (); - - // Helper functions: obtain the names of each generated file given - // the IDL file name. - static const char *be_get_client_hdr (String *idl_file_name); - static const char *be_get_client_stub (String *idl_file_name); - static const char *be_get_client_inline (String *idl_file_name); - static const char *be_get_server_hdr (String *idl_file_name); - static const char *be_get_server_skeleton (String *idl_file_name); - static const char *be_get_server_inline (String *idl_file_name); - -private: - // Data - UTL_ScopeStack *pd_scopes; // Store scopes stack - AST_Root *pd_root; // Store AST root - AST_Generator *pd_gen; // Store generator - UTL_Error *pd_err; // Error object - long pd_err_count; // Count of errors - long pd_lineno; // What line # - String *pd_filename; // What file - String *pd_main_filename; // What main filename - String *pd_real_filename; // What real filename - String *pd_stripped_filename; // Stripped filename - idl_bool pd_import; // Is import on? - idl_bool pd_in_main_file; // Are we in it? - char *pd_prog_name; // Argv[0] - char *pd_cpp_location; // Where to find CPP - long pd_compile_flags; // Compile flags - char *pd_be; // BE name to use - char *pd_local_escapes; // Trapdoor argument - UTL_Indenter *pd_indent; // Indent object - UTL_StrList *pd_pragmas; // List of pragmas - // as its being built - idl_bool pd_read_from_stdin; // Reading from stdin? - String **pd_include_file_names;// Array of file names - unsigned long pd_n_include_file_names;// How many - unsigned long pd_n_alloced_file_names;// How many alloced - - ParseState pd_parse_state; // Parse state we're in - - // Operations - long seen_include_file_before(String *); - // Seen this include - // before? - String *pd_idl_src_file; // IDL source file -}; - -#endif //_IDL_IDL_GLOBAL_HH diff --git a/TAO/TAO_IDL/include/idl_narrow.h b/TAO/TAO_IDL/include/idl_narrow.h deleted file mode 100644 index c2d9e3a8370..00000000000 --- a/TAO/TAO_IDL/include/idl_narrow.h +++ /dev/null @@ -1,262 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_NARROW_IDL_NARROW_HH -#define _IDL_NARROW_IDL_NARROW_HH - -// idl_narrow.hh -// -// Implement IDL narrowing mechanism. Not intended to be read by humans.. -// -// Logic: -// -// The DEF_xxx macros are used in class declarations. -// The IMPL_xxx macros are used in class implementations. -// -// The DEF_xxx macros come in two flavors. The first one, DEF_NARROW_METHODSn, -// defines the narrowing mechanism. It declares a static class function whose -// address is used as the class identifier. Then, it declares a narrow op -// with an implementation suitable for narrowing from exactly 'n' superclasses. -// The names of the superclass types are given as arguments. The second flavor -// implements specific narrowing mechanisms from AST_decl and from UTL_scope. -// These macros are named DEF_NARROW_FROM_DECL and DEF_NARROW_FROM_SCOPE -// respectively. -// -// The IMPL_xxx macros also come in two flavors, corresponding to the two -// flavors of DEF_xxx macros. The IMPL_NARROW_METHODSn macros implement the -// narrowing mechanism for classes which must be narrowed from 'n' ancestors. -// The IMPL_NARROW_FROM_DECL and IMPL_NARROW_FROM_SCOPE macros implement -// the narrowing mechanisms for narrowing from instances of AST_decl and -// UTL_scope. -// -// IMPL_NARROW_METHODSn where n is 0,1,2 and 3 are provided. -// DEF_NARROW_METHODSn where n is 0,1,2 and 3 are provided. - -extern char *type_id_to_string(long); - -#define DEF_NARROW_METHODS0(TYPE)\ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS0(TYPE)\ -int \ -TYPE::type_id()\ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - return rval; \ -} - -#define DEF_NARROW_METHODS1(TYPE,PARENT) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS1(TYPE,PARENT) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS2(TYPE,PARENT1,PARENT2) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS2(TYPE,PARENT1,PARENT2) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) { \ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS3(TYPE,PARENT1,PARENT2,PARENT3) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS3(TYPE,PARENT1,PARENT2,PARENT3) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS4(TYPE,PARENT1,PARENT2,PARENT3,PARENT4) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS4(TYPE,PARENT1,PARENT2,PARENT3,PARENT4) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT4::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_METHODS5(TYPE,PARENT1,PARENT2,PARENT3,PARENT4,PARENT5) \ -static int type_id(); \ -virtual void *narrow(long type_const) - - -#define IMPL_NARROW_METHODS5(TYPE,PARENT1,PARENT2,PARENT3,PARENT4,PARENT5) \ -int \ -TYPE::type_id() \ -{\ - return 0;\ -}\ -void * \ -TYPE::narrow(long type_const) {\ - void *rval = NULL; \ - if (type_const == (long)&TYPE::type_id) \ - rval = this; \ - if (rval == NULL) \ - rval = PARENT1::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT2::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT3::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT4::narrow(type_const);\ - if (rval == NULL) \ - rval = PARENT5::narrow(type_const);\ - return rval;\ -} - -#define DEF_NARROW_FROM_DECL(TYPE)\ -static TYPE *narrow_from_decl(AST_Decl *t) - - -#define IMPL_NARROW_FROM_DECL(TYPE)\ -TYPE * \ -TYPE::narrow_from_decl(AST_Decl *t) { \ - return (TYPE *)t->narrow((long)&TYPE::type_id);\ -} - -#define DEF_NARROW_FROM_SCOPE(TYPE)\ -static TYPE *narrow_from_scope(UTL_Scope *t) - - -#define IMPL_NARROW_FROM_SCOPE(TYPE)\ -TYPE * \ -TYPE::narrow_from_scope(UTL_Scope *t) { \ - return (TYPE *)t->narrow((long)&TYPE::type_id);\ -} - -#endif // _IDL_NARROW_IDL_NARROW_HH diff --git a/TAO/TAO_IDL/include/intlmacros.h b/TAO/TAO_IDL/include/intlmacros.h deleted file mode 100644 index 5a2da162932..00000000000 --- a/TAO/TAO_IDL/include/intlmacros.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _IDL_INTLMACROS_HH -#define _IDL_INTLMACROS_HH - -// intlmacros.hh -// -// Define macros which conditionalize string internationalization - -#ifndef DOMF_TEXT_DEVEL_DOMAIN -#define DOMF_TEXT_DEVEL_DOMAIN "SUNW_DOE_DOMF_DEVEL" -#endif // DOMF_TEXT_DEVEL_DOMAIN - -#define GTDEVEL(s) s - -#if defined(__STDC__) -#define CONV(p) #p -#define MKSTR(p) CONV(p) -#else -#define MKSTR(p) "p" -#endif - -#endif // _IDL_INTLMACROS_HH diff --git a/TAO/TAO_IDL/include/nr_extern.h b/TAO/TAO_IDL/include/nr_extern.h deleted file mode 100644 index 2da18cd4c80..00000000000 --- a/TAO/TAO_IDL/include/nr_extern.h +++ /dev/null @@ -1,74 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _NR_EXTERN_NR_EXTERN_HH -#define _NR_EXTERN_NR_EXTERN_HH - -// nr_extern.hh - Defines entry points provided by narrowing - -// Convert between an UTL_Scope and an AST_Decl -extern AST_Decl *ScopeAsDecl(UTL_Scope *s); -extern UTL_Scope *DeclAsScope(AST_Decl *d); - -#endif // _NR_EXTERN_NR_EXTERN_HH diff --git a/TAO/TAO_IDL/include/util.h b/TAO/TAO_IDL/include/util.h deleted file mode 100644 index 6b218006c8e..00000000000 --- a/TAO/TAO_IDL/include/util.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTIL_UTIL_HH -#define _UTIL_UTIL_HH - -// util.hh - Includes commonly used things defined in the util directory - -#include "utl_stack.h" // class fe_stack -#include "utl_exprlist.h" // class UTL_ExprList -#include "utl_strlist.h" // class UTL_StrList -#include "utl_idlist.h" // class UTL_IdList -#include "utl_exceptlist.h" // class UTL_ExceptList -#include "utl_namelist.h" // class UTL_NameList -#include "utl_labellist.h" // class UTL_LabelList -#include "utl_decllist.h" // class UTL_DeclList - -#include "idl_global.h" // Class IDL_GlobalData - -#include "utl_error.h" // class UTL_Error - -#include "utl_indenter.h" // class UTL_Indenter - -#endif // _UTIL_UTIL_HH diff --git a/TAO/TAO_IDL/include/utl_decllist.h b/TAO/TAO_IDL/include/utl_decllist.h deleted file mode 100644 index 9a0a37298bb..00000000000 --- a/TAO/TAO_IDL/include/utl_decllist.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_DECLLIST_UTL_DECLLIST_HH -#define _UTL_DECLLIST_UTL_DECLLIST_HH - -// utl_decllist.hh -// -// List of FE_Declarator nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, fe_declarator.hh -** -** USE: Included from util.hh -*/ - -class UTL_DeclList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr); - - // Get element - FE_Declarator *head(); - -private: - // Data - FE_Declarator *pd_car_data; // The element this list stores -}; - -// Active iterator fooor UTL_DeclList -class UTL_DecllistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_DecllistActiveIterator(UTL_DeclList *s); - - // Get current item - FE_Declarator *item(); -}; - -#endif // _UTL_DECLLIST_UTL_DECLLIST_HH diff --git a/TAO/TAO_IDL/include/utl_err.h b/TAO/TAO_IDL/include/utl_err.h deleted file mode 100644 index 0873ae758a1..00000000000 --- a/TAO/TAO_IDL/include/utl_err.h +++ /dev/null @@ -1,181 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_ERROR_UTL_ERROR_HH -#define _UTL_ERROR_UTL_ERROR_HH - -// utl_error.hh -// -// Defines error codes and error handling class for UTL -// This will change as a result of internationalization - -/* -** DEPENDENCIES: ast.hh -** -** USE: Included from util.hh -*/ - -class UTL_Error -{ -public: - enum ErrorCode { - EIDL_SYNTAX_ERROR, // Syntax error in IDL input - // More details will be gleaned from examining - // idl_global->parse_state() - EIDL_REDEF, // Redefinition - EIDL_REDEF_SCOPE, // Redefinition inside defining scope - EIDL_DEF_USE, // Definition after use - EIDL_MULTIPLE_BRANCH, // More than one union branch with this - // label - EIDL_COERCION_FAILURE, // Coercion failure - EIDL_SCOPE_CONFLICT, // Between fwd declare and full declare - EIDL_ONEWAY_CONFLICT, // Between op decl and argument direction - EIDL_DISC_TYPE, // Illegal discriminator type in union - EIDL_LABEL_TYPE, // Mismatch with discriminator type in union - EIDL_ILLEGAL_ADD, // Illegal add action - EIDL_ILLEGAL_USE, // Illegal type used in expression - EIDL_ILLEGAL_RAISES, // Error in "raises" clause - EIDL_ILLEGAL_CONTEXT, // Error in "context" clause - EIDL_CANT_INHERIT, // Cannot inherit from non-interface - EIDL_LOOKUP_ERROR, // Identifier not found - EIDL_INHERIT_FWD_ERROR, // Cannot inherit from fwd decl interface - EIDL_CONSTANT_EXPECTED, // We got something else.. - EIDL_NAME_CASE_ERROR, // Spelling differences found - EIDL_ENUM_VAL_EXPECTED, // Expected an enumerator - EIDL_ENUM_VAL_NOT_FOUND, // Didnt find an enumerator with that name - EIDL_EVAL_ERROR, // Error in evaluating expression - EIDL_AMBIGUOUS, // Ambiguous name definition - EIDL_DECL_NOT_DEFINED, // Forward declared but never defined - EIDL_FWD_DECL_LOOKUP, // Tried to lookup in fwd declared intf - EIDL_RECURSIVE_TYPE, // Illegal recursive use of type - EIDL_NONVOID_ONEWAY, // Non-void return type in oneway operation - EIDL_NOT_A_TYPE, // Not a type - EIDL_BACK_END, // Back end error - EIDL_OK // No error - }; - - // Operations - - // Report errors with varying numbers of arguments - void error0(ErrorCode e); - void error1(ErrorCode e, AST_Decl *t); - void error2(ErrorCode e, AST_Decl *t1, AST_Decl *t2); - void error3(ErrorCode e, AST_Decl *t1, AST_Decl *t2, AST_Decl *t3); - - // Report a syntax error in IDL input - void syntax_error(IDL_GlobalData::ParseState ps); - - // Report a name being used with different spellings - void name_case_error(char *n, char *t); - - // Report an unsuccesful coercion attempt - void coercion_error(AST_Expression *v, AST_Expression::ExprType t); - - // Report a failed name lookup attempt - void lookup_error(UTL_ScopedName *n); - - // Report an attempt to use a forward declared interface which - // hasn't been defined yet in an inheritance spec - void inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f); - - // Report an attempt to inherit from something other than an interface - void inheritance_error(UTL_ScopedName *n, AST_Decl *d); - - // Report an error while evaluating an expression (division by zero, etc.) - void eval_error(AST_Expression *d); - - // Report a situation where a constant was expected but we got - // something else instead. This most likely is a case where a union - // label did not evaluate to a constant - void constant_expected(UTL_ScopedName *n, AST_Decl *d); - - // Report a situation where an enumerator was expected but we got - // something else instead. This occurs when a union with an enum - // discriminator is being parsed and one of the branch labels is - // not an enumerator in that enum - void enum_val_expected(AST_Union *t, AST_UnionLabel *l); - - // Report a failed enumerator lookup in an enum - void enum_val_lookup_failure(AST_Union *t, AST_Enum *e, UTL_ScopedName *n); - - // Report an ambiguous name definition - void ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d); - - // Report a forward declared interface which was never defined - void fwd_decl_not_defined(AST_Interface *d); - - // Report attempt to lookup in forward declared interface - void fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n); - - // Report a redefinition in scope - void redefinition_in_scope(AST_Decl *t, AST_Decl *s); - - // Report not a type error - void not_a_type(AST_Decl *d); - - // Report back-end error - void back_end(long lineno, String *s); -}; - -#endif // _UTL_ERROR_UTL_ERROR_HH diff --git a/TAO/TAO_IDL/include/utl_error.h b/TAO/TAO_IDL/include/utl_error.h deleted file mode 100644 index 0873ae758a1..00000000000 --- a/TAO/TAO_IDL/include/utl_error.h +++ /dev/null @@ -1,181 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_ERROR_UTL_ERROR_HH -#define _UTL_ERROR_UTL_ERROR_HH - -// utl_error.hh -// -// Defines error codes and error handling class for UTL -// This will change as a result of internationalization - -/* -** DEPENDENCIES: ast.hh -** -** USE: Included from util.hh -*/ - -class UTL_Error -{ -public: - enum ErrorCode { - EIDL_SYNTAX_ERROR, // Syntax error in IDL input - // More details will be gleaned from examining - // idl_global->parse_state() - EIDL_REDEF, // Redefinition - EIDL_REDEF_SCOPE, // Redefinition inside defining scope - EIDL_DEF_USE, // Definition after use - EIDL_MULTIPLE_BRANCH, // More than one union branch with this - // label - EIDL_COERCION_FAILURE, // Coercion failure - EIDL_SCOPE_CONFLICT, // Between fwd declare and full declare - EIDL_ONEWAY_CONFLICT, // Between op decl and argument direction - EIDL_DISC_TYPE, // Illegal discriminator type in union - EIDL_LABEL_TYPE, // Mismatch with discriminator type in union - EIDL_ILLEGAL_ADD, // Illegal add action - EIDL_ILLEGAL_USE, // Illegal type used in expression - EIDL_ILLEGAL_RAISES, // Error in "raises" clause - EIDL_ILLEGAL_CONTEXT, // Error in "context" clause - EIDL_CANT_INHERIT, // Cannot inherit from non-interface - EIDL_LOOKUP_ERROR, // Identifier not found - EIDL_INHERIT_FWD_ERROR, // Cannot inherit from fwd decl interface - EIDL_CONSTANT_EXPECTED, // We got something else.. - EIDL_NAME_CASE_ERROR, // Spelling differences found - EIDL_ENUM_VAL_EXPECTED, // Expected an enumerator - EIDL_ENUM_VAL_NOT_FOUND, // Didnt find an enumerator with that name - EIDL_EVAL_ERROR, // Error in evaluating expression - EIDL_AMBIGUOUS, // Ambiguous name definition - EIDL_DECL_NOT_DEFINED, // Forward declared but never defined - EIDL_FWD_DECL_LOOKUP, // Tried to lookup in fwd declared intf - EIDL_RECURSIVE_TYPE, // Illegal recursive use of type - EIDL_NONVOID_ONEWAY, // Non-void return type in oneway operation - EIDL_NOT_A_TYPE, // Not a type - EIDL_BACK_END, // Back end error - EIDL_OK // No error - }; - - // Operations - - // Report errors with varying numbers of arguments - void error0(ErrorCode e); - void error1(ErrorCode e, AST_Decl *t); - void error2(ErrorCode e, AST_Decl *t1, AST_Decl *t2); - void error3(ErrorCode e, AST_Decl *t1, AST_Decl *t2, AST_Decl *t3); - - // Report a syntax error in IDL input - void syntax_error(IDL_GlobalData::ParseState ps); - - // Report a name being used with different spellings - void name_case_error(char *n, char *t); - - // Report an unsuccesful coercion attempt - void coercion_error(AST_Expression *v, AST_Expression::ExprType t); - - // Report a failed name lookup attempt - void lookup_error(UTL_ScopedName *n); - - // Report an attempt to use a forward declared interface which - // hasn't been defined yet in an inheritance spec - void inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f); - - // Report an attempt to inherit from something other than an interface - void inheritance_error(UTL_ScopedName *n, AST_Decl *d); - - // Report an error while evaluating an expression (division by zero, etc.) - void eval_error(AST_Expression *d); - - // Report a situation where a constant was expected but we got - // something else instead. This most likely is a case where a union - // label did not evaluate to a constant - void constant_expected(UTL_ScopedName *n, AST_Decl *d); - - // Report a situation where an enumerator was expected but we got - // something else instead. This occurs when a union with an enum - // discriminator is being parsed and one of the branch labels is - // not an enumerator in that enum - void enum_val_expected(AST_Union *t, AST_UnionLabel *l); - - // Report a failed enumerator lookup in an enum - void enum_val_lookup_failure(AST_Union *t, AST_Enum *e, UTL_ScopedName *n); - - // Report an ambiguous name definition - void ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d); - - // Report a forward declared interface which was never defined - void fwd_decl_not_defined(AST_Interface *d); - - // Report attempt to lookup in forward declared interface - void fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n); - - // Report a redefinition in scope - void redefinition_in_scope(AST_Decl *t, AST_Decl *s); - - // Report not a type error - void not_a_type(AST_Decl *d); - - // Report back-end error - void back_end(long lineno, String *s); -}; - -#endif // _UTL_ERROR_UTL_ERROR_HH diff --git a/TAO/TAO_IDL/include/utl_exceptlist.h b/TAO/TAO_IDL/include/utl_exceptlist.h deleted file mode 100644 index c3c14ccf714..00000000000 --- a/TAO/TAO_IDL/include/utl_exceptlist.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH -#define _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH - -// utl_exceptlist.hh -// -// List of AST_Exception nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, ast_exception.hh -** -** USE: Included from util.hh -*/ - -class UTL_ExceptList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr); - - // Get list item - AST_Exception *head(); - -private: - // Data - AST_Exception *pd_car_data; // Item of this list -}; - -// Active iterator for UTL_ExceptList -class UTL_ExceptlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptlistActiveIterator(UTL_ExceptList *s); - - // Get current item - AST_Exception *item(); -}; - -#endif // _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH diff --git a/TAO/TAO_IDL/include/utl_exprlist.h b/TAO/TAO_IDL/include/utl_exprlist.h deleted file mode 100644 index 3e4f7c7079e..00000000000 --- a/TAO/TAO_IDL/include/utl_exprlist.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_EXPRLIST_UTL_EXPRLIST_HH -#define _UTL_EXPRLIST_UTL_EXPRLIST_HH - -// utl_exprlist.hh -// -// List of strings - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: ast_expression.hh, utl_list.hh -** -** USE: Included from util.hh -*/ - -class UTL_ExprList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr); - - // Get list item - AST_Expression *head(); - -private: - // Data - AST_Expression *pd_car_data; // List item -}; - -// Active iterator for UTL_ExprList -class UTL_ExprlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ExprlistActiveIterator(UTL_ExprList *s); - - // Get current item - AST_Expression *item(); -}; - -#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_identifier.h b/TAO/TAO_IDL/include/utl_identifier.h deleted file mode 100644 index 4b38c449340..00000000000 --- a/TAO/TAO_IDL/include/utl_identifier.h +++ /dev/null @@ -1,112 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_IDENTIFIER_UTL_IDENTIFIER_HH -#define _UTL_IDENTIFIER_UTL_IDENTIFIER_HH - -// utl_identifier.hh -// -// Identifier - -/* -** DEPENDENCIES: utl_string.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_string.h" - -class Identifier -{ -public: - Identifier (); - // Default Constructor(s) - - Identifier (char *s, long x=1, long y=0, long z=I_FALSE); - // constructor - - virtual ~Identifier (); - // destructor - - // =Operations - - char *get_string (); - // get the underlying string - - long compare (Identifier *other); - // compare with other Identifier - - // =Dumping - - virtual void dump (ostream &o); - // dump to an ostream - - private: - // Storage for data - char *pv_string; -}; - -#endif // _UTL_IDENTIFIER_UTL_IDENTIFIER_HH diff --git a/TAO/TAO_IDL/include/utl_idlist.h b/TAO/TAO_IDL/include/utl_idlist.h deleted file mode 100644 index b867a18523a..00000000000 --- a/TAO/TAO_IDL/include/utl_idlist.h +++ /dev/null @@ -1,146 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_IDLIST_UTL_IDLIST_HH -#define _UTL_IDLIST_UTL_IDLIST_HH - -// utl_idlist.hh -// -// List of Identifiers - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_identifier.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_IdList : public UTL_List -{ - // =TITLE - // UTL_IdList - // =DESCRIPTION - // Used to maintain a list of identifiers. The primary usage of this class - // is to maintain a scoped name. -public: - UTL_IdList (Identifier *car, UTL_IdList *cdr); - // Constructor(s) - - virtual ~UTL_IdList() {} - // destructor - - // =AST Dumping - - virtual void dump (ostream &o); - // dump to ostream - - // Other operations - - UTL_List *copy (); - // Copy the list - - Identifier *head (); - // get element - - Identifier *last_component (); - // Get last element in this list -private: - Identifier *pd_car_data; -}; - -// Active iterator for UTL_IdList - -class UTL_IdListActiveIterator : - public UTL_ListActiveIterator -{ - // =TITLE - // UTL_IdListActiveIterator - // =DESCRIPTION - // Iterator for the IDList -public: - UTL_IdListActiveIterator (UTL_IdList *s); - // Constructor(s) - - Identifier *item (); - // retrieves the next item -}; - -#endif // _UTL_IDLIST_UTL_IDLIST_HH diff --git a/TAO/TAO_IDL/include/utl_indenter.h b/TAO/TAO_IDL/include/utl_indenter.h deleted file mode 100644 index 17a1a509e1e..00000000000 --- a/TAO/TAO_IDL/include/utl_indenter.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_INDENTER_UTL_INDENTER_HH -#define _UTL_INDENTER_UTL_INDENTER_HH - -// UTL indenter: -// -// Utility class for control of indentation level during dumping -// May also be useful for BEs that want to produce nicely formatted -// output - -/* -** DEPENDENCIES: NONE -** -** USE: in CFE in dumping the AST -*/ - -class UTL_Indenter -{ - // =TITLE - // UTL_Indenter - // =DESCRIPTION - // useful in generating indented output -public: - // Operations - - UTL_Indenter(); // constructor - // Constructor(s) - - virtual ~UTL_Indenter() {} - // destructor - - void reset(); - // Reset indentation level to 0 - - void increase(); - // Increase indentation level - - void decrease(); - // Decrease indentation level - - void skip_to (ostream &o); - // Skip to indentation level stop - - void skip_to (FILE *fp); - // skip to indentation level stop - -private: - // Data - long pd_indent_level; // How far to indent -}; - -#endif // _UTL_INDENTER_UTL_INDENTER_HH diff --git a/TAO/TAO_IDL/include/utl_labellist.h b/TAO/TAO_IDL/include/utl_labellist.h deleted file mode 100644 index e78a04ec372..00000000000 --- a/TAO/TAO_IDL/include/utl_labellist.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_LABELLIST_UTL_LABELLIST_HH -#define _UTL_LABELLIST_UTL_LABELLIST_HH - -// utl_labellist.hh -// -// List of AST_UnionBranch nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, ast_union_label.hh -** -** USE: Included from util.hh -*/ - -class UTL_LabelList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr); - - // Get list item - AST_UnionLabel *head(); - -private: - // Data - AST_UnionLabel *pd_car_data; // List item -}; - -// Active iterator for UTL_LabelList -class UTL_LabellistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_LabellistActiveIterator(UTL_LabelList *source); - - // Get current item - AST_UnionLabel *item(); -}; - -#endif // _UTL_LABELLIST_UTL_LABELLIST_HH diff --git a/TAO/TAO_IDL/include/utl_list.h b/TAO/TAO_IDL/include/utl_list.h deleted file mode 100644 index 017b9be1a18..00000000000 --- a/TAO/TAO_IDL/include/utl_list.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_LIST_UTL_LIST_HH -#define _UTL_LIST_UTL_LIST_HH - -// utl_list.hh -// -// General single-linked lists - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -// Forward declare active iterator for UTL_List -class UTL_ListActiveIterator; - -class UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_List(UTL_List *c); - - // Smash last cdr pointer in "this" with l - void nconc(UTL_List *l); - - // Copy the list starting at "this" - virtual UTL_List *copy(); - - // Get next list - UTL_List *tail(); - - // Set next list - void set_tail(UTL_List *l); - - // How long is this list? - long length(); - -private: - // Data - UTL_List *pd_cdr_data; // The next list - - // Operations - long list_length(long n); // How long is it? - - // Friend class - friend class UTL_ListActiveIterator; // Friend class - -}; - -// Active iterator for lists -class UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ListActiveIterator(UTL_List *s); - - // Get next list - virtual void next(); - - // Are we at the end of this list? - virtual long is_done(); - -protected: - // Data - UTL_List *source; // On what to iterate? -}; - -#endif // _UTL_LIST_UTL_LIST_HH diff --git a/TAO/TAO_IDL/include/utl_namelist.h b/TAO/TAO_IDL/include/utl_namelist.h deleted file mode 100644 index d7f0d8eb526..00000000000 --- a/TAO/TAO_IDL/include/utl_namelist.h +++ /dev/null @@ -1,119 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_NAMELIST_UTL_NAMELIST_HH -#define _UTL_NAMELIST_UTL_NAMELIST_HH - -// utl_namelist.hh -// -// List of UTL_ScopedName nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_scoped_name.hh -** -** USE: Included from util.hh -*/ - -class UTL_NameList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr); - - // Get list item - UTL_ScopedName *head(); - -private: - // Data - UTL_ScopedName *pd_car_data; // List item -}; - -// Active iterator for UTL_NameList -class UTL_NamelistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_NamelistActiveIterator(UTL_NameList *source); - - // Get current item - UTL_ScopedName *item(); -}; - -#endif // _UTL_NAMELIST_UTL_NAMELIST_HH diff --git a/TAO/TAO_IDL/include/utl_scope.h b/TAO/TAO_IDL/include/utl_scope.h deleted file mode 100644 index 7f14206fdbf..00000000000 --- a/TAO/TAO_IDL/include/utl_scope.h +++ /dev/null @@ -1,288 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_SCOPE_UTL_SCOPE_HH -#define _UTL_SCOPE_UTL_SCOPE_HH - -// UTL_Scope - Provide scoping mechanism -// -// This is the base class for name scoping. Each entity which can -// be directly contained in a naming scope has an add() function -// defined for it. The functions defined on the base scoping class -// all return FALSE. Each subclass of UTL_Scope should -// define its own add() functions for those types which are legal -// in that context. Then, for those types for which no local functions -// have been defined the function on the base class will be called to -// return FALSE. -// -// The "AST_" classes may redefine add() functions to implement any -// name binding mechanisms needed for their own functionality. It is -// the responsibility of those functions then to call the add() -// function defined in the parent "AST_" class. - -/* -** DEPENDENCIES: ast_decl.hh, utl_scoped_name.hh -** -** USE: Included from ast.hh -*/ - -#include "idl_fwd.h" -#include "idl_narrow.h" -#include "ast_decl.h" -#include "ast_expression.h" -#include "utl_scoped_name.h" - -// Forward declaration of active iterator for UTL_Scope -class UTL_ScopeActiveIterator; - -class UTL_Scope : public virtual COMMON_Base -{ -public: - // Enum to denote the kind of iteration desired - enum ScopeIterationKind { - IK_both // Iterate through both decls and local types - , IK_decls // Iterate only through decls - , IK_localtypes // Iterate only through local types - }; - - // Operations - - // Constructor(s) - UTL_Scope(); - UTL_Scope(AST_Decl::NodeType nt); - virtual ~UTL_Scope() {} - - // Scope Management Protocol - virtual AST_PredefinedType *add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *add_module(AST_Module *m); - virtual AST_Interface *add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *add_constant(AST_Constant *c); - virtual AST_Exception *add_exception(AST_Exception *e); - virtual AST_Attribute *add_attribute(AST_Attribute *a); - virtual AST_Operation *add_operation(AST_Operation *o); - virtual AST_Argument *add_argument(AST_Argument *a); - virtual AST_Union *add_union(AST_Union *u); - virtual AST_UnionBranch *add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *add_structure(AST_Structure *s); - virtual AST_Field *add_field(AST_Field *f); - virtual AST_Enum *add_enum(AST_Enum *e); - virtual AST_EnumVal *add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *add_typedef(AST_Typedef *t); - virtual UTL_StrList *add_context(UTL_StrList *c); - virtual UTL_NameList *add_exceptions(UTL_NameList *e); - virtual AST_Sequence *add_sequence(AST_Sequence *s); - virtual AST_String *add_string(AST_String *s); - virtual AST_Array *add_array(AST_Array *a); - - // Call back end add_XXX functions for this scope - virtual AST_Decl *call_add(); - - // Data Accessors - AST_Decl::NodeType scope_node_type() - { - return pd_scope_node_type; - } - - // Narrowing - DEF_NARROW_METHODS0(UTL_Scope); - DEF_NARROW_FROM_SCOPE(UTL_Scope); - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Name Lookup Mechanism - virtual AST_Decl *lookup_by_name(UTL_ScopedName *, - idl_bool treat_as_ref); - - // Look up the Identifier * specified only in the local scope - virtual AST_Decl *lookup_by_name_local(Identifier *, - idl_bool treat_as_ref); - - // Look up a predefined type by its ExprType - virtual AST_Decl - *lookup_primitive_type(AST_Expression::ExprType); - - // How many entries are used? - virtual unsigned long nmembers(); - -protected: - // UTL_Scope protected addition protocol. This protocol is - // used from sub-classes of UTL_Scope to insert nodes directly - // into the specified node table (either decls or local_types) - // Additionally, UTL_Scope also maintains a record of what nodes - // defined elsewhere were referenced in this scope - - // Add to decls. Node represents a local declaration - void add_to_scope(AST_Decl *e); - - // Add to local types. Node represents a local manifest type - void add_to_local_types(AST_Decl *e); - - // Add to referenced nodes set. - void add_to_referenced(AST_Decl *e, - idl_bool recursive); - - // Has this node been referenced here already? - idl_bool referenced(AST_Decl *e); - - // Look up a scoped name in the inherited interfaces of an - // interface - virtual AST_Decl *look_in_inherited(UTL_ScopedName *, - idl_bool treat_as_ref); -protected: - // Operations - - // Lookup based on the local name - virtual AST_Decl *lookup_for_add(AST_Decl *d, - idl_bool treat_as_ref); - -private: - // Data - - // What type is this node? This is a cache of the information - // in AST_Decl - const AST_Decl::NodeType pd_scope_node_type; - - // Storage for declarations in this scope: - AST_Decl **pd_decls; // Store declarations - long pd_decls_allocated; // How many allocated? - long pd_decls_used; // How many used? - - // Storage for local manifest types in this scope: - AST_Decl **pd_local_types; // Store types - long pd_locals_allocated; // How many allocated? - long pd_locals_used; // How many used? - - // Storage for referenced nodes in this scope: - AST_Decl **pd_referenced; // Store references - long pd_referenced_allocated;// How many allocated? - long pd_referenced_used; // How many used? - - // Friend class UTL_ScopeActiveIterator defines active iterator for - // UTL_Scope. Definition follows below. - friend class UTL_ScopeActiveIterator; - -private: - friend int yyparse(); - friend class AST_Enum; - - // Scope Management Protocol - virtual AST_PredefinedType *fe_add_predefined_type(AST_PredefinedType *t); - virtual AST_Module *fe_add_module(AST_Module *m); - virtual AST_Interface *fe_add_interface(AST_Interface *i); - virtual AST_InterfaceFwd *fe_add_interface_fwd(AST_InterfaceFwd *i); - virtual AST_Constant *fe_add_constant(AST_Constant *c); - virtual AST_Exception *fe_add_exception(AST_Exception *e); - virtual AST_Attribute *fe_add_attribute(AST_Attribute *a); - virtual AST_Operation *fe_add_operation(AST_Operation *o); - virtual AST_Argument *fe_add_argument(AST_Argument *a); - virtual AST_Union *fe_add_union(AST_Union *u); - virtual AST_UnionBranch *fe_add_union_branch(AST_UnionBranch *b); - virtual AST_Structure *fe_add_structure(AST_Structure *s); - virtual AST_Field *fe_add_field(AST_Field *f); - virtual AST_Enum *fe_add_enum(AST_Enum *e); - virtual AST_EnumVal *fe_add_enum_val(AST_EnumVal *v); - virtual AST_Typedef *fe_add_typedef(AST_Typedef *t); - virtual UTL_StrList *fe_add_context(UTL_StrList *c); - virtual UTL_NameList *fe_add_exceptions(UTL_NameList *e); - virtual AST_Sequence *fe_add_sequence(AST_Sequence *s); - virtual AST_String *fe_add_string(AST_String *s); - virtual AST_Array *fe_add_array(AST_Array *a); -}; - -// Active iterator for a UTL_Scope node -class UTL_ScopeActiveIterator { -public: - // Operations - - // Constructor(s) - UTL_ScopeActiveIterator(UTL_Scope *s, UTL_Scope::ScopeIterationKind ik); - - // Advance to next item - virtual void next(); - - // Get current item - virtual AST_Decl *item(); - - // Have we iterated over entire scope? - virtual idl_bool is_done(); - - // What kind of iterator is this? - virtual UTL_Scope::ScopeIterationKind iteration_kind(); - - // What stage are we in with this iterator? - virtual UTL_Scope::ScopeIterationKind iteration_stage(); - -private: - // Data - UTL_Scope *iter_source; // Scope to iterate over - UTL_Scope::ScopeIterationKind ik; // What kind of iteration - UTL_Scope::ScopeIterationKind stage; // What stage - long il; // What location in stage -}; - -#endif // _UTL_SCOPE_UTL_SCOPE_HH diff --git a/TAO/TAO_IDL/include/utl_scoped_name.h b/TAO/TAO_IDL/include/utl_scoped_name.h deleted file mode 100644 index 5ca4d9c247f..00000000000 --- a/TAO/TAO_IDL/include/utl_scoped_name.h +++ /dev/null @@ -1,80 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _AST_SCOPED_NAME_AST_SCOPED_NAME_HH -#define _AST_SCOPED_NAME_AST_SCOPED_NAME_HH - -// Define UTL_ScopedName as a list of strings - -/* -** DEPENDENCIES: utl_strlist.hh -** -** USE: Included from ast.hh -*/ - -typedef UTL_IdList UTL_ScopedName; - -typedef UTL_IdListActiveIterator UTL_ScopedNameActiveIterator; - -#endif // _AST_SCOPED_NAME_AST_SCOPED_NAME_HH diff --git a/TAO/TAO_IDL/include/utl_stack.h b/TAO/TAO_IDL/include/utl_stack.h deleted file mode 100644 index 7e343c17fc4..00000000000 --- a/TAO/TAO_IDL/include/utl_stack.h +++ /dev/null @@ -1,148 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_STACK_UTL_STACK_HH -#define _UTL_STACK_UTL_STACK_HH - -// utl_stack.hh - Defines the UTL_ScopeStack class - a stack of scopes -// -// UTL_ScopeStack implements scope nesting - -/* -** DEPENDENCIES: utl_scope.hh -** -** USE: Included from util.hh -*/ - -// Forward declaration of active iterator for UTL_ScopeStack -class UTL_ScopeStackActiveIterator; - -class UTL_ScopeStack -{ -public: - // Operations - - // Constructor and destructor - UTL_ScopeStack(); - virtual ~UTL_ScopeStack(); - - // Return top element - virtual UTL_Scope *top(); - - // Pop top element - virtual void pop(); - - // Clear entire stack - virtual void clear(); - - // Push an element on the stack and return stack - virtual UTL_ScopeStack *push(UTL_Scope *el); - - // How deep is the stack now? - virtual unsigned long depth(); - - // Return bottom element - virtual UTL_Scope *bottom(); - - // Return (top - 1) element - virtual UTL_Scope *next_to_top(); - - // return topmost non-NULL element - virtual UTL_Scope *top_non_null(); - -private: - // Data - UTL_Scope **pd_stack_data; // Store scopes stack - unsigned long pd_stack_data_nalloced; // How many allocated? - unsigned long pd_stack_top; // How many used? - - // Friend active iterator class for UTL_ScopeStack - friend class UTL_ScopeStackActiveIterator; -}; - -// Active iterator for UTL_ScopeStack -class UTL_ScopeStackActiveIterator -{ -public: - // Operations - - // Constructor - UTL_ScopeStackActiveIterator(UTL_ScopeStack *s); - - // Advance to next element - virtual void next(); - - // Get current item - virtual UTL_Scope *item(); - - // Is the iteration finished? - virtual long is_done(); - -private: - // Data - UTL_ScopeStack *source; // On what to iterate? - long il; // Where are we in iteration? -}; - -#endif // _UTL_STACK_UTL_STACK_HH diff --git a/TAO/TAO_IDL/include/utl_string.h b/TAO/TAO_IDL/include/utl_string.h deleted file mode 100644 index 35f4fae171f..00000000000 --- a/TAO/TAO_IDL/include/utl_string.h +++ /dev/null @@ -1,141 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _STRING_STRING_HH -#define _STRING_STRING_HH - -// utl_string.hh - contains a quick and dirty TEMPORARY string implementation - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -#ifndef String -#define String UTL_String -#endif // String - -class UTL_String -{ - // =TITLE - // UTL_String - // =DESCRIPTION - // string class to store identifiers -public: - // =Operations - - UTL_String (void); - // default constructor - - UTL_String (char *str); - // construct from a char * - - UTL_String (unsigned long maxlen); - // constructor with an initial string length - - UTL_String (UTL_String *s); - // construct using a pointer to UTL_String - - virtual ~UTL_String (void) {} - // destructor - - // =AST Dumping - - virtual void dump (ostream &o); - // dump to the ostream - - // =Other Operations - - char *get_string (void); - // Get contents of utl_string - - char *get_canonical_rep (void); - // Get canonical representation. This is (implemented as) the all upper - // case corresponding string - - virtual long compare (UTL_String *s); - // Compare two String * - -private: - // Data - char *p_str; - // Storage for characters - - char *c_str; - // Canonicalized string - - unsigned long len; - // How long is string - - unsigned long alloced; - // How much allocated - - // =Private helper operations - - void canonicalize (void); - // Compute canonical representation -}; - -#endif // _STRING_STRING_HH diff --git a/TAO/TAO_IDL/include/utl_strlist.h b/TAO/TAO_IDL/include/utl_strlist.h deleted file mode 100644 index 2dac6ce3de6..00000000000 --- a/TAO/TAO_IDL/include/utl_strlist.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#ifndef _UTL_STRLIST_UTL_STRLIST_HH -#define _UTL_STRLIST_UTL_STRLIST_HH - -// utl_strlist.hh -// -// List of String nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -/* -** DEPENDENCIES: utl_list.hh, utl_string.hh -** -** USE: Included from util.hh -*/ - -class UTL_StrList : public UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_StrList(String *s, UTL_StrList *cdr); - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Copy a list of strings - virtual UTL_List *copy(); - - // Get list element - String *head(); - - // Set the list element - void set_head(String *); - - // Get last element in this list - String *last_component(); - -private: - // Data - String *pd_car_data; // The list item -}; - -// Active iterator for UTL_StrList -class UTL_StrlistActiveIterator : public UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_StrlistActiveIterator(UTL_StrList *s); - - // Get current item - String *item(); -}; - -#endif // _UTL_STRLIST_UTL_STRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h deleted file mode 100644 index 5e5892d4d7f..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_DECLLIST_UTL_DECLLIST_HH -#define _UTL_DECLLIST_UTL_DECLLIST_HH - -// utl_decllist.hh -// -// List of FE_Declarator nodes - -/* -** DEPENDENCIES: utl_list.hh, fe_declarator.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "fe_declarator.h" - - -class UTL_DeclList : public UTL_List<UTL_DeclList, FE_Declarator> -{ -public: - // Operations - - // Constructor(s) - UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr); - virtual ~UTL_DeclList() {} -}; - -// Active iterator for UTL_DeclList -class UTL_DecllistActiveIterator : - public UTL_ListActiveIterator<UTL_DeclList, FE_Declarator> -{ -public: - // Operations - - // Constructor(s) - UTL_DecllistActiveIterator(UTL_DeclList *s); - virtual ~UTL_DecllistActiveIterator() {} -}; - -#endif // _UTL_DECLLIST_UTL_DECLLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h deleted file mode 100644 index b4bacad5510..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h +++ /dev/null @@ -1,106 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH -#define _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH - -// utl_exceptlist.hh -// -// List of AST_Exception nodes - -/* -** DEPENDENCIES: utl_list.hh, ast_exception.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_strlist.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "ast_expression.h" -#include "idl_bool.h" -#include "utl_scope.h" -#include "ast_decl.h" -#include "ast_type.h" -#include "ast_concrete_type.h" -#include "ast_structure.h" -#include "ast_exception.h" - - -class UTL_ExceptList : public UTL_List<UTL_ExceptList, AST_Exception> -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr); - virtual ~UTL_ExceptList() {} -}; - -// Active iterator for UTL_ExceptList -class UTL_ExceptlistActiveIterator : - public UTL_ListActiveIterator<UTL_ExceptList, AST_Exception> -{ -public: - // Operations - - // Constructor(s) - UTL_ExceptlistActiveIterator(UTL_ExceptList *s); - virtual ~UTL_ExceptlistActiveIterator() {} -}; - -#endif // _UTL_EXCEPTLIST_UTL_EXCEPTLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h deleted file mode 100644 index 155f2bf43d0..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h +++ /dev/null @@ -1,99 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_EXPRLIST_UTL_EXPRLIST_HH -#define _UTL_EXPRLIST_UTL_EXPRLIST_HH - -// utl_exprlist.hh -// -// List of strings - -/* -** DEPENDENCIES: ast_expression.hh, utl_list.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_strlist.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" -#include "ast_expression.h" - - -class UTL_ExprList : public UTL_List<UTL_ExprList, AST_Expression> -{ -public: - // Operations - - // Constructor(s) - UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr); - virtual ~UTL_ExprList() {} -}; - -// Active iterator for UTL_ExprList -class UTL_ExprlistActiveIterator : - public UTL_ListActiveIterator<UTL_ExprList, AST_Expression> -{ -public: - // Operations - - // Constructor(s) - UTL_ExprlistActiveIterator(UTL_ExprList *s); - virtual ~UTL_ExprlistActiveIterator() {} -}; - -#endif // _UTL_EXPRLIST_UTL_EXPRLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h deleted file mode 100644 index 081149fe0e1..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_IDLIST_UTL_IDLIST_HH -#define _UTL_IDLIST_UTL_IDLIST_HH - -// utl_idlist.hh -// -// List of Identifiers - -/* -** DEPENDENCIES: utl_list.hh, utl_identifier.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_IdList : public UTL_List<UTL_IdList, Identifier> -{ - public: - // Constructor(s) - UTL_IdList(Identifier *car, UTL_IdList *cdr); - virtual ~UTL_IdList() {} - - // AST Dumping - virtual void dump(ostream &o); - - // Other operations - - // Get last element in this list - Identifier *last_component(); -}; - -// Active iterator for UTL_IdList - -class UTL_IdListActiveIterator : - public UTL_ListActiveIterator<UTL_IdList, Identifier> -{ - public: - // Constructor(s) - UTL_IdListActiveIterator(UTL_IdList *s); -}; - -#endif // _UTL_IDLIST_UTL_IDLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h deleted file mode 100644 index 80b7146780d..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_LABELLIST_UTL_LABELLIST_HH -#define _UTL_LABELLIST_UTL_LABELLIST_HH - -// utl_labellist.hh -// -// List of AST_UnionBranch nodes - -/* -** DEPENDENCIES: utl_list.hh, ast_union_label.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "ast_union_label.h" - - -class UTL_LabelList : public UTL_List<UTL_LabelList, AST_UnionLabel> -{ -public: - // Operations - - // Constructor(s) - UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr); - virtual ~UTL_LabelList() {} -}; - -// Active iterator for UTL_LabelList -class UTL_LabellistActiveIterator : - public UTL_ListActiveIterator<UTL_LabelList, AST_UnionLabel> -{ -public: - // Operations - - // Constructor(s) - UTL_LabellistActiveIterator(UTL_LabelList *source); - virtual ~UTL_LabellistActiveIterator() {} -}; - -#endif // _UTL_LABELLIST_UTL_LABELLIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_list.h b/TAO/TAO_IDL/include/utl_tmpl/utl_list.h deleted file mode 100644 index 420b360c6a4..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_list.h +++ /dev/null @@ -1,138 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_LIST_UTL_LIST_HH -#define _UTL_LIST_UTL_LIST_HH - -// utl_list.hh -// -// General single-linked lists - -/* -** DEPENDENCIES: NONE -** -** USE: Included from util.hh -*/ - -// Forward declare active iterator for UTL_List -template<class L, class T> class UTL_ListActiveIterator; - -template<class L, class T> -class UTL_List -{ -public: - // Operations - - // Constructor(s) - UTL_List(T *c, L *l); - virtual ~UTL_List() {} - - // Smash last cdr pointer in "this" with l - void nconc(L *l); - - // Copy the list starting at "this" - L *copy(); - - // Get list element - T *head(); - - // Get next list - L *tail(); - - // Set the list element - void set_head(T *t); - - // Set next list - void set_tail(L *l); - - // How long is this list? - long length(); - -private: - // Data - T *pd_car_data; // The next list - L *pd_cdr_data; // The next list - - // Operations - long list_length(long n); // How long is it? - - // Friend class - friend class UTL_ListActiveIterator<L, T>; // Friend class - -}; - -// Active iterator for lists -template<class L, class T> -class UTL_ListActiveIterator -{ -public: - // Operations - - // Constructor(s) - UTL_ListActiveIterator(UTL_List<L, T> *s); - virtual ~UTL_ListActiveIterator() {} - - // Get current item - T *item(); - - // Get next list - virtual void next(); - - // Are we at the end of this list? - virtual long is_done(); - -protected: - // Data - UTL_List<L, T> *source; // On what to iterate? -}; - -#endif // _UTL_LIST_UTL_LIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h deleted file mode 100644 index 8668568e983..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h +++ /dev/null @@ -1,96 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_NAMELIST_UTL_NAMELIST_HH -#define _UTL_NAMELIST_UTL_NAMELIST_HH - -// utl_namelist.hh -// -// List of UTL_ScopedName nodes - -/* -** DEPENDENCIES: utl_list.hh, utl_scoped_name.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_idlist.h" -#include "utl_scoped_name.h" -#include "utl_identifier.h" -#include "utl_string.h" - -class UTL_NameList : public UTL_List<UTL_NameList, UTL_ScopedName> -{ -public: - // Operations - - // Constructor(s) - UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr); - virtual ~UTL_NameList() {} -}; - -// Active iterator for UTL_NameList -class UTL_NamelistActiveIterator : - public UTL_ListActiveIterator<UTL_NameList, UTL_ScopedName> -{ -public: - // Operations - - // Constructor(s) - UTL_NamelistActiveIterator(UTL_NameList *source); - virtual ~UTL_NamelistActiveIterator() {} -}; - -#endif // _UTL_NAMELIST_UTL_NAMELIST_HH diff --git a/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h b/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h deleted file mode 100644 index fca9cdb6442..00000000000 --- a/TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -#ifndef _UTL_STRLIST_UTL_STRLIST_HH -#define _UTL_STRLIST_UTL_STRLIST_HH - -// utl_strlist.hh -// -// List of String nodes - -/* -** DEPENDENCIES: utl_list.hh, utl_string.hh -** -** USE: Included from util.hh -*/ - -#include "ace/stdcpp.h" -#include "idl_fwd.h" -#include "utl_list.h" -#include "utl_string.h" - - -class UTL_StrList : public UTL_List<UTL_StrList, String> -{ -public: - // Operations - - // Constructor(s) - UTL_StrList(String *s, UTL_StrList *cdr); - virtual ~UTL_StrList() {} - - // AST Dumping - virtual void dump(ostream &o); - - // Other Operations - - // Get last element in this list - String *last_component(); -}; - -// Active iterator for UTL_StrList -class UTL_StrlistActiveIterator : - public UTL_ListActiveIterator<UTL_StrList, String> -{ -public: - // Operations - - // Constructor(s) - UTL_StrlistActiveIterator(UTL_StrList *s); - virtual ~UTL_StrlistActiveIterator() {} -}; - -#endif // _UTL_STRLIST_UTL_STRLIST_HH diff --git a/TAO/TAO_IDL/narrow/Makefile b/TAO/TAO_IDL/narrow/Makefile deleted file mode 100644 index 355acb6a0e4..00000000000 --- a/TAO/TAO_IDL/narrow/Makefile +++ /dev/null @@ -1,84 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libast -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libnarrow -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of -NARROW_FILES = \ - narrow - -FILES = $(NARROW_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/narrow.o .shobj/narrow.so: narrow.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/narrow/narrow.cpp b/TAO/TAO_IDL/narrow/narrow.cpp deleted file mode 100644 index 7b5d9b391cd..00000000000 --- a/TAO/TAO_IDL/narrow/narrow.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -#include "idl.h" -#include "idl_extern.h" - -// Narrowing functions for AST - -/* - * Convert a UTL_Scope node into an AST_Decl node if possible - */ -AST_Decl * -ScopeAsDecl(UTL_Scope *s) -{ - if (s == NULL) return NULL; - - switch (s->scope_node_type()) { - case AST_Decl::NT_module: - return AST_Module::narrow_from_scope(s); - case AST_Decl::NT_root: - return AST_Root::narrow_from_scope(s); - case AST_Decl::NT_interface: - return AST_Interface::narrow_from_scope(s); - case AST_Decl::NT_op: - return AST_Operation::narrow_from_scope(s); - case AST_Decl::NT_except: - return AST_Exception::narrow_from_scope(s); - case AST_Decl::NT_union: - return AST_Union::narrow_from_scope(s); - case AST_Decl::NT_struct: - return AST_Structure::narrow_from_scope(s); - case AST_Decl::NT_enum: - return AST_Enum::narrow_from_scope(s); - default: - return NULL; - } -} - -/* - * Convert an AST_Decl to a UTL_Scope if possible - */ -UTL_Scope * -DeclAsScope(AST_Decl *d) -{ - if (d == NULL) return NULL; - - switch (d->node_type()) { - case AST_Decl::NT_interface_fwd: - /* - * Resolve forward declared interface by looking at full_definition() - * field and iterating - */ - d = (AST_InterfaceFwd::narrow_from_decl(d))->full_definition(); - /* - * Fall through - */ - case AST_Decl::NT_interface: - return AST_Interface::narrow_from_decl(d); - case AST_Decl::NT_module: - return AST_Module::narrow_from_decl(d); - case AST_Decl::NT_root: - return AST_Root::narrow_from_decl(d); - case AST_Decl::NT_except: - return AST_Exception::narrow_from_decl(d); - case AST_Decl::NT_union: - return AST_Union::narrow_from_decl(d); - case AST_Decl::NT_struct: - return AST_Structure::narrow_from_decl(d); - case AST_Decl::NT_enum: - return AST_Enum::narrow_from_decl(d); - case AST_Decl::NT_op: - return AST_Operation::narrow_from_decl(d); - default: - return NULL; - } -} diff --git a/TAO/TAO_IDL/tao_idl.dsp b/TAO/TAO_IDL/tao_idl.dsp deleted file mode 100644 index c4df19be19b..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsp +++ /dev/null @@ -1,874 +0,0 @@ -# Microsoft Developer Studio Project File - Name="tao_idl" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Console Application" 0x0103
-
-CFG=tao_idl - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "tao_idl.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "tao_idl.mak" CFG="tao_idl - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "tao_idl - Win32 Release" (based on "Win32 (x86) Console Application")
-!MESSAGE "tao_idl - Win32 Debug" (based on "Win32 (x86) Console Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "tao_idl - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "be_include" /I "..\.." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /YX /FD /D CPP_LOCATION="\"\\Program Files\\DevStudio\\Vc\\bin\\Cl\"" /c
-# ADD BASE RSC /l 0x409 /d "NDEBUG"
-# ADD RSC /l 0x409 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
-# ADD LINK32 ace.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /libpath:"../../ace"
-
-!ELSEIF "$(CFG)" == "tao_idl - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir ""
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "include" /I "be_include" /I "..\.." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D IDL_CFE_VERSION=\"1.3.0\" /YX /FD /D CPP_LOCATION="\"\\Program Files\\DevStudio\\Vc\\bin\\Cl\"" /c
-# ADD BASE RSC /l 0x409 /d "_DEBUG"
-# ADD RSC /l 0x409 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 aced.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\ace"
-# SUBTRACT LINK32 /pdb:none
-
-!ENDIF
-
-# Begin Target
-
-# Name "tao_idl - Win32 Release"
-# Name "tao_idl - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter ".cpp"
-# Begin Source File
-
-SOURCE=.\ast\ast_argument.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_array.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_attribute.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_check.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_concrete_type.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_constant.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_decl.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_enum.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_enum_val.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_exception.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_expression.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_field.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_generator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_interface.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_interface_fwd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_module.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_operation.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_predefined_type.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_recursive.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_redef.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_root.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_sequence.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_string.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_structure.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_type.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_typedef.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_union.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_union_branch.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ast\ast_union_label.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_args.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_argument.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_array.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_attribute.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_codegen.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_constant.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_decl.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_enum.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_enum_val.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_exception.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_expression.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_factory.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_field.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_generator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_helper.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_init.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_interface.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_interface_fwd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_module.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_operation.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_predefined_type.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_produce.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_root.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_scope.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_sequence.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_argument.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_array.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_attribute.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_operation.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_sequence.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_structure.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_typedef.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_state_union.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_string.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_structure.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_sunsoft.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_type.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_typedef.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_union.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_union_branch.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\be\be_union_label.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_args.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_fork.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_init.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_link.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_preproc.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\driver\drv_private.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\fe_declarator.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\fe_extern.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\fe_init.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\fe_interface_header.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\fe_private.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\lex.yy.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\narrow\narrow.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_decllist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_error.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_exceptlist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_exprlist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_global.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_identifier.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_idlist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_indenter.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_labellist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_list.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_namelist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_scope.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_stack.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_string.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\util\utl_strlist.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\y.tab.cpp
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter ".h"
-# Begin Source File
-
-SOURCE=.\include\ast.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_argument.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_array.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_attribute.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_concrete_type.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_constant.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_decl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_enum.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_enum_val.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_exception.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_expression.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_field.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_generator.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_interface.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_interface_fwd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_module.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_operation.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_predefined_type.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_root.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_sequence.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_string.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_structure.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_type.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_typedef.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_union.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_union_branch.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\ast_union_label.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_argument.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_array.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_attribute.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_codegen.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_constant.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_decl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_enum.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_enum_val.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_exception.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_expression.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\be_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_factory.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_field.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_generator.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_helper.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_interface.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_interface_fwd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_module.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_operation.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_predefined_type.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_root.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_scope.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_sequence.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_state.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_string.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_structure.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_sunsoft.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_type.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_typedef.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_union.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_union_branch.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\be_include\be_union_label.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\drv_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\drv_link.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\drv_private.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\fe_declarator.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\fe_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\fe_interface_header.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\fe_private.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\global_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_bool.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_defines.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_extern.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_fwd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_global.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\idl_narrow.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\intlmacros.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\util.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_decllist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_error.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_exceptlist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_exprlist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_identifier.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_idlist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_indenter.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_labellist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_list.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_namelist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_scope.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_scoped_name.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_stack.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_string.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\include\utl_strlist.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\fe\y.tab.h
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/TAO/TAO_IDL/tao_idl.dsw b/TAO/TAO_IDL/tao_idl.dsw deleted file mode 100644 index 6951f0b2106..00000000000 --- a/TAO/TAO_IDL/tao_idl.dsw +++ /dev/null @@ -1,29 +0,0 @@ -Microsoft Developer Studio Workspace File, Format Version 5.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "tao_idl"=.\tao_idl.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/TAO/TAO_IDL/util/Makefile b/TAO/TAO_IDL/util/Makefile deleted file mode 100644 index 8734478fbe2..00000000000 --- a/TAO/TAO_IDL/util/Makefile +++ /dev/null @@ -1,479 +0,0 @@ -#---------------------------------------------------------------------------- -# $Id$ -# -# Makefile for libutil -#---------------------------------------------------------------------------- - -MAKEFILE = Makefile -LIBNAME = libtao_idl_util -LIB = $(LIBNAME).a -SHLIB = $(LIBNAME).$(SOEXT) -IDL_CFE_VERSION = \"1.3.0\" - -# These are components that are sources of - -UTIL_FILES = \ - utl_scope \ - utl_stack \ - utl_string \ - utl_decllist \ - utl_labellist \ - utl_namelist \ - utl_exceptlist \ - utl_strlist \ - utl_list \ - utl_exprlist \ - utl_error \ - utl_indenter \ - utl_identifier \ - utl_idlist \ - utl_global - -FILES = $(UTIL_FILES) - -LSRC = $(addsuffix .cpp,$(FILES)) -LOBJ = $(addsuffix .o,$(FILES)) -SHOBJ = $(addsuffix .so,$(FILES)) - - -LDLIBS = -lACE -LIBS = -lACE -VLDLIBS = $(LDLIBS:%=%$(VAR)) - -BUILD = $(VSHLIB) #$(VLIB) - - -#---------------------------------------------------------------------------- -# Include macros and targets -#---------------------------------------------------------------------------- - -include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU -include $(ACE_ROOT)/include/makeinclude/macros.GNU -include $(ACE_ROOT)/include/makeinclude/rules.common.GNU -include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU -include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU -include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU -include $(ACE_ROOT)/include/makeinclude/rules.local.GNU - -#---------------------------------------------------------------------------- -# Local targets (and local hacks) -#---------------------------------------------------------------------------- - -CPPFLAGS += -I../include -I. -DCPP_LOCATION=\"$(CXX)\" -DIDL_CFE_VERSION=$(IDL_CFE_VERSION) - -$(LOBJS): $(LHDRS) - -#---------------------------------------------------------------------------- -# Dependencies -#---------------------------------------------------------------------------- - -# DO NOT DELETE THIS LINE -- g++dep uses it. -# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. - -.obj/utl_scope.o .shobj/utl_scope.so: utl_scope.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_stack.o .shobj/utl_stack.so: utl_stack.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_string.o .shobj/utl_string.so: utl_string.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_decllist.o .shobj/utl_decllist.so: utl_decllist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_labellist.o .shobj/utl_labellist.so: utl_labellist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_namelist.o .shobj/utl_namelist.so: utl_namelist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_exceptlist.o .shobj/utl_exceptlist.so: utl_exceptlist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_strlist.o .shobj/utl_strlist.so: utl_strlist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_list.o .shobj/utl_list.so: utl_list.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_exprlist.o .shobj/utl_exprlist.so: utl_exprlist.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_error.o .shobj/utl_error.so: utl_error.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_indenter.o .shobj/utl_indenter.so: utl_indenter.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_identifier.o .shobj/utl_identifier.so: utl_identifier.cpp ../include/idl.h \ - ../include/intlmacros.h ../include/idl_narrow.h \ - ../include/idl_defines.h ../include/idl_fwd.h ../include/idl_bool.h \ - ../include/utl_string.h ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_idlist.o .shobj/utl_idlist.so: utl_idlist.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h -.obj/utl_global.o .shobj/utl_global.so: utl_global.cpp ../include/idl.h ../include/intlmacros.h \ - ../include/idl_narrow.h ../include/idl_defines.h ../include/idl_fwd.h \ - ../include/idl_bool.h ../include/utl_string.h \ - ../include/utl_identifier.h ../include/ast.h \ - ../include/utl_scoped_name.h ../include/ast_decl.h \ - ../include/ast_expression.h ../include/utl_scope.h \ - ../include/ast_type.h ../include/ast_concrete_type.h \ - ../include/ast_predefined_type.h ../include/ast_module.h \ - ../include/ast_root.h ../include/ast_interface.h \ - ../include/ast_interface_fwd.h ../include/ast_structure.h \ - ../include/ast_exception.h ../include/ast_enum.h \ - ../include/ast_operation.h ../include/utl_list.h \ - ../include/ast_field.h ../include/ast_argument.h \ - ../include/ast_attribute.h ../include/ast_union.h \ - ../include/ast_union_branch.h ../include/ast_union_label.h \ - ../include/ast_constant.h ../include/ast_enum_val.h \ - ../include/ast_array.h ../include/ast_sequence.h \ - ../include/ast_string.h ../include/ast_typedef.h \ - ../include/utl_strlist.h ../include/utl_exprlist.h \ - ../include/ast_generator.h ../include/util.h ../include/utl_stack.h \ - ../include/utl_idlist.h ../include/utl_exceptlist.h \ - ../include/utl_namelist.h ../include/utl_labellist.h \ - ../include/utl_decllist.h ../include/idl_global.h \ - ../include/utl_error.h ../include/utl_indenter.h \ - ../include/idl_extern.h ../include/fe_extern.h ../include/be_extern.h \ - ../include/drv_extern.h ../include/ast_extern.h \ - ../include/nr_extern.h ../include/global_extern.h - -# IF YOU PUT ANYTHING HERE IT WILL GO AWAY diff --git a/TAO/TAO_IDL/util/utl_decllist.cpp b/TAO/TAO_IDL/util/utl_decllist.cpp deleted file mode 100644 index 0c666d34b72..00000000000 --- a/TAO/TAO_IDL/util/utl_decllist.cpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_decllist.cc -// -// Implementation of a list of declarators - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_DeclList::UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -FE_Declarator * -UTL_DeclList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_DeclList active iterator - -/* - * Constructor - */ - -UTL_DecllistActiveIterator::UTL_DecllistActiveIterator(UTL_DeclList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -FE_Declarator * -UTL_DecllistActiveIterator::item() -{ - if (source == NULL) - return NULL; - - return ((UTL_DeclList *) source)->head(); -} - -/* - * Redefined inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_err.cpp b/TAO/TAO_IDL/util/utl_err.cpp deleted file mode 100644 index bbc38947132..00000000000 --- a/TAO/TAO_IDL/util/utl_err.cpp +++ /dev/null @@ -1,700 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -/* - * Helper functions to do: - * - * - Convert an error code to an error string - * - Print out an error message header - * - Convert an ExprType to a string - */ - -// Convert an error code into a char * -static char * -error_string(UTL_Error::ErrorCode c) -{ - switch (c) { - case UTL_Error::EIDL_OK: - return GTDEVEL("all is fine "); - case UTL_Error::EIDL_SYNTAX_ERROR: - return ""; - case UTL_Error::EIDL_REDEF: - return GTDEVEL("illegal redefinition "); - case UTL_Error::EIDL_DEF_USE: - return GTDEVEL("redefinition after use, "); - case UTL_Error::EIDL_MULTIPLE_BRANCH: - return GTDEVEL("union with duplicate branch label "); - case UTL_Error::EIDL_COERCION_FAILURE: - return GTDEVEL("coercion failure "); - case UTL_Error::EIDL_SCOPE_CONFLICT: - return GTDEVEL("definition scope is different than fwd declare scope, "); - case UTL_Error::EIDL_ONEWAY_CONFLICT: - return GTDEVEL("oneway operation with OUT or INOUT parameters, "); - case UTL_Error::EIDL_DISC_TYPE: - return GTDEVEL("union with illegal discriminator type, "); - case UTL_Error::EIDL_LABEL_TYPE: - return GTDEVEL("label type incompatible with union discriminator type, "); - case UTL_Error::EIDL_ILLEGAL_ADD: - return GTDEVEL("illegal add operation, "); - case UTL_Error::EIDL_ILLEGAL_USE: - return GTDEVEL("illegal type used in expression, "); - case UTL_Error::EIDL_ILLEGAL_RAISES: - return GTDEVEL("error in raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL("cannot inherit from "); - case UTL_Error::EIDL_LOOKUP_ERROR: - return GTDEVEL("error in lookup of symbol: "); - case UTL_Error::EIDL_INHERIT_FWD_ERROR: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_CONSTANT_EXPECTED: - return GTDEVEL("constant expected: "); - case UTL_Error::EIDL_EVAL_ERROR: - return GTDEVEL("expression evaluation error: "); - case UTL_Error::EIDL_NAME_CASE_ERROR: - return GTDEVEL("identifier used with two differing spellings: "); - case UTL_Error::EIDL_ENUM_VAL_EXPECTED: - return GTDEVEL("enumerator expected: "); - case UTL_Error::EIDL_ENUM_VAL_NOT_FOUND: - return GTDEVEL("enumerator by this name not defined: "); - case UTL_Error::EIDL_AMBIGUOUS: - return GTDEVEL("ambiguous definition: "); - case UTL_Error::EIDL_DECL_NOT_DEFINED: - return GTDEVEL("forward declared but never defined: "); - case UTL_Error::EIDL_FWD_DECL_LOOKUP: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_RECURSIVE_TYPE: - return GTDEVEL("illegal recursive use of type: "); - case UTL_Error::EIDL_NONVOID_ONEWAY: - return GTDEVEL("non-void return type in oneway operation: "); - case UTL_Error::EIDL_REDEF_SCOPE: - return GTDEVEL("redefinition inside defining scope: "); - case UTL_Error::EIDL_NOT_A_TYPE: - return GTDEVEL("specified symbol is not a type: "); - case UTL_Error::EIDL_BACK_END: - return GTDEVEL("back end: "); - } - return NULL; -} - -// Print out an error message header on cerr -static void -idl_error_header(UTL_Error::ErrorCode c, long lineno, String *s) -{ - cerr << idl_global->prog_name() - << ": \"" - << (idl_global->read_from_stdin() ? "standard input" : s->get_string()) - << GTDEVEL("\", line ") - << ((lineno == -1) ? idl_global->lineno() : lineno) - << ": " - << error_string(c); -} - -// Convert the type of an AST_Expression to a char * -static char * -exprtype_to_string(AST_Expression::ExprType t) -{ - switch (t) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Convert a parse state into a possible error message - */ -static char * -parse_state_to_error_message(IDL_GlobalData::ParseState ps) -{ - switch (ps) { - case IDL_GlobalData::PS_NoState: - return GTDEVEL("Statement can not be parsed"); - case IDL_GlobalData::PS_TypeDeclSeen: - return GTDEVEL("Malformed typedef declaration"); - case IDL_GlobalData::PS_ConstDeclSeen: - return GTDEVEL("Malformed const declaration"); - case IDL_GlobalData::PS_ExceptDeclSeen: - return - GTDEVEL("Malformed exception declaration"); - case IDL_GlobalData::PS_InterfaceDeclSeen: - return - GTDEVEL("Malformed interface declaration"); - case IDL_GlobalData::PS_ModuleDeclSeen: - return GTDEVEL("Malformed module declaration"); - case IDL_GlobalData::PS_AttrDeclSeen: - return - GTDEVEL("Malformed attribute declaration"); - case IDL_GlobalData::PS_OpDeclSeen: - return - GTDEVEL("Malformed operation declaration"); - case IDL_GlobalData::PS_ModuleSeen: - return GTDEVEL("Missing module identifier following MODULE keyword"); - case IDL_GlobalData::PS_ModuleIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following module identifier"); - case IDL_GlobalData::PS_ModuleSqSeen: - return GTDEVEL("Illegal syntax following module '{' opener"); - case IDL_GlobalData::PS_ModuleQsSeen: - return GTDEVEL("Illegal syntax following module '}' closer"); - case IDL_GlobalData::PS_ModuleBodySeen: - return GTDEVEL("Illegal syntax following module body statement(s)"); - case IDL_GlobalData::PS_InterfaceSeen: - return GTDEVEL("Missing interface identifier following INTERFACE keyword"); - case IDL_GlobalData::PS_InterfaceIDSeen: - return GTDEVEL("Illegal syntax following interface identifier"); - case IDL_GlobalData::PS_InheritSpecSeen: - return GTDEVEL("Missing '{' or illegal syntax following inheritance spec"); - case IDL_GlobalData::PS_ForwardDeclSeen: - return GTDEVEL("Missing ';' following forward interface declaration"); - case IDL_GlobalData::PS_InterfaceSqSeen: - return GTDEVEL("Illegal syntax following interface '{' opener"); - case IDL_GlobalData::PS_InterfaceQsSeen: - return GTDEVEL("Illegal syntax following interface '}' closer"); - case IDL_GlobalData::PS_InterfaceBodySeen: - return GTDEVEL("Illegal syntax following interface body statement(s)"); - case IDL_GlobalData::PS_InheritColonSeen: - return GTDEVEL("Illegal syntax following ':' starting inheritance list"); - case IDL_GlobalData::PS_SNListCommaSeen: - return GTDEVEL("Found illegal scoped name in scoped name list"); - case IDL_GlobalData::PS_ScopedNameSeen: - return GTDEVEL("Missing ',' following scoped name in scoped name list"); - case IDL_GlobalData::PS_SN_IDSeen: - return GTDEVEL("Illegal component in scoped name"); - case IDL_GlobalData::PS_ScopeDelimSeen: - return GTDEVEL("Illegal component in scoped name following '::'"); - case IDL_GlobalData::PS_ConstSeen: - return GTDEVEL("Missing type or illegal syntax following CONST keyword"); - case IDL_GlobalData::PS_ConstTypeSeen: - return GTDEVEL("Missing identifier or illegal syntax following const type"); - case IDL_GlobalData::PS_ConstIDSeen: - return GTDEVEL("Missing '=' or illegal syntax after const identifier"); - case IDL_GlobalData::PS_ConstAssignSeen: - return GTDEVEL("Missing value expr or illegal syntax following '='"); - case IDL_GlobalData::PS_ConstExprSeen: - return GTDEVEL("Missing ';' or illegal syntax following value expr in const"); - case IDL_GlobalData::PS_TypedefSeen: - return GTDEVEL("Missing type or illegal syntax following TYPEDEF keyword"); - case IDL_GlobalData::PS_TypeSpecSeen: - return GTDEVEL("Missing declarators or illegal syntax following type spec"); - case IDL_GlobalData::PS_DeclaratorsSeen: - return GTDEVEL("Illegal syntax following declarators in TYPEDEF declaration"); - case IDL_GlobalData::PS_StructSeen: - return GTDEVEL("Missing struct identifier following STRUCT keyword"); - case IDL_GlobalData::PS_StructIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following struct identifier"); - case IDL_GlobalData::PS_StructSqSeen: - return GTDEVEL("Illegal syntax following struct '{' opener"); - case IDL_GlobalData::PS_StructQsSeen: - return GTDEVEL("Illegal syntax following struct '}' closer"); - case IDL_GlobalData::PS_StructBodySeen: - return GTDEVEL("Illegal syntax following struct body statement(s)"); - case IDL_GlobalData::PS_MemberTypeSeen: - return GTDEVEL("Illegal syntax of missing identifier following member type"); - case IDL_GlobalData::PS_MemberDeclsSeen: - return GTDEVEL("Illegal syntax following member declarator(s)"); - case IDL_GlobalData::PS_MemberDeclsCompleted: - return GTDEVEL("Missing ',' between member decls of same type(?)"); - case IDL_GlobalData::PS_UnionSeen: - return GTDEVEL("Missing identifier following UNION keyword"); - case IDL_GlobalData::PS_UnionIDSeen: - return GTDEVEL("Illegal syntax following union identifier"); - case IDL_GlobalData::PS_SwitchSeen: - return GTDEVEL("Illegal syntax following SWITCH keyword"); - case IDL_GlobalData::PS_SwitchOpenParSeen: - return GTDEVEL("Illegal syntax following '(' in switch in union"); - case IDL_GlobalData::PS_SwitchTypeSeen: - return GTDEVEL("Illegal syntax following type decl in switch in union"); - case IDL_GlobalData::PS_SwitchCloseParSeen: - return GTDEVEL("Missing union '{' opener"); - case IDL_GlobalData::PS_UnionSqSeen: - return GTDEVEL("Illegal syntax following union '{' opener"); - case IDL_GlobalData::PS_UnionQsSeen: - return GTDEVEL("Illegal syntax following union '}' closer"); - case IDL_GlobalData::PS_DefaultSeen: - return GTDEVEL("Illegal syntax or missing ':' following DEFAULT keyword"); - case IDL_GlobalData::PS_UnionLabelSeen: - return GTDEVEL("Illegal syntax following branch label in union"); - case IDL_GlobalData::PS_LabelColonSeen: - return GTDEVEL("Illegal syntax following ':' in branch label in union"); - case IDL_GlobalData::PS_LabelExprSeen: - return GTDEVEL("Illegal syntax following label expression in union"); - case IDL_GlobalData::PS_UnionElemSeen: - case IDL_GlobalData::PS_UnionElemCompleted: - return GTDEVEL("Illegal syntax following union element"); - case IDL_GlobalData::PS_CaseSeen: - return GTDEVEL("Illegal syntax following CASE keyword in union"); - case IDL_GlobalData::PS_UnionElemTypeSeen: - return GTDEVEL("Illegal syntax following type decl in union element"); - case IDL_GlobalData::PS_UnionElemDeclSeen: - return GTDEVEL("Illegal syntax following declarator in union element"); - case IDL_GlobalData::PS_UnionBodySeen: - return GTDEVEL("Illegal syntax following union body statement(s)"); - case IDL_GlobalData::PS_EnumSeen: - return GTDEVEL("Illegal syntax or missing identifier following ENUM keyword"); - case IDL_GlobalData::PS_EnumIDSeen: - return GTDEVEL("Illegal syntax or missing '{' following enum identifier"); - case IDL_GlobalData::PS_EnumSqSeen: - return GTDEVEL("Illegal syntax following enum '{' opener"); - case IDL_GlobalData::PS_EnumQsSeen: - return GTDEVEL("Illegal syntax following enum '}' closer"); - case IDL_GlobalData::PS_EnumBodySeen: - return GTDEVEL("Illegal syntax following enum body statement(s)"); - case IDL_GlobalData::PS_EnumCommaSeen: - return GTDEVEL("Illegal syntax or missing identifier following ',' in enum"); - case IDL_GlobalData::PS_SequenceSeen: - return GTDEVEL("Illegal syntax or missing '<' following SEQUENCE keyword"); - case IDL_GlobalData::PS_SequenceSqSeen: - return GTDEVEL("Illegal syntax or missing type following '<' in sequence"); - case IDL_GlobalData::PS_SequenceQsSeen: - return GTDEVEL("Illegal syntax following '>' in sequence"); - case IDL_GlobalData::PS_SequenceTypeSeen: - return GTDEVEL("Illegal syntax following sequence type declaration"); - case IDL_GlobalData::PS_SequenceCommaSeen: - return - GTDEVEL("Illegal syntax of missing size expr following ',' in sequence"); - case IDL_GlobalData::PS_SequenceExprSeen: - return - GTDEVEL("Illegal syntax or missing '>' following size expr in sequence"); - case IDL_GlobalData::PS_StringSeen: - return GTDEVEL("Illegal syntax or missing '<' following STRING keyword"); - case IDL_GlobalData::PS_StringSqSeen: - return GTDEVEL("Illegal syntax or missing size expr following '<' in string"); - case IDL_GlobalData::PS_StringQsSeen: - return GTDEVEL("Illegal syntax following '>' in string"); - case IDL_GlobalData::PS_StringExprSeen: - return GTDEVEL("Illegal syntax or missing '>' after size expr in string"); - case IDL_GlobalData::PS_StringCompleted: - return GTDEVEL("Illegal syntax after string declaration"); - case IDL_GlobalData::PS_ArrayIDSeen: - return GTDEVEL("Illegal syntax or missing dimensions after array identifier"); - case IDL_GlobalData::PS_ArrayCompleted: - return GTDEVEL("Illegal syntax after array declaration"); - case IDL_GlobalData::PS_DimSqSeen: - return - GTDEVEL("Illegal syntax or missing size expr after '[' in array declaration"); - case IDL_GlobalData::PS_DimQsSeen: - return GTDEVEL("Illegal syntax after ']' in array declaration"); - case IDL_GlobalData::PS_DimExprSeen: - return - GTDEVEL("Illegal syntax or missing ']' after size expr in array declaration"); - case IDL_GlobalData::PS_AttrROSeen: - return GTDEVEL("Illegal syntax after READONLY keyword"); - case IDL_GlobalData::PS_AttrSeen: - return GTDEVEL("Illegal syntax after ATTRIBUTE keyword"); - case IDL_GlobalData::PS_AttrTypeSeen: - return GTDEVEL("Illegal syntax after type in attribute declaration"); - case IDL_GlobalData::PS_AttrDeclsSeen: - return GTDEVEL("Illegal syntax after attribute declarators"); - case IDL_GlobalData::PS_AttrCompleted: - return GTDEVEL("Illegal syntax after attribute declaration"); - case IDL_GlobalData::PS_ExceptSeen: - return - GTDEVEL("Illegal syntax or missing identifier after EXCEPTION keyword"); - case IDL_GlobalData::PS_ExceptIDSeen: - return GTDEVEL("Illegal syntax or missing '{' after exception identifier"); - case IDL_GlobalData::PS_ExceptSqSeen: - return GTDEVEL("Illegal syntax after exception '{' opener"); - case IDL_GlobalData::PS_ExceptQsSeen: - return GTDEVEL("Illegal syntax after exception '}' closer"); - case IDL_GlobalData::PS_ExceptBodySeen: - return GTDEVEL("Illegal syntax after exception body statement(s)"); - case IDL_GlobalData::PS_OpAttrSeen: - return GTDEVEL("Illegal syntax or missing type after operation attribute"); - case IDL_GlobalData::PS_OpTypeSeen: - return GTDEVEL("Illegal syntax or missing identifier after operation type"); - case IDL_GlobalData::PS_OpIDSeen: - return GTDEVEL("Illegal syntax or missing '(' after operation identifier"); - case IDL_GlobalData::PS_OpParsCompleted: - return GTDEVEL("Illegal syntax after operation parameter list"); - case IDL_GlobalData::PS_OpRaiseCompleted: - return - GTDEVEL("Illegal syntax after optional RAISES in operation declaration"); - case IDL_GlobalData::PS_OpContextCompleted: - return - GTDEVEL("Illegal syntax after optional CONTEXT in operation declaration"); - case IDL_GlobalData::PS_OpCompleted: - return GTDEVEL("Illegal syntax after operation declaration"); - case IDL_GlobalData::PS_OpSqSeen: - return GTDEVEL("Illegal syntax after operation parameter list '(' opener"); - case IDL_GlobalData::PS_OpQsSeen: - return GTDEVEL("Illegal syntax after operation parameter list ')' closer"); - case IDL_GlobalData::PS_OpParCommaSeen: - return - GTDEVEL("Illegal syntax or missing direction in parameter declaration"); - case IDL_GlobalData::PS_OpParDirSeen: - return GTDEVEL("Illegal syntax or missing type in parameter declaration"); - case IDL_GlobalData::PS_OpParTypeSeen: - return - GTDEVEL("Illegal syntax or missing declarator in parameter declaration"); - case IDL_GlobalData::PS_OpParDeclSeen: - return GTDEVEL("Illegal syntax following parameter declarator"); - case IDL_GlobalData::PS_OpRaiseSeen: - return GTDEVEL("Illegal syntax or missing '(' after RAISES keyword"); - case IDL_GlobalData::PS_OpRaiseSqSeen: - return GTDEVEL("Illegal syntax after RAISES '(' opener"); - case IDL_GlobalData::PS_OpRaiseQsSeen: - return GTDEVEL("Illegal syntax after RAISES ')' closer"); - case IDL_GlobalData::PS_OpContextSeen: - return GTDEVEL("Illegal syntax or missing '(' after CONTEXT keyword"); - case IDL_GlobalData::PS_OpContextSqSeen: - return GTDEVEL("Illegal syntax after CONTEXT '(' opener"); - case IDL_GlobalData::PS_OpContextQsSeen: - return GTDEVEL("Illegal syntax after CONTEXT ')' closer"); - case IDL_GlobalData::PS_OpContextCommaSeen: - return - GTDEVEL("Illegal syntax after ',' in CONTEXT in operation declaration"); - case IDL_GlobalData::PS_DeclsCommaSeen: - return GTDEVEL("Illegal syntax after ',' in declarators list"); - case IDL_GlobalData::PS_DeclsDeclSeen: - return GTDEVEL("Illegal syntax after declarator in declarators list"); - - default: - return GTDEVEL("Some syntax error"); - } -} -/* - * Public methods - */ - -// Report error messages with various numbers of arguments - -void -UTL_Error::syntax_error(IDL_GlobalData::ParseState ps) -{ - idl_error_header(EIDL_SYNTAX_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << parse_state_to_error_message(ps) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error0(UTL_Error::ErrorCode c) -{ - idl_error_header(c, idl_global->lineno(), idl_global->filename()); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error1(UTL_Error::ErrorCode c, AST_Decl *d) -{ - idl_error_header(c, d->line(), d->file_name()); - d->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error2(UTL_Error::ErrorCode c, AST_Decl *d1, AST_Decl *d2) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error3(UTL_Error::ErrorCode c, - AST_Decl *d1, - AST_Decl *d2, - AST_Decl *d3) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << ", "; - d3->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed coercion attempt -void -UTL_Error::coercion_error(AST_Expression *v, AST_Expression::ExprType t) -{ - idl_error_header(EIDL_COERCION_FAILURE, v->line(), v->file_name()); - v->dump(cerr); - cerr << GTDEVEL(" to ") << exprtype_to_string(t) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed name lookup attempt -void -UTL_Error::lookup_error(UTL_ScopedName *n) -{ - idl_error_header(EIDL_LOOKUP_ERROR, - idl_global->lineno(), - idl_global->filename()); - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from an interface which was only -// declared forward but not yet defined -void -UTL_Error::inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f) -{ - idl_error_header(EIDL_INHERIT_FWD_ERROR, f->line(), f->file_name()); - cerr << "interface "; - n->dump(cerr); - cerr << GTDEVEL(" cannot inherit from forward declared interface "); - f->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from something other than an interface -void -UTL_Error::inheritance_error(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CANT_INHERIT, d->line(), d->file_name()); - cerr << " interface "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an error while evaluating an expression -void -UTL_Error::eval_error(AST_Expression *v) -{ - idl_error_header(EIDL_EVAL_ERROR, v->line(), v->file_name()); - v->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where a constant was expected but we -// got something else. This may occur in a union when a label -// evaluates to a non-constant -void -UTL_Error::constant_expected(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CONSTANT_EXPECTED, d->line(), d->file_name()); - n->dump(cerr); - cerr << GTDEVEL(" bound to "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was expected but we -// got something else. This may occur in a union with an enum -// discriminator where a label did not evaluate to a constant -// enumerator -void -UTL_Error::enum_val_expected(AST_Union *u, AST_UnionLabel *l) -{ - idl_error_header(EIDL_ENUM_VAL_EXPECTED, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - l->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was received but we -// could not find it (by name) in an enum. This occurs when -// a union with an enum discriminator is being parsed, and a -// label evaluates to an enumerator which is not a member of -// the enum discriminator type -void -UTL_Error::enum_val_lookup_failure(AST_Union *u, - AST_Enum *e, - UTL_ScopedName *n) -{ - idl_error_header(EIDL_ENUM_VAL_NOT_FOUND, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - cerr << " enum " << e->local_name()->get_string() << ", "; - cerr << " enumerator "; - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report two or more spellings for an identifier -void -UTL_Error::name_case_error(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an ambiguous definition of a name -void -UTL_Error::ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d) -{ - idl_error_header(EIDL_AMBIGUOUS, d->line(), d->file_name()); - cerr << GTDEVEL(" scope: ") - << (ScopeAsDecl(s))->local_name()->get_string() - << ", "; - cerr << GTDEVEL(" collision: "); - d->name()->dump(cerr); - cerr << " vs. "; - l->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a forward declared interface which was never defined -void -UTL_Error::fwd_decl_not_defined(AST_Interface *d) -{ - idl_error_header(EIDL_DECL_NOT_DEFINED, d->line(), d->file_name()); - cerr << "interface "; - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report lookup in undefined forward declared but undefined interface -void -UTL_Error::fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n) -{ - idl_error_header(EIDL_FWD_DECL_LOOKUP, - idl_global->lineno(), - idl_global->filename()); - cerr << GTDEVEL("trying to look up "); - n->dump(cerr); - cerr << GTDEVEL(" in undefined forward declared interface "); - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a redefinition inside its own scope -void -UTL_Error::redefinition_in_scope(AST_Decl *d, AST_Decl *s) -{ - idl_error_header(EIDL_REDEF_SCOPE, d->line(), d->file_name()); - d->name()->dump(cerr); - cerr << ", "; - s->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report not a type error -void -UTL_Error::not_a_type(AST_Decl *d) -{ - idl_error_header(EIDL_NOT_A_TYPE, - idl_global->lineno(), - idl_global->filename()); - if (d == NULL || d->name() == NULL) - cerr << GTDEVEL("unknown symbol"); - else - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::back_end(long lineno, String *s) -{ - idl_error_header(EIDL_BACK_END, lineno, s); - idl_global->set_err_count(idl_global->err_count() + 1); -} diff --git a/TAO/TAO_IDL/util/utl_error.cpp b/TAO/TAO_IDL/util/utl_error.cpp deleted file mode 100644 index bbc38947132..00000000000 --- a/TAO/TAO_IDL/util/utl_error.cpp +++ /dev/null @@ -1,700 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_error.cc - Implementation of error reporting object for IDL -// compiler program - -#include "idl.h" -#include "idl_extern.h" - -/* - * Helper functions to do: - * - * - Convert an error code to an error string - * - Print out an error message header - * - Convert an ExprType to a string - */ - -// Convert an error code into a char * -static char * -error_string(UTL_Error::ErrorCode c) -{ - switch (c) { - case UTL_Error::EIDL_OK: - return GTDEVEL("all is fine "); - case UTL_Error::EIDL_SYNTAX_ERROR: - return ""; - case UTL_Error::EIDL_REDEF: - return GTDEVEL("illegal redefinition "); - case UTL_Error::EIDL_DEF_USE: - return GTDEVEL("redefinition after use, "); - case UTL_Error::EIDL_MULTIPLE_BRANCH: - return GTDEVEL("union with duplicate branch label "); - case UTL_Error::EIDL_COERCION_FAILURE: - return GTDEVEL("coercion failure "); - case UTL_Error::EIDL_SCOPE_CONFLICT: - return GTDEVEL("definition scope is different than fwd declare scope, "); - case UTL_Error::EIDL_ONEWAY_CONFLICT: - return GTDEVEL("oneway operation with OUT or INOUT parameters, "); - case UTL_Error::EIDL_DISC_TYPE: - return GTDEVEL("union with illegal discriminator type, "); - case UTL_Error::EIDL_LABEL_TYPE: - return GTDEVEL("label type incompatible with union discriminator type, "); - case UTL_Error::EIDL_ILLEGAL_ADD: - return GTDEVEL("illegal add operation, "); - case UTL_Error::EIDL_ILLEGAL_USE: - return GTDEVEL("illegal type used in expression, "); - case UTL_Error::EIDL_ILLEGAL_RAISES: - return GTDEVEL("error in raises(..) clause, "); - case UTL_Error::EIDL_ILLEGAL_CONTEXT: - return GTDEVEL("error in context(..) clause, "); - case UTL_Error::EIDL_CANT_INHERIT: - return GTDEVEL("cannot inherit from "); - case UTL_Error::EIDL_LOOKUP_ERROR: - return GTDEVEL("error in lookup of symbol: "); - case UTL_Error::EIDL_INHERIT_FWD_ERROR: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_CONSTANT_EXPECTED: - return GTDEVEL("constant expected: "); - case UTL_Error::EIDL_EVAL_ERROR: - return GTDEVEL("expression evaluation error: "); - case UTL_Error::EIDL_NAME_CASE_ERROR: - return GTDEVEL("identifier used with two differing spellings: "); - case UTL_Error::EIDL_ENUM_VAL_EXPECTED: - return GTDEVEL("enumerator expected: "); - case UTL_Error::EIDL_ENUM_VAL_NOT_FOUND: - return GTDEVEL("enumerator by this name not defined: "); - case UTL_Error::EIDL_AMBIGUOUS: - return GTDEVEL("ambiguous definition: "); - case UTL_Error::EIDL_DECL_NOT_DEFINED: - return GTDEVEL("forward declared but never defined: "); - case UTL_Error::EIDL_FWD_DECL_LOOKUP: - /* More intelligible message printed by error routine */ - return ""; - case UTL_Error::EIDL_RECURSIVE_TYPE: - return GTDEVEL("illegal recursive use of type: "); - case UTL_Error::EIDL_NONVOID_ONEWAY: - return GTDEVEL("non-void return type in oneway operation: "); - case UTL_Error::EIDL_REDEF_SCOPE: - return GTDEVEL("redefinition inside defining scope: "); - case UTL_Error::EIDL_NOT_A_TYPE: - return GTDEVEL("specified symbol is not a type: "); - case UTL_Error::EIDL_BACK_END: - return GTDEVEL("back end: "); - } - return NULL; -} - -// Print out an error message header on cerr -static void -idl_error_header(UTL_Error::ErrorCode c, long lineno, String *s) -{ - cerr << idl_global->prog_name() - << ": \"" - << (idl_global->read_from_stdin() ? "standard input" : s->get_string()) - << GTDEVEL("\", line ") - << ((lineno == -1) ? idl_global->lineno() : lineno) - << ": " - << error_string(c); -} - -// Convert the type of an AST_Expression to a char * -static char * -exprtype_to_string(AST_Expression::ExprType t) -{ - switch (t) { - case AST_Expression::EV_short: - return "short"; - case AST_Expression::EV_ushort: - return "unsigned short"; - case AST_Expression::EV_long: - return "long"; - case AST_Expression::EV_ulong: - return "unsigned long"; - case AST_Expression::EV_float: - return "float"; - case AST_Expression::EV_double: - return "double"; - case AST_Expression::EV_char: - return "char"; - case AST_Expression::EV_octet: - return "octet"; - case AST_Expression::EV_bool: - return "boolean"; - case AST_Expression::EV_string: - return "string"; - case AST_Expression::EV_any: - return "any"; - case AST_Expression::EV_void: - return "void"; - case AST_Expression::EV_none: - return "none"; - case AST_Expression::EV_longlong: - case AST_Expression::EV_ulonglong: - case AST_Expression::EV_longdouble: - case AST_Expression::EV_wchar: - case AST_Expression::EV_wstring: - return NULL; - } - return NULL; -} - -/* - * Convert a parse state into a possible error message - */ -static char * -parse_state_to_error_message(IDL_GlobalData::ParseState ps) -{ - switch (ps) { - case IDL_GlobalData::PS_NoState: - return GTDEVEL("Statement can not be parsed"); - case IDL_GlobalData::PS_TypeDeclSeen: - return GTDEVEL("Malformed typedef declaration"); - case IDL_GlobalData::PS_ConstDeclSeen: - return GTDEVEL("Malformed const declaration"); - case IDL_GlobalData::PS_ExceptDeclSeen: - return - GTDEVEL("Malformed exception declaration"); - case IDL_GlobalData::PS_InterfaceDeclSeen: - return - GTDEVEL("Malformed interface declaration"); - case IDL_GlobalData::PS_ModuleDeclSeen: - return GTDEVEL("Malformed module declaration"); - case IDL_GlobalData::PS_AttrDeclSeen: - return - GTDEVEL("Malformed attribute declaration"); - case IDL_GlobalData::PS_OpDeclSeen: - return - GTDEVEL("Malformed operation declaration"); - case IDL_GlobalData::PS_ModuleSeen: - return GTDEVEL("Missing module identifier following MODULE keyword"); - case IDL_GlobalData::PS_ModuleIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following module identifier"); - case IDL_GlobalData::PS_ModuleSqSeen: - return GTDEVEL("Illegal syntax following module '{' opener"); - case IDL_GlobalData::PS_ModuleQsSeen: - return GTDEVEL("Illegal syntax following module '}' closer"); - case IDL_GlobalData::PS_ModuleBodySeen: - return GTDEVEL("Illegal syntax following module body statement(s)"); - case IDL_GlobalData::PS_InterfaceSeen: - return GTDEVEL("Missing interface identifier following INTERFACE keyword"); - case IDL_GlobalData::PS_InterfaceIDSeen: - return GTDEVEL("Illegal syntax following interface identifier"); - case IDL_GlobalData::PS_InheritSpecSeen: - return GTDEVEL("Missing '{' or illegal syntax following inheritance spec"); - case IDL_GlobalData::PS_ForwardDeclSeen: - return GTDEVEL("Missing ';' following forward interface declaration"); - case IDL_GlobalData::PS_InterfaceSqSeen: - return GTDEVEL("Illegal syntax following interface '{' opener"); - case IDL_GlobalData::PS_InterfaceQsSeen: - return GTDEVEL("Illegal syntax following interface '}' closer"); - case IDL_GlobalData::PS_InterfaceBodySeen: - return GTDEVEL("Illegal syntax following interface body statement(s)"); - case IDL_GlobalData::PS_InheritColonSeen: - return GTDEVEL("Illegal syntax following ':' starting inheritance list"); - case IDL_GlobalData::PS_SNListCommaSeen: - return GTDEVEL("Found illegal scoped name in scoped name list"); - case IDL_GlobalData::PS_ScopedNameSeen: - return GTDEVEL("Missing ',' following scoped name in scoped name list"); - case IDL_GlobalData::PS_SN_IDSeen: - return GTDEVEL("Illegal component in scoped name"); - case IDL_GlobalData::PS_ScopeDelimSeen: - return GTDEVEL("Illegal component in scoped name following '::'"); - case IDL_GlobalData::PS_ConstSeen: - return GTDEVEL("Missing type or illegal syntax following CONST keyword"); - case IDL_GlobalData::PS_ConstTypeSeen: - return GTDEVEL("Missing identifier or illegal syntax following const type"); - case IDL_GlobalData::PS_ConstIDSeen: - return GTDEVEL("Missing '=' or illegal syntax after const identifier"); - case IDL_GlobalData::PS_ConstAssignSeen: - return GTDEVEL("Missing value expr or illegal syntax following '='"); - case IDL_GlobalData::PS_ConstExprSeen: - return GTDEVEL("Missing ';' or illegal syntax following value expr in const"); - case IDL_GlobalData::PS_TypedefSeen: - return GTDEVEL("Missing type or illegal syntax following TYPEDEF keyword"); - case IDL_GlobalData::PS_TypeSpecSeen: - return GTDEVEL("Missing declarators or illegal syntax following type spec"); - case IDL_GlobalData::PS_DeclaratorsSeen: - return GTDEVEL("Illegal syntax following declarators in TYPEDEF declaration"); - case IDL_GlobalData::PS_StructSeen: - return GTDEVEL("Missing struct identifier following STRUCT keyword"); - case IDL_GlobalData::PS_StructIDSeen: - return GTDEVEL("Missing '{' or illegal syntax following struct identifier"); - case IDL_GlobalData::PS_StructSqSeen: - return GTDEVEL("Illegal syntax following struct '{' opener"); - case IDL_GlobalData::PS_StructQsSeen: - return GTDEVEL("Illegal syntax following struct '}' closer"); - case IDL_GlobalData::PS_StructBodySeen: - return GTDEVEL("Illegal syntax following struct body statement(s)"); - case IDL_GlobalData::PS_MemberTypeSeen: - return GTDEVEL("Illegal syntax of missing identifier following member type"); - case IDL_GlobalData::PS_MemberDeclsSeen: - return GTDEVEL("Illegal syntax following member declarator(s)"); - case IDL_GlobalData::PS_MemberDeclsCompleted: - return GTDEVEL("Missing ',' between member decls of same type(?)"); - case IDL_GlobalData::PS_UnionSeen: - return GTDEVEL("Missing identifier following UNION keyword"); - case IDL_GlobalData::PS_UnionIDSeen: - return GTDEVEL("Illegal syntax following union identifier"); - case IDL_GlobalData::PS_SwitchSeen: - return GTDEVEL("Illegal syntax following SWITCH keyword"); - case IDL_GlobalData::PS_SwitchOpenParSeen: - return GTDEVEL("Illegal syntax following '(' in switch in union"); - case IDL_GlobalData::PS_SwitchTypeSeen: - return GTDEVEL("Illegal syntax following type decl in switch in union"); - case IDL_GlobalData::PS_SwitchCloseParSeen: - return GTDEVEL("Missing union '{' opener"); - case IDL_GlobalData::PS_UnionSqSeen: - return GTDEVEL("Illegal syntax following union '{' opener"); - case IDL_GlobalData::PS_UnionQsSeen: - return GTDEVEL("Illegal syntax following union '}' closer"); - case IDL_GlobalData::PS_DefaultSeen: - return GTDEVEL("Illegal syntax or missing ':' following DEFAULT keyword"); - case IDL_GlobalData::PS_UnionLabelSeen: - return GTDEVEL("Illegal syntax following branch label in union"); - case IDL_GlobalData::PS_LabelColonSeen: - return GTDEVEL("Illegal syntax following ':' in branch label in union"); - case IDL_GlobalData::PS_LabelExprSeen: - return GTDEVEL("Illegal syntax following label expression in union"); - case IDL_GlobalData::PS_UnionElemSeen: - case IDL_GlobalData::PS_UnionElemCompleted: - return GTDEVEL("Illegal syntax following union element"); - case IDL_GlobalData::PS_CaseSeen: - return GTDEVEL("Illegal syntax following CASE keyword in union"); - case IDL_GlobalData::PS_UnionElemTypeSeen: - return GTDEVEL("Illegal syntax following type decl in union element"); - case IDL_GlobalData::PS_UnionElemDeclSeen: - return GTDEVEL("Illegal syntax following declarator in union element"); - case IDL_GlobalData::PS_UnionBodySeen: - return GTDEVEL("Illegal syntax following union body statement(s)"); - case IDL_GlobalData::PS_EnumSeen: - return GTDEVEL("Illegal syntax or missing identifier following ENUM keyword"); - case IDL_GlobalData::PS_EnumIDSeen: - return GTDEVEL("Illegal syntax or missing '{' following enum identifier"); - case IDL_GlobalData::PS_EnumSqSeen: - return GTDEVEL("Illegal syntax following enum '{' opener"); - case IDL_GlobalData::PS_EnumQsSeen: - return GTDEVEL("Illegal syntax following enum '}' closer"); - case IDL_GlobalData::PS_EnumBodySeen: - return GTDEVEL("Illegal syntax following enum body statement(s)"); - case IDL_GlobalData::PS_EnumCommaSeen: - return GTDEVEL("Illegal syntax or missing identifier following ',' in enum"); - case IDL_GlobalData::PS_SequenceSeen: - return GTDEVEL("Illegal syntax or missing '<' following SEQUENCE keyword"); - case IDL_GlobalData::PS_SequenceSqSeen: - return GTDEVEL("Illegal syntax or missing type following '<' in sequence"); - case IDL_GlobalData::PS_SequenceQsSeen: - return GTDEVEL("Illegal syntax following '>' in sequence"); - case IDL_GlobalData::PS_SequenceTypeSeen: - return GTDEVEL("Illegal syntax following sequence type declaration"); - case IDL_GlobalData::PS_SequenceCommaSeen: - return - GTDEVEL("Illegal syntax of missing size expr following ',' in sequence"); - case IDL_GlobalData::PS_SequenceExprSeen: - return - GTDEVEL("Illegal syntax or missing '>' following size expr in sequence"); - case IDL_GlobalData::PS_StringSeen: - return GTDEVEL("Illegal syntax or missing '<' following STRING keyword"); - case IDL_GlobalData::PS_StringSqSeen: - return GTDEVEL("Illegal syntax or missing size expr following '<' in string"); - case IDL_GlobalData::PS_StringQsSeen: - return GTDEVEL("Illegal syntax following '>' in string"); - case IDL_GlobalData::PS_StringExprSeen: - return GTDEVEL("Illegal syntax or missing '>' after size expr in string"); - case IDL_GlobalData::PS_StringCompleted: - return GTDEVEL("Illegal syntax after string declaration"); - case IDL_GlobalData::PS_ArrayIDSeen: - return GTDEVEL("Illegal syntax or missing dimensions after array identifier"); - case IDL_GlobalData::PS_ArrayCompleted: - return GTDEVEL("Illegal syntax after array declaration"); - case IDL_GlobalData::PS_DimSqSeen: - return - GTDEVEL("Illegal syntax or missing size expr after '[' in array declaration"); - case IDL_GlobalData::PS_DimQsSeen: - return GTDEVEL("Illegal syntax after ']' in array declaration"); - case IDL_GlobalData::PS_DimExprSeen: - return - GTDEVEL("Illegal syntax or missing ']' after size expr in array declaration"); - case IDL_GlobalData::PS_AttrROSeen: - return GTDEVEL("Illegal syntax after READONLY keyword"); - case IDL_GlobalData::PS_AttrSeen: - return GTDEVEL("Illegal syntax after ATTRIBUTE keyword"); - case IDL_GlobalData::PS_AttrTypeSeen: - return GTDEVEL("Illegal syntax after type in attribute declaration"); - case IDL_GlobalData::PS_AttrDeclsSeen: - return GTDEVEL("Illegal syntax after attribute declarators"); - case IDL_GlobalData::PS_AttrCompleted: - return GTDEVEL("Illegal syntax after attribute declaration"); - case IDL_GlobalData::PS_ExceptSeen: - return - GTDEVEL("Illegal syntax or missing identifier after EXCEPTION keyword"); - case IDL_GlobalData::PS_ExceptIDSeen: - return GTDEVEL("Illegal syntax or missing '{' after exception identifier"); - case IDL_GlobalData::PS_ExceptSqSeen: - return GTDEVEL("Illegal syntax after exception '{' opener"); - case IDL_GlobalData::PS_ExceptQsSeen: - return GTDEVEL("Illegal syntax after exception '}' closer"); - case IDL_GlobalData::PS_ExceptBodySeen: - return GTDEVEL("Illegal syntax after exception body statement(s)"); - case IDL_GlobalData::PS_OpAttrSeen: - return GTDEVEL("Illegal syntax or missing type after operation attribute"); - case IDL_GlobalData::PS_OpTypeSeen: - return GTDEVEL("Illegal syntax or missing identifier after operation type"); - case IDL_GlobalData::PS_OpIDSeen: - return GTDEVEL("Illegal syntax or missing '(' after operation identifier"); - case IDL_GlobalData::PS_OpParsCompleted: - return GTDEVEL("Illegal syntax after operation parameter list"); - case IDL_GlobalData::PS_OpRaiseCompleted: - return - GTDEVEL("Illegal syntax after optional RAISES in operation declaration"); - case IDL_GlobalData::PS_OpContextCompleted: - return - GTDEVEL("Illegal syntax after optional CONTEXT in operation declaration"); - case IDL_GlobalData::PS_OpCompleted: - return GTDEVEL("Illegal syntax after operation declaration"); - case IDL_GlobalData::PS_OpSqSeen: - return GTDEVEL("Illegal syntax after operation parameter list '(' opener"); - case IDL_GlobalData::PS_OpQsSeen: - return GTDEVEL("Illegal syntax after operation parameter list ')' closer"); - case IDL_GlobalData::PS_OpParCommaSeen: - return - GTDEVEL("Illegal syntax or missing direction in parameter declaration"); - case IDL_GlobalData::PS_OpParDirSeen: - return GTDEVEL("Illegal syntax or missing type in parameter declaration"); - case IDL_GlobalData::PS_OpParTypeSeen: - return - GTDEVEL("Illegal syntax or missing declarator in parameter declaration"); - case IDL_GlobalData::PS_OpParDeclSeen: - return GTDEVEL("Illegal syntax following parameter declarator"); - case IDL_GlobalData::PS_OpRaiseSeen: - return GTDEVEL("Illegal syntax or missing '(' after RAISES keyword"); - case IDL_GlobalData::PS_OpRaiseSqSeen: - return GTDEVEL("Illegal syntax after RAISES '(' opener"); - case IDL_GlobalData::PS_OpRaiseQsSeen: - return GTDEVEL("Illegal syntax after RAISES ')' closer"); - case IDL_GlobalData::PS_OpContextSeen: - return GTDEVEL("Illegal syntax or missing '(' after CONTEXT keyword"); - case IDL_GlobalData::PS_OpContextSqSeen: - return GTDEVEL("Illegal syntax after CONTEXT '(' opener"); - case IDL_GlobalData::PS_OpContextQsSeen: - return GTDEVEL("Illegal syntax after CONTEXT ')' closer"); - case IDL_GlobalData::PS_OpContextCommaSeen: - return - GTDEVEL("Illegal syntax after ',' in CONTEXT in operation declaration"); - case IDL_GlobalData::PS_DeclsCommaSeen: - return GTDEVEL("Illegal syntax after ',' in declarators list"); - case IDL_GlobalData::PS_DeclsDeclSeen: - return GTDEVEL("Illegal syntax after declarator in declarators list"); - - default: - return GTDEVEL("Some syntax error"); - } -} -/* - * Public methods - */ - -// Report error messages with various numbers of arguments - -void -UTL_Error::syntax_error(IDL_GlobalData::ParseState ps) -{ - idl_error_header(EIDL_SYNTAX_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << parse_state_to_error_message(ps) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error0(UTL_Error::ErrorCode c) -{ - idl_error_header(c, idl_global->lineno(), idl_global->filename()); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error1(UTL_Error::ErrorCode c, AST_Decl *d) -{ - idl_error_header(c, d->line(), d->file_name()); - d->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error2(UTL_Error::ErrorCode c, AST_Decl *d1, AST_Decl *d2) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::error3(UTL_Error::ErrorCode c, - AST_Decl *d1, - AST_Decl *d2, - AST_Decl *d3) -{ - idl_error_header(c, d1->line(), d1->file_name()); - d1->name()->dump(cerr); cerr << ", "; - d2->name()->dump(cerr); cerr << ", "; - d3->name()->dump(cerr); cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed coercion attempt -void -UTL_Error::coercion_error(AST_Expression *v, AST_Expression::ExprType t) -{ - idl_error_header(EIDL_COERCION_FAILURE, v->line(), v->file_name()); - v->dump(cerr); - cerr << GTDEVEL(" to ") << exprtype_to_string(t) << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a failed name lookup attempt -void -UTL_Error::lookup_error(UTL_ScopedName *n) -{ - idl_error_header(EIDL_LOOKUP_ERROR, - idl_global->lineno(), - idl_global->filename()); - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from an interface which was only -// declared forward but not yet defined -void -UTL_Error::inheritance_fwd_error(UTL_ScopedName *n, AST_Interface *f) -{ - idl_error_header(EIDL_INHERIT_FWD_ERROR, f->line(), f->file_name()); - cerr << "interface "; - n->dump(cerr); - cerr << GTDEVEL(" cannot inherit from forward declared interface "); - f->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an attempt to inherit from something other than an interface -void -UTL_Error::inheritance_error(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CANT_INHERIT, d->line(), d->file_name()); - cerr << " interface "; - n->dump(cerr); - cerr << GTDEVEL(" attempts to inherit from "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an error while evaluating an expression -void -UTL_Error::eval_error(AST_Expression *v) -{ - idl_error_header(EIDL_EVAL_ERROR, v->line(), v->file_name()); - v->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where a constant was expected but we -// got something else. This may occur in a union when a label -// evaluates to a non-constant -void -UTL_Error::constant_expected(UTL_ScopedName *n, AST_Decl *d) -{ - idl_error_header(EIDL_CONSTANT_EXPECTED, d->line(), d->file_name()); - n->dump(cerr); - cerr << GTDEVEL(" bound to "); - d->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was expected but we -// got something else. This may occur in a union with an enum -// discriminator where a label did not evaluate to a constant -// enumerator -void -UTL_Error::enum_val_expected(AST_Union *u, AST_UnionLabel *l) -{ - idl_error_header(EIDL_ENUM_VAL_EXPECTED, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - l->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a situation where an enumerator was received but we -// could not find it (by name) in an enum. This occurs when -// a union with an enum discriminator is being parsed, and a -// label evaluates to an enumerator which is not a member of -// the enum discriminator type -void -UTL_Error::enum_val_lookup_failure(AST_Union *u, - AST_Enum *e, - UTL_ScopedName *n) -{ - idl_error_header(EIDL_ENUM_VAL_NOT_FOUND, u->line(), u->file_name()); - cerr << " union " << u->local_name()->get_string() << ", "; - cerr << " enum " << e->local_name()->get_string() << ", "; - cerr << " enumerator "; - n->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report two or more spellings for an identifier -void -UTL_Error::name_case_error(char *b, char *n) -{ - idl_error_header(EIDL_NAME_CASE_ERROR, - idl_global->lineno(), - idl_global->filename()); - cerr << "\"" << b << GTDEVEL("\" and ") << "\"" << n << "\"\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report an ambiguous definition of a name -void -UTL_Error::ambiguous(UTL_Scope *s, AST_Decl *l, AST_Decl *d) -{ - idl_error_header(EIDL_AMBIGUOUS, d->line(), d->file_name()); - cerr << GTDEVEL(" scope: ") - << (ScopeAsDecl(s))->local_name()->get_string() - << ", "; - cerr << GTDEVEL(" collision: "); - d->name()->dump(cerr); - cerr << " vs. "; - l->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a forward declared interface which was never defined -void -UTL_Error::fwd_decl_not_defined(AST_Interface *d) -{ - idl_error_header(EIDL_DECL_NOT_DEFINED, d->line(), d->file_name()); - cerr << "interface "; - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report lookup in undefined forward declared but undefined interface -void -UTL_Error::fwd_decl_lookup(AST_Interface *d, UTL_ScopedName *n) -{ - idl_error_header(EIDL_FWD_DECL_LOOKUP, - idl_global->lineno(), - idl_global->filename()); - cerr << GTDEVEL("trying to look up "); - n->dump(cerr); - cerr << GTDEVEL(" in undefined forward declared interface "); - d->local_name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report a redefinition inside its own scope -void -UTL_Error::redefinition_in_scope(AST_Decl *d, AST_Decl *s) -{ - idl_error_header(EIDL_REDEF_SCOPE, d->line(), d->file_name()); - d->name()->dump(cerr); - cerr << ", "; - s->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -// Report not a type error -void -UTL_Error::not_a_type(AST_Decl *d) -{ - idl_error_header(EIDL_NOT_A_TYPE, - idl_global->lineno(), - idl_global->filename()); - if (d == NULL || d->name() == NULL) - cerr << GTDEVEL("unknown symbol"); - else - d->name()->dump(cerr); - cerr << "\n"; - idl_global->set_err_count(idl_global->err_count() + 1); -} - -void -UTL_Error::back_end(long lineno, String *s) -{ - idl_error_header(EIDL_BACK_END, lineno, s); - idl_global->set_err_count(idl_global->err_count() + 1); -} diff --git a/TAO/TAO_IDL/util/utl_exceptlist.cpp b/TAO/TAO_IDL/util/utl_exceptlist.cpp deleted file mode 100644 index 630085708a6..00000000000 --- a/TAO/TAO_IDL/util/utl_exceptlist.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_exceptlist.cc -// -// Implementation of a list of exceptions - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_ExceptList::UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_Exception * -UTL_ExceptList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExceptList active iterator - -/* - * Constructor - */ - -UTL_ExceptlistActiveIterator::UTL_ExceptlistActiveIterator(UTL_ExceptList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_Exception * -UTL_ExceptlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_ExceptList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_exprlist.cpp b/TAO/TAO_IDL/util/utl_exprlist.cpp deleted file mode 100644 index f94c1864d8f..00000000000 --- a/TAO/TAO_IDL/util/utl_exprlist.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_exprlist.cc -// -// Implementation of a list of strings - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_ExprList::UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_Expression * -UTL_ExprList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExprList active iterator - -/* - * Constructor - */ - -UTL_ExprlistActiveIterator::UTL_ExprlistActiveIterator(UTL_ExprList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_Expression * -UTL_ExprlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_ExprList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_global.cpp b/TAO/TAO_IDL/util/utl_global.cpp deleted file mode 100644 index 6f222261322..00000000000 --- a/TAO/TAO_IDL/util/utl_global.cpp +++ /dev/null @@ -1,577 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_global.cc - Implementation of class IDL_GlobalData -// - -#include "idl.h" -#include "idl_extern.h" - -// Define an increment for the size of the array used to store names of -// included files -#undef INCREMENT -#define INCREMENT 64 - -IDL_GlobalData::IDL_GlobalData() - : pd_scopes(NULL), - pd_root(NULL), - pd_gen(NULL), - pd_err(NULL), - pd_err_count(0), - pd_lineno(0), - pd_filename(NULL), - pd_main_filename(NULL), - pd_real_filename(NULL), - pd_in_main_file(I_FALSE), - pd_prog_name(NULL), - pd_cpp_location(NULL), - pd_compile_flags(0), - pd_be(NULL), - pd_local_escapes(NULL), - pd_indent(NULL), - pd_pragmas(NULL), - pd_read_from_stdin(I_FALSE), - pd_include_file_names(NULL), - pd_n_include_file_names(0), - pd_n_alloced_file_names(0), - pd_parse_state(PS_NoState) -{ - // empty -} - -// Get or set scopes stack -UTL_ScopeStack * -IDL_GlobalData::scopes() -{ - return pd_scopes; -} -void -IDL_GlobalData::set_scopes(UTL_ScopeStack *s) -{ - pd_scopes = s; -} - -// Get or set root of AST -AST_Root * -IDL_GlobalData::root() -{ - return pd_root; -} -void -IDL_GlobalData::set_root(AST_Root *r) -{ - pd_root = r; -} - -// Get or set generator object -AST_Generator * -IDL_GlobalData::gen() -{ - return pd_gen; -} -void -IDL_GlobalData::set_gen(AST_Generator *g) -{ - pd_gen = g; -} - -// Get or set error object -UTL_Error * -IDL_GlobalData::err() -{ - return pd_err; -} -void -IDL_GlobalData::set_err(UTL_Error *e) -{ - pd_err = e; -} - -// Get or set error count -long -IDL_GlobalData::err_count() -{ - return pd_err_count; -} -void -IDL_GlobalData::set_err_count(long c) -{ - pd_err_count = c; -} - -// Get or set line number -long -IDL_GlobalData::lineno() -{ - return pd_lineno; -} -void -IDL_GlobalData::set_lineno(long n) -{ - pd_lineno = n; -} - -// Get or set file name being read now -String * -IDL_GlobalData::filename() -{ - return pd_filename; -} -void -IDL_GlobalData::set_filename(String *f) -{ - pd_filename = f; -} - -// Get or set main file name -String * -IDL_GlobalData::main_filename() -{ - return pd_main_filename; -} -void -IDL_GlobalData::set_main_filename(String *n) -{ - pd_main_filename = n; -} - -// Get or set real file name -String * -IDL_GlobalData::real_filename() -{ - return pd_real_filename; -} -void -IDL_GlobalData::set_real_filename(String *n) -{ - pd_real_filename = n; -} - -// Get or set indicator whether import is on -idl_bool -IDL_GlobalData::imported() -{ - return pd_in_main_file ? I_FALSE : pd_import; -} -idl_bool -IDL_GlobalData::import() -{ - return pd_import; -} -void -IDL_GlobalData::set_import(idl_bool is_in) -{ - pd_import = is_in; -} - -// Get or set indicator whether we're reading the main file now -idl_bool -IDL_GlobalData::in_main_file() -{ - return pd_in_main_file; -} -void -IDL_GlobalData::set_in_main_file(idl_bool is_in) -{ - pd_in_main_file = is_in; -} - -// Get or set stripped file name -String * -IDL_GlobalData::stripped_filename() -{ - return pd_stripped_filename; -} -void -IDL_GlobalData::set_stripped_filename(String *nm) -{ - pd_stripped_filename = nm; -} - -// Get or set cache value for argv[0] -char * -IDL_GlobalData::prog_name() -{ - return pd_prog_name; -} -void -IDL_GlobalData::set_prog_name(char *pn) -{ - pd_prog_name = pn; -} - -// Get or set location to find C preprocessor -char * -IDL_GlobalData::cpp_location() -{ - return pd_cpp_location; -} -void -IDL_GlobalData::set_cpp_location(char *l) -{ - pd_cpp_location = l; -} - -// Get or set IDL compiler flags -long -IDL_GlobalData::compile_flags() -{ - return pd_compile_flags; -} -void -IDL_GlobalData::set_compile_flags(long cf) -{ - pd_compile_flags = cf; -} - -// Get or set BE to be used -char * -IDL_GlobalData::be() -{ - return pd_be; -} -void -IDL_GlobalData::set_be(char *nbe) -{ - pd_be = nbe; -} - -// Get or set local escapes string. This provides additional mechanism -// to pass information to a BE. -char * -IDL_GlobalData::local_escapes() -{ - return pd_local_escapes; -} -void -IDL_GlobalData::set_local_escapes(char *e) -{ - pd_local_escapes = e; -} - -// Get or set indent object -UTL_Indenter * -IDL_GlobalData::indent() -{ - return pd_indent; -} -void -IDL_GlobalData::set_indent(UTL_Indenter *i) -{ - pd_indent = i; -} - -// Get or set list of pragmas being parsed -UTL_StrList * -IDL_GlobalData::pragmas() -{ - UTL_StrList *p = pd_pragmas; - - pd_pragmas = NULL; - return p; -} -void -IDL_GlobalData::set_pragmas(UTL_StrList *p) -{ - pd_pragmas = p; -} - -// Get or set indicator whether we're reading from stdin -idl_bool -IDL_GlobalData::read_from_stdin() -{ - return pd_read_from_stdin; -} -void -IDL_GlobalData::set_read_from_stdin(idl_bool r) -{ - pd_read_from_stdin = r; -} - -// Have we seen this include file name before? -long -IDL_GlobalData::seen_include_file_before(String *n) -{ - unsigned long i; - - for (i = 0; i < pd_n_include_file_names; i++) - if (n->compare(pd_include_file_names[i])) - return I_TRUE; - return I_FALSE; -} - -// Store a name of an #include file -void -IDL_GlobalData::store_include_file_name(String *n) -{ - String **o_include_file_names; - unsigned long o_n_alloced_file_names, - i; - - /* - * Check if we need to store it at all or whether we've seen it already - */ - if (seen_include_file_before(n)) - return; - /* - * OK, need to store. Make sure there's space for one more string - */ - if (pd_n_include_file_names == pd_n_alloced_file_names) { - if (pd_n_alloced_file_names == 0) { - pd_n_alloced_file_names = INCREMENT; - pd_include_file_names = new String *[pd_n_alloced_file_names]; - } else { - o_include_file_names = pd_include_file_names; - o_n_alloced_file_names = pd_n_alloced_file_names; - pd_n_alloced_file_names += INCREMENT; - pd_include_file_names = new String *[pd_n_alloced_file_names]; - for (i = 0; i < o_n_alloced_file_names; i++) - pd_include_file_names[i] = o_include_file_names[i]; - delete [] o_include_file_names; - } - } - /* - * Store it - */ - pd_include_file_names[pd_n_include_file_names++] = n; -} - -void -IDL_GlobalData::set_include_file_names(String **ns) -{ - pd_include_file_names = ns; -} - -String ** -IDL_GlobalData::include_file_names() -{ - return pd_include_file_names; -} - -void -IDL_GlobalData::set_n_include_file_names(unsigned long n) -{ - pd_n_include_file_names = n; -} - -unsigned long -IDL_GlobalData::n_include_file_names() -{ - return pd_n_include_file_names; -} - -void -IDL_GlobalData::set_parse_state(ParseState ps) -{ - pd_parse_state = ps; -} - -IDL_GlobalData::ParseState -IDL_GlobalData::parse_state() -{ - return pd_parse_state; -} - -/* - * Convert a PredefinedType to an ExprType - */ -AST_Expression::ExprType -IDL_GlobalData::PredefinedTypeToExprType(AST_PredefinedType::PredefinedType pt) -{ - switch (pt) { - case AST_PredefinedType::PT_long: - return AST_Expression::EV_long; - case AST_PredefinedType::PT_ulong: - return AST_Expression::EV_ulong; - case AST_PredefinedType::PT_short: - return AST_Expression::EV_short; - case AST_PredefinedType::PT_ushort: - return AST_Expression::EV_ushort; - case AST_PredefinedType::PT_float: - return AST_Expression::EV_float; - case AST_PredefinedType::PT_double: - return AST_Expression::EV_double; - case AST_PredefinedType::PT_char: - return AST_Expression::EV_char; - case AST_PredefinedType::PT_octet: - return AST_Expression::EV_octet; - case AST_PredefinedType::PT_boolean: - return AST_Expression::EV_bool; - default: - return AST_Expression::EV_any; - } -} - -// returns the IDL source file being copiled -String* IDL_GlobalData::idl_src_file() -{ - return this->pd_idl_src_file; -} - -// set the source IDL file that is being parsed -void IDL_GlobalData::idl_src_file(String *s) -{ - this->pd_idl_src_file = s; -} - -/************ Helper functions **************/ -static const char* -be_change_idl_file_extension (String* idl_file, - const char *new_extension) -{ - // @@ This shouldn't happen anyway; but a better error handling - // mechanism is needed. - if (idl_file == 0 || new_extension == 0) - { - return 0; - } - - static char fname[MAXNAMELEN]; - ACE_OS::memset (fname, 0, MAXNAMELEN); - - const char* string = idl_file->get_string (); - - // get the base part of the filename - const char *base = ACE_OS::strstr (string, ".idl"); - - if (base == 0) - return 0; - - ACE_OS::strncpy (fname, string, base - string); - ACE_OS::strcat (fname, new_extension); - return fname; -} - -const char * -IDL_GlobalData::be_get_client_hdr (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.h"); -} - -const char * -IDL_GlobalData::be_get_client_stub (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.cpp"); -} - -const char * -IDL_GlobalData::be_get_client_inline (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "C.i"); -} - -const char * -IDL_GlobalData::be_get_server_hdr (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.h"); -} - -const char * -IDL_GlobalData::be_get_server_skeleton (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.cpp"); -} - -const char * -IDL_GlobalData::be_get_server_inline (String *idl_file_name) -{ - return be_change_idl_file_extension (idl_file_name, "S.i"); -} - -const char * -IDL_GlobalData::be_get_client_hdr_fname () -{ - return be_get_client_hdr (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_client_stub_fname () -{ - return be_get_client_stub (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_client_inline_fname () -{ - return be_get_client_inline (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_hdr_fname () -{ - return be_get_server_hdr (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_skeleton_fname () -{ - return be_get_server_skeleton (idl_global->idl_src_file ()); -} - -const char * -IDL_GlobalData::be_get_server_inline_fname () -{ - return be_get_server_inline (idl_global->idl_src_file ()); -} - diff --git a/TAO/TAO_IDL/util/utl_identifier.cpp b/TAO/TAO_IDL/util/utl_identifier.cpp deleted file mode 100644 index 458fcc20c5c..00000000000 --- a/TAO/TAO_IDL/util/utl_identifier.cpp +++ /dev/null @@ -1,116 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_identifier - Implementation of identifiers - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ - -Identifier::Identifier () - : pv_string (NULL) -{ -} - -Identifier::Identifier (char *s, long, long, long) - : pv_string (ACE_OS::strdup (s)) -{ -} - -Identifier::~Identifier () -{ - delete pv_string; -} - -// Operations - -char * -Identifier::get_string () -{ - return pv_string; -} - -// Compare two Identifier * -long -Identifier::compare (Identifier *o) -{ - if (o == NULL) return I_FALSE; - if (pv_string == NULL || o->get_string() == NULL) - return I_FALSE; - return (ACE_OS::strcmp (pv_string, o->get_string ()) == 0) ? I_TRUE : I_FALSE; -} - -// Dumping - -void -Identifier::dump (ostream &o) -{ - if (pv_string == NULL) return; - - o << get_string(); -} - diff --git a/TAO/TAO_IDL/util/utl_idlist.cpp b/TAO/TAO_IDL/util/utl_idlist.cpp deleted file mode 100644 index bf143f06d5f..00000000000 --- a/TAO/TAO_IDL/util/utl_idlist.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_idlist.cc -// -// Implementation of a list of utl_string nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_IdList::UTL_IdList (Identifier *s, UTL_IdList *cdr) - : pd_car_data (s), - UTL_List ((UTL_List *) cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Copy a list -UTL_List * -UTL_IdList::copy () -{ - if (tail () == NULL) - return (UTL_List *) new UTL_IdList (head (), NULL); - return (UTL_List *) new UTL_IdList (head (), (UTL_IdList *) tail ()->copy ()); -} - -// Get list item -Identifier * -UTL_IdList::head () -{ - return pd_car_data; -} - -// Get last item of this list -Identifier * -UTL_IdList::last_component () -{ - if (tail()== NULL) - return head (); - return ((UTL_IdList *) tail ())->last_component (); -} - -// AST Dumping -void -UTL_IdList::dump (ostream &o) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator (this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done ())) - { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - i->item ()->dump (o); - if (first) - { - if (ACE_OS::strcmp (i->item ()->get_string (), "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next (); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_IdList active iterator - -/* - * Constructor - */ - -UTL_IdListActiveIterator::UTL_IdListActiveIterator (UTL_IdList *s) - : UTL_ListActiveIterator (s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -Identifier * -UTL_IdListActiveIterator::item () -{ - if (source == NULL) - return NULL; - return ((UTL_IdList *) source)->head (); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_indenter.cpp b/TAO/TAO_IDL/util/utl_indenter.cpp deleted file mode 100644 index 0ebbdf7899d..00000000000 --- a/TAO/TAO_IDL/util/utl_indenter.cpp +++ /dev/null @@ -1,131 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_indenter.cc - Implementation of indenter for dumping IDL AST -// - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ -UTL_Indenter::UTL_Indenter () - : pd_indent_level (0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Reset indentation level -void -UTL_Indenter::reset () -{ - pd_indent_level = 0; -} - -// Increase indentation level -void -UTL_Indenter::increase () -{ - pd_indent_level++; -} - -// Decrease indentation level -void -UTL_Indenter::decrease () -{ - if (pd_indent_level > 0) - pd_indent_level--; -} - -// Produce white space to indent to current indentation level on ostream o -void -UTL_Indenter::skip_to (ostream &o) -{ - long i; - - for (i = 0; i < pd_indent_level; i++) - o << " "; -} - -// Produce white space to indent to current indentation level on ostream o -void -UTL_Indenter::skip_to (FILE *fp) -{ - long i; - - for (i = 0; i < pd_indent_level; i++) - ACE_OS::fprintf (fp, " "); -} - -/* - * Redefined virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_labellist.cpp b/TAO/TAO_IDL/util/utl_labellist.cpp deleted file mode 100644 index a88f95d4c17..00000000000 --- a/TAO/TAO_IDL/util/utl_labellist.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_labellist.cc -// -// Implementation of a list of scoped names - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_LabelList::UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -AST_UnionLabel * -UTL_LabelList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_LabelList active iterator - -/* - * Constructor - */ - -UTL_LabellistActiveIterator::UTL_LabellistActiveIterator(UTL_LabelList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -AST_UnionLabel * -UTL_LabellistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_LabelList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_list.cpp b/TAO/TAO_IDL/util/utl_list.cpp deleted file mode 100644 index b6eb1dd16f4..00000000000 --- a/TAO/TAO_IDL/util/utl_list.cpp +++ /dev/null @@ -1,195 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_list.cc -// -// Implementation of generic single-linked lists - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_List::UTL_List(UTL_List *c) - : pd_cdr_data(c) -{ -} - -/* - * Private operations - */ - -// Compute list length -long -UTL_List::list_length(long n) -{ - if (pd_cdr_data == NULL) - return n; - else - return pd_cdr_data->list_length(n+1); -} - -/* - * Public operations - */ - -// Smash last cdr with l -void -UTL_List::nconc(UTL_List *l) -{ - if (pd_cdr_data == NULL) - pd_cdr_data = l; - else - pd_cdr_data->nconc(l); -} - -/* - * Override this operation to copy lists of other types - */ -// Copy a list -UTL_List * -UTL_List::copy() -{ - if (pd_cdr_data == NULL) - return new UTL_List(NULL); - return new UTL_List(pd_cdr_data->copy()); -} - -// Get next list -UTL_List * -UTL_List::tail() -{ - return pd_cdr_data; -} - -// Set next list -void -UTL_List::set_tail(UTL_List *l) -{ - pd_cdr_data = l; -} - -// Compute list length -long -UTL_List::length() -{ - return list_length(1); -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_List active iterator - -/* - * Constructor - */ - -UTL_ListActiveIterator::UTL_ListActiveIterator(UTL_List *s) - : source(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Is iterator done? -long -UTL_ListActiveIterator::is_done() -{ - return (source == NULL) ? I_TRUE : I_FALSE; -} - -// Advance to next item -void -UTL_ListActiveIterator::next() -{ - if (source != NULL) - source = source->tail(); -} - -/* - * Redefinition of inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_namelist.cpp b/TAO/TAO_IDL/util/utl_namelist.cpp deleted file mode 100644 index 6a7ee74819c..00000000000 --- a/TAO/TAO_IDL/util/utl_namelist.cpp +++ /dev/null @@ -1,143 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_namelist.cc -// -// Implementation of a list of scoped names - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_NameList::UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -UTL_ScopedName * -UTL_NameList::head() -{ - return pd_car_data; -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_NameList active iterator - -/* - * Constructor - */ - -UTL_NamelistActiveIterator::UTL_NamelistActiveIterator(UTL_NameList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -UTL_ScopedName * -UTL_NamelistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_NameList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_scope.cpp b/TAO/TAO_IDL/util/utl_scope.cpp deleted file mode 100644 index f9d6e21ebb5..00000000000 --- a/TAO/TAO_IDL/util/utl_scope.cpp +++ /dev/null @@ -1,1189 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * utl_scope.cc - Implementation of class UTL_Scope - */ - -#include "idl.h" -#include "idl_extern.h" - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Static functions - */ -static Identifier *_global_scope_name = NULL; -static Identifier *_global_scope_root_name = NULL; - -/* - * Determines if a name is global - */ -static long -is_global_name(Identifier *i) -{ - long comp_result = 0; - char *s; - - if (i == NULL) return comp_result; - s = i->get_string(); - - if (_global_scope_name == NULL) - _global_scope_name = new Identifier("::", 1, 0, I_FALSE); - - if (_global_scope_root_name == NULL) - _global_scope_root_name = new Identifier("", 1, 0, I_FALSE); - - comp_result = i->compare(_global_scope_name); - if (!comp_result) - comp_result = i->compare(_global_scope_root_name); - - return comp_result; -} - -/* - * Helper function for lookup_by_name. Iterates doing local lookups of - * subsequent components of a scoped name - */ -static AST_Decl * -iter_lookup_by_name_local(AST_Decl *d, UTL_ScopedName *e, - idl_bool treat_as_ref) -{ - Identifier *s; - AST_Typedef *td; - UTL_IdListActiveIterator *i; - UTL_Scope *sc; - - i = new UTL_IdListActiveIterator(e); - for (i->next(); !(i->is_done()); ) { - s = i->item(); - /* - * Update iterator before loop. This is needed for the check for - * typedef, since we only want to look at the base type if there - * actually are more components of the name to resolve. - */ - i->next(); - /* - * Next component in name was not found - */ - if (d == NULL) { - return NULL; - } - /* - * If this is a typedef and we're not done, we should get the - * base type to get the scope it defines (if any) - */ - if (!(i->is_done())) { - while (d != NULL && d->node_type() == AST_Decl::NT_typedef) { - td = AST_Typedef::narrow_from_decl(d); - if (td == NULL) - return NULL; - d = td->base_type(); - } - if (d == NULL) - return NULL; - } - /* - * Try to convert the AST_Decl to a UTL_Scope - */ - sc = DeclAsScope(d); - if (sc == NULL) - return NULL; - /* - * Look up the next element - */ - d = sc->lookup_by_name_local(s, treat_as_ref); - } - /* - * OK, done with the loop - */ - return d; -} - -/* - * Constructor(s) - */ -UTL_Scope::UTL_Scope() - : pd_scope_node_type(AST_Decl::NT_module), - pd_decls(NULL), - pd_decls_allocated(0), - pd_decls_used(0), - pd_local_types(NULL), - pd_locals_allocated(0), - pd_locals_used(0), - pd_referenced(NULL), - pd_referenced_allocated(0), - pd_referenced_used(0) -{ -} - -UTL_Scope::UTL_Scope(AST_Decl::NodeType nt) - : pd_scope_node_type(nt), - pd_decls(NULL), - pd_decls_allocated(0), - pd_decls_used(0), - pd_local_types(NULL), - pd_locals_allocated(0), - pd_locals_used(0), - pd_referenced(NULL), - pd_referenced_allocated(0), - pd_referenced_used(0) -{ -}; - -/* - * Private operations - */ - -static -AST_Decl * add_type(AST_Type *type) -{ - AST_Decl * result = 0; - UTL_Scope * scope = 0; - switch (type->node_type()) { - case AST_Decl::NT_array: - result = - idl_global->root()->add_array(AST_Array::narrow_from_decl(type)); - break; - case AST_Decl::NT_enum: - result = type->defined_in()->add_enum(AST_Enum::narrow_from_decl(type)); - scope = AST_Enum::narrow_from_decl(type); - break; - case AST_Decl::NT_sequence: - result = - idl_global->root()->add_sequence(AST_Sequence::narrow_from_decl(type)); - break; - case AST_Decl::NT_string: - result = - idl_global->root()->add_string(AST_String::narrow_from_decl(type)); - break; - case AST_Decl::NT_struct: - result = - type->defined_in()-> - add_structure(AST_Structure::narrow_from_decl(type)); - scope = AST_Structure::narrow_from_decl(type); - break; - case AST_Decl::NT_union: - result = - type->defined_in()->add_union(AST_Union::narrow_from_decl(type)); - scope = AST_Union::narrow_from_decl(type); - break; - default: - // for non-complex types, like predefined types - // no additional add needed, assume everything is ok - result = (AST_Decl *) 1; - break; - } - if (scope) - result = scope->call_add(); - return result; -} - -/* - * Protected operations - */ - -/* - * Special version of lookup which only looks at the local name instead of - * the fully scoped name, when doing lookups. This version is intended to - * be used only by the CFE add_xxx functions - */ -AST_Decl * -UTL_Scope::lookup_for_add(AST_Decl *d, idl_bool treat_as_ref) -{ - if (d == NULL) - return NULL; - return lookup_by_name_local(d->local_name(), treat_as_ref); -} - -/* - * Public operations - */ - -// Narrowing -IMPL_NARROW_METHODS0(UTL_Scope) -IMPL_NARROW_FROM_SCOPE(UTL_Scope) - -// Scope Management Protocol -// -// All members of the protocol defined in UTL_Scope simply return the node -// and don't do a thing. These members are simply dummies to retain -// compatibility with pre-two-pass compiler back-ends. - -AST_PredefinedType *UTL_Scope::add_predefined_type(AST_PredefinedType *p) -{ - if (p == NULL) return NULL; - p->set_added(I_TRUE); - return p; -} - -AST_Module *UTL_Scope::add_module(AST_Module *m) -{ - if (m == NULL) return NULL; - m->set_added(I_TRUE); - return m; -} - -AST_Interface *UTL_Scope::add_interface(AST_Interface *i) -{ - if (i == NULL) return NULL; - i->set_added(I_TRUE); - return i; -} - -AST_InterfaceFwd *UTL_Scope::add_interface_fwd(AST_InterfaceFwd *i) -{ - if (i == NULL) return NULL; - i->set_added(I_TRUE); - return i; -} - -AST_Exception *UTL_Scope::add_exception(AST_Exception *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_Constant *UTL_Scope::add_constant(AST_Constant *c) -{ - if (c == NULL) return NULL; - c->set_added(I_TRUE); - return c; -} - -UTL_StrList *UTL_Scope::add_context(UTL_StrList *c) -{ - return c; -} - -UTL_NameList *UTL_Scope::add_exceptions(UTL_NameList *e) -{ - return e; -} - -AST_Attribute *UTL_Scope::add_attribute(AST_Attribute *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->field_type()->added()) { - return add_type(a->field_type()) ? a : 0 ; - } else - return a; -} - -AST_Operation *UTL_Scope::add_operation(AST_Operation *o) -{ - if (o == NULL) return NULL; - o->set_added(I_TRUE); - if (!o->return_type()->added()) { - return add_type(o->return_type()) ? o : 0 ; - } else - return o; -} - -AST_Argument *UTL_Scope::add_argument(AST_Argument *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->field_type()->added()) { - return add_type(a->field_type()) ? a : 0 ; - } else - return a; -} - -AST_Union *UTL_Scope::add_union(AST_Union *u) -{ - if (u == NULL) return NULL; - u->set_added(I_TRUE); - return u; -} - -AST_UnionBranch *UTL_Scope::add_union_branch(AST_UnionBranch *u) -{ - if (u == NULL) return NULL; - u->set_added(I_TRUE); - if (!u->field_type()->added()) { - return add_type(u->field_type()) ? u : 0 ; - } else - return u; -} - -AST_Structure *UTL_Scope::add_structure(AST_Structure *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - return s; -} - -AST_Field *UTL_Scope::add_field(AST_Field *f) -{ - if (f == NULL) return NULL; - f->set_added(I_TRUE); - if (!f->field_type()->added()) { - return add_type(f->field_type()) ? f : 0 ; - } else - return f; -} - -AST_Enum *UTL_Scope::add_enum(AST_Enum *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_EnumVal *UTL_Scope::add_enum_val(AST_EnumVal *e) -{ - if (e == NULL) return NULL; - e->set_added(I_TRUE); - return e; -} - -AST_Typedef *UTL_Scope::add_typedef(AST_Typedef *t) -{ - if (t == NULL) return NULL; - t->set_added(I_TRUE); - if (!t->base_type()->added()) { - return add_type(t->base_type()) ? t : 0 ; - } else - return t; -} - -AST_Sequence *UTL_Scope::add_sequence(AST_Sequence *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - if (!s->base_type()->added()) { - return add_type(s->base_type()) ? s : 0 ; - } else - return s; -} - -AST_String *UTL_Scope::add_string(AST_String *s) -{ - if (s == NULL) return NULL; - s->set_added(I_TRUE); - return s; -} - -AST_Array *UTL_Scope::add_array(AST_Array *a) -{ - if (a == NULL) return NULL; - a->set_added(I_TRUE); - if (!a->base_type()->added()) { - return add_type(a->base_type()) ? a : 0 ; - } else - return a; -} - -// Protected Front End Scope Management Protocol -// -// All members of the protocol defined in UTL_Scope simply return NULL -// and don't do a thing. This ensures that runtime errors will discover -// operations which should have been redefined to allow certain kinds of -// AST nodes to appear in a given context - -AST_PredefinedType *UTL_Scope::fe_add_predefined_type(AST_PredefinedType *) -{ - return NULL; -} - -AST_Module *UTL_Scope::fe_add_module(AST_Module *) -{ - return NULL; -} - -AST_Interface *UTL_Scope::fe_add_interface(AST_Interface *) -{ - return NULL; -} - -AST_InterfaceFwd *UTL_Scope::fe_add_interface_fwd(AST_InterfaceFwd *) -{ - return NULL; -} - -AST_Exception *UTL_Scope::fe_add_exception(AST_Exception *) -{ - return NULL; -} - -AST_Constant *UTL_Scope::fe_add_constant(AST_Constant *) -{ - return NULL; -} - -UTL_StrList *UTL_Scope::fe_add_context(UTL_StrList *) -{ - return NULL; -} - -UTL_NameList *UTL_Scope::fe_add_exceptions(UTL_NameList *) -{ - return NULL; -} - -AST_Attribute *UTL_Scope::fe_add_attribute(AST_Attribute *) -{ - return NULL; -} - -AST_Operation *UTL_Scope::fe_add_operation(AST_Operation *) -{ - return NULL; -} - -AST_Argument *UTL_Scope::fe_add_argument(AST_Argument *) -{ - return NULL; -} - -AST_Union *UTL_Scope::fe_add_union(AST_Union *) -{ - return NULL; -} - -AST_UnionBranch *UTL_Scope::fe_add_union_branch(AST_UnionBranch *) -{ - return NULL; -} - -AST_Structure *UTL_Scope::fe_add_structure(AST_Structure *) -{ - return NULL; -} - -AST_Field *UTL_Scope::fe_add_field(AST_Field *) -{ - return NULL; -} - -AST_Enum *UTL_Scope::fe_add_enum(AST_Enum *) -{ - return NULL; -} - -AST_EnumVal *UTL_Scope::fe_add_enum_val(AST_EnumVal *) -{ - return NULL; -} - -AST_Typedef *UTL_Scope::fe_add_typedef(AST_Typedef *) -{ - return NULL; -} - -AST_Sequence *UTL_Scope::fe_add_sequence(AST_Sequence *) -{ - return NULL; -} - -AST_String *UTL_Scope::fe_add_string(AST_String *) -{ - return NULL; -} - -AST_Array *UTL_Scope::fe_add_array(AST_Array *) -{ - return NULL; -} - -// This is the second pass of the front end -// It calls the public add protocol on everything in scope. -// It calls the add_xx functions of the most derived AST_Node. - -AST_Decl *UTL_Scope::call_add() -{ - AST_Decl *result = NULL; - AST_Decl *decl; - - UTL_ScopeActiveIterator *i; - UTL_Scope *scope; - - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - while(!(i->is_done())) { - decl = i->item(); - scope = 0; - switch (decl->node_type()) { - case AST_Decl::NT_argument: - result = add_argument(AST_Argument::narrow_from_decl(decl)); - break; - case AST_Decl::NT_array: - result = add_array(AST_Array::narrow_from_decl(decl)); - break; - case AST_Decl::NT_attr: - result = add_attribute(AST_Attribute::narrow_from_decl(decl)); - break; - case AST_Decl::NT_const: - result = add_constant(AST_Constant::narrow_from_decl(decl)); - break; - case AST_Decl::NT_enum: - scope = AST_Enum::narrow_from_decl(decl); - result = add_enum(AST_Enum::narrow_from_decl(decl)); - break; - case AST_Decl::NT_enum_val: - result = add_enum_val(AST_EnumVal::narrow_from_decl(decl)); - break; - case AST_Decl::NT_except: - scope = AST_Exception::narrow_from_decl(decl); - result = add_exception(AST_Exception::narrow_from_decl(decl)); - break; - case AST_Decl::NT_field: - result = add_field(AST_Field::narrow_from_decl(decl)); - break; - case AST_Decl::NT_interface: - scope = AST_Interface::narrow_from_decl(decl); - result = add_interface(AST_Interface::narrow_from_decl(decl)); - break; - case AST_Decl::NT_interface_fwd: - result = add_interface_fwd(AST_InterfaceFwd::narrow_from_decl(decl)); - break; - case AST_Decl::NT_module: - scope = AST_Module::narrow_from_decl(decl); - result = add_module(AST_Module::narrow_from_decl(decl)); - break; - case AST_Decl::NT_op: - result = add_operation(AST_Operation::narrow_from_decl(decl)); - scope = AST_Operation::narrow_from_decl(decl); - break; - case AST_Decl::NT_pre_defined: - result = - add_predefined_type(AST_PredefinedType::narrow_from_decl(decl)); - break; - case AST_Decl::NT_sequence: - result = add_sequence(AST_Sequence::narrow_from_decl(decl)); - break; - case AST_Decl::NT_string: - result = add_string(AST_String::narrow_from_decl(decl)); - break; - case AST_Decl::NT_struct: - result = add_structure(AST_Structure::narrow_from_decl(decl)); - scope = AST_Structure::narrow_from_decl(decl); - break; - case AST_Decl::NT_typedef: - result = add_typedef(AST_Typedef::narrow_from_decl(decl)); - break; - case AST_Decl::NT_union: - result = add_union(AST_Union::narrow_from_decl(decl)); - scope = AST_Union::narrow_from_decl(decl); - break; - case AST_Decl::NT_union_branch: - result = add_union_branch(AST_UnionBranch::narrow_from_decl(decl)); - break; - default: - return NULL; - } - if (scope) - scope->call_add(); - i->next(); - } - return result; -} - -// Private lookup mechanism - -/* - * Lookup the node for a primitive (built in) type - */ -AST_Decl * -UTL_Scope::lookup_primitive_type(AST_Expression::ExprType et) -{ - AST_Decl *as_decl; - UTL_Scope *ancestor; - AST_PredefinedType *t; - UTL_ScopeActiveIterator *i; - AST_PredefinedType::PredefinedType pdt; - - as_decl = ScopeAsDecl(this); - if (as_decl == NULL) - return NULL; - ancestor = as_decl->defined_in(); - if (ancestor != NULL) - return ancestor->lookup_primitive_type(et); - - switch (et) { - case AST_Expression::EV_short: - pdt = AST_PredefinedType::PT_short; - break; - case AST_Expression::EV_ushort: - pdt = AST_PredefinedType::PT_ushort; - break; - case AST_Expression::EV_long: - pdt = AST_PredefinedType::PT_long; - break; - case AST_Expression::EV_ulong: - pdt = AST_PredefinedType::PT_ulong; - break; - case AST_Expression::EV_longlong: - pdt = AST_PredefinedType::PT_longlong; - break; - case AST_Expression::EV_ulonglong: - pdt = AST_PredefinedType::PT_ulonglong; - break; - case AST_Expression::EV_float: - pdt = AST_PredefinedType::PT_float; - break; - case AST_Expression::EV_double: - pdt = AST_PredefinedType::PT_double; - break; - case AST_Expression::EV_longdouble: - pdt = AST_PredefinedType::PT_longdouble; - break; - case AST_Expression::EV_char: - pdt = AST_PredefinedType::PT_char; - break; - case AST_Expression::EV_wchar: - pdt = AST_PredefinedType::PT_wchar; - break; - case AST_Expression::EV_octet: - pdt = AST_PredefinedType::PT_octet; - break; - case AST_Expression::EV_bool: - pdt = AST_PredefinedType::PT_boolean; - break; - case AST_Expression::EV_any: - pdt = AST_PredefinedType::PT_any; - break; - case AST_Expression::EV_void: - pdt = AST_PredefinedType::PT_void; - break; - case AST_Expression::EV_string: - case AST_Expression::EV_wstring: - case AST_Expression::EV_none: - default: - return NULL; - } - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - while (!(i->is_done())) { - as_decl = i->item(); - if (as_decl->node_type() == AST_Decl::NT_pre_defined) { - t = AST_PredefinedType::narrow_from_decl(as_decl); - if (t == NULL) { - i->next(); - continue; - } - if (t->pt() == pdt) { - delete i; - return t; - } - } - i->next(); - } - delete i; - return NULL; -} - -/* - * Look through inherited interfaces - */ -AST_Decl * -UTL_Scope::look_in_inherited(UTL_ScopedName *e, idl_bool treat_as_ref) -{ - AST_Decl *d = NULL; - AST_Interface *i = AST_Interface::narrow_from_scope(this); - AST_Interface **is; - long nis; - - /* - * This scope is not an interface.. - */ - if (i == NULL) - return NULL; - /* - * Can't look in an interface which was not yet defined - */ - if (!i->is_defined()) { - idl_global->err()->fwd_decl_lookup(i, e); - return NULL; - } - /* - * OK, loop through inherited interfaces. Stop when you find it - */ - for (nis = i->n_inherits(), is = i->inherits(); nis > 0; nis--, is++) { - d = (*is)->lookup_by_name(e, treat_as_ref); - if (d != NULL) - return d; - } - /* - * Not found - */ - return NULL; -} - -/* - * Look up a String * in local scope only - */ -AST_Decl * -UTL_Scope::lookup_by_name_local(Identifier *e, idl_bool) -{ - UTL_ScopeActiveIterator *i = new UTL_ScopeActiveIterator(this, - UTL_Scope::IK_both); - AST_Decl *d; - AST_InterfaceFwd *fwd; - - /* - * Iterate over this scope - */ - while (!(i->is_done())) { - d = i->item(); - if (d->local_name() != NULL && d->local_name()->compare(e)) { - delete i; - /* - * Special case for forward declared interfaces. Look through the - * forward declaration and retrieve the full definition - */ - if (d->node_type() == AST_Decl::NT_interface_fwd) { - fwd = AST_InterfaceFwd::narrow_from_decl(d); - if (fwd == NULL) - d = NULL; - else - d = fwd->full_definition(); - } - return d; - } - i->next(); - } - /* - * OK, not found, return NULL - */ - return NULL; -} - -/* - * Implements lookup by name for scoped names - */ -AST_Decl * -UTL_Scope::lookup_by_name(UTL_ScopedName *e, idl_bool treat_as_ref) -{ - AST_Decl *d; - UTL_Scope *t = NULL; - - /* - * Empty name? error - */ - if (e == NULL) { - return NULL; - } - /* - * If name starts with "::" or "" start look up in global scope - */ - if (is_global_name(e->head())) { - /* - * Get parent scope - */ - d = ScopeAsDecl(this); - if (d == NULL) - return NULL; - t = d->defined_in(); - /* - * If this is the global scope.. - */ - if (t == NULL) { - /* - * Look up tail of name starting here - */ - d = lookup_by_name((UTL_ScopedName *) e->tail(), treat_as_ref); - /* - * Now return whatever we have - */ - return d; - } - /* - * OK, not global scope yet, so simply iterate with parent scope - */ - d = t->lookup_by_name(e, treat_as_ref); - /* - * If treat_as_ref is true and d is not NULL, add d to - * set of nodes referenced here - */ - if (treat_as_ref && d != NULL) - add_to_referenced(d, I_FALSE); - /* - * Now return what we have - */ - return d; - } - /* - * The name does not start with "::" - * - * Is name defined here? - */ - d = lookup_by_name_local(e->head(), treat_as_ref); - if (d == NULL) { - /* - * OK, not found. Go down parent scope chain. - */ - d = ScopeAsDecl(this); - if (d != NULL) { - t = d->defined_in(); - if (t == NULL) - d = NULL; - else - d = t->lookup_by_name(e, treat_as_ref); - } - /* - * Special case for scope which is an interface. We have to look - * in the inherited interfaces as well.. - */ - if (d == NULL) { - if (pd_scope_node_type == AST_Decl::NT_interface) - d = look_in_inherited(e, treat_as_ref); - } - /* - * If treat_as_ref is true and d is not NULL, add d to - * set of nodes referenced here - */ - if (treat_as_ref && d != NULL) - add_to_referenced(d, I_FALSE); - /* - * OK, now return whatever we found - */ - return d; - } - /* - * OK, start of name is defined. Now loop doing local lookups - * of subsequent elements of the name - */ - d = iter_lookup_by_name_local(d, e, treat_as_ref); - /* - * If treat_as_ref is true and d is not NULL, add d to set - * of nodes referenced here. - */ - if (treat_as_ref && d != NULL) - add_to_referenced(d, I_FALSE); - /* - * All OK, name fully resolved - */ - return d; -} - -// Add a node to set of nodes referenced in this scope -void -UTL_Scope::add_to_referenced(AST_Decl *e, idl_bool recursive) -{ - UTL_Scope *s; - AST_Decl **tmp; - AST_Interface *itf; - long oreferenced_allocated; - long i; - - if (e == NULL) return; - - // Special case for forward declared interfaces in the - // scope in which they're defined. Cannot add before full - // definition is seen - if (e->node_type() == AST_Decl::NT_interface) { - itf = AST_Interface::narrow_from_decl(e); - if (itf != NULL && itf->defined_in() == this && !itf->is_defined()) - return; - } - // Only insert if it is not there already - if (referenced(e)) - return; - - // Make sure there's space for one more - if (pd_referenced_allocated == pd_referenced_used) { - - oreferenced_allocated = pd_referenced_allocated; - pd_referenced_allocated += INCREMENT; - tmp = new AST_Decl *[pd_referenced_allocated]; - - for (i = 0; i < oreferenced_allocated; i++) - tmp[i] = pd_referenced[i]; - - delete []pd_referenced; - - pd_referenced = tmp; - } - - // Insert new reference - pd_referenced[pd_referenced_used++] = e; - - // Now, if recursive is specified and "this" is not a common ancestor - // of the referencing scope and the scope of definition of "e" then - // add "e" to the set of referenced nodes in the parent of "this" - if (recursive && !(e->has_ancestor(ScopeAsDecl(this)))) { - s = e->defined_in(); - if (s != NULL) - s->add_to_referenced(e, recursive); - } -} - -// Add a node to set of nodes declared in this scope -void -UTL_Scope::add_to_scope(AST_Decl *e) -{ - AST_Decl **tmp; - long odecls_allocated; - long i; - - if (e == NULL) return; - - // Make sure there's space for one more - if (pd_decls_allocated == pd_decls_used) { - - odecls_allocated = pd_decls_allocated; - pd_decls_allocated += INCREMENT; - tmp = new AST_Decl *[pd_decls_allocated]; - - for (i = 0; i < odecls_allocated; i++) - tmp[i] = pd_decls[i]; - - delete []pd_decls; - - pd_decls = tmp; - } - - // Insert new decl - pd_decls[pd_decls_used++] = e; -} - -// Add a node to set of nodes representing manifest types defined in this scope -void -UTL_Scope::add_to_local_types(AST_Decl *e) -{ - AST_Decl **tmp; - long olocals_allocated; - long i; - - if (e == NULL) return; - - // Make sure there's space for one more - if (pd_locals_allocated == pd_locals_used) { - - olocals_allocated = pd_locals_allocated; - pd_locals_allocated += INCREMENT; - tmp = new AST_Decl *[pd_locals_allocated]; - - for (i = 0; i < olocals_allocated; i++) - tmp[i] = pd_local_types[i]; - - delete []pd_local_types; - - pd_local_types = tmp; - } - - // Insert new decl - pd_local_types[pd_locals_used++] = e; -} - -// Has this node been referenced here before? -idl_bool -UTL_Scope::referenced(AST_Decl *e) -{ - long i = pd_referenced_used; - AST_Decl **tmp = pd_referenced; - - for (; i > 0; i--, tmp++) - if (*tmp == e) // Same node? - return I_TRUE; - - return I_FALSE; // Not found -} - -/* - * Redefinition of inherited virtual operations - */ - -// AST Dumping -void -UTL_Scope::dump(ostream &o) -{ - UTL_ScopeActiveIterator *i; - AST_Decl *d; - - if (idl_global->indent() == NULL) - idl_global->set_indent(new UTL_Indenter()); - - idl_global->indent()->increase(); - - if (pd_locals_used > 0) { - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_localtypes); - - o << GTDEVEL("\n/* Locally defined types: */\n"); - while (!(i->is_done())) { - d = i->item(); - if (!d->imported()) { - idl_global->indent()->skip_to(o); - d->dump(o); - o << "\n"; - } - i->next(); - } - delete i; - } - - if (pd_decls_used > 0) { - i = new UTL_ScopeActiveIterator(this, UTL_Scope::IK_decls); - - o << GTDEVEL("\n/* Declarations: */\n"); - while (!(i->is_done())) { - d = i->item(); - if (!d->imported()) { - idl_global->indent()->skip_to(o); - d->dump(o); - o << ";\n"; - } - i->next(); - } - delete i; - } - - idl_global->indent()->decrease(); -} - -// How many entries are defined? -unsigned long -UTL_Scope::nmembers() -{ - return pd_decls_used; -} - -// UTL_SCOPE_ACTIVE_ITERATOR - -/* - * Constructor - */ - -UTL_ScopeActiveIterator::UTL_ScopeActiveIterator( - UTL_Scope *s, - UTL_Scope::ScopeIterationKind i) - : iter_source(s), - ik(i), - stage(i == UTL_Scope::IK_both - ? UTL_Scope::IK_decls - : i), - il(0) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Advance to next iterm -void -UTL_ScopeActiveIterator::next() -{ - il++; -} - -// Get current item -AST_Decl * -UTL_ScopeActiveIterator::item() -{ - if (is_done()) - return NULL; - if (stage == UTL_Scope::IK_decls) - return iter_source->pd_decls[il]; - if (stage == UTL_Scope::IK_localtypes) - return iter_source->pd_local_types[il]; - - return NULL; -} - -// Is this iteration done? -idl_bool -UTL_ScopeActiveIterator::is_done() -{ - long limit; - - limit = (stage == UTL_Scope::IK_decls) - ? iter_source->pd_decls_used - : iter_source->pd_locals_used; - - for (;;) { - if (il < limit) // Last element? - return I_FALSE; - if (stage == UTL_Scope::IK_localtypes) // Already done local types? - return I_TRUE; - if (ik == UTL_Scope::IK_decls) // Only want decls? - return I_TRUE; - - // Switch to next stage - stage = UTL_Scope::IK_localtypes; - il = 0; - limit = iter_source->pd_locals_used; - } -} - -// What kind of iterator is this? -UTL_Scope::ScopeIterationKind -UTL_ScopeActiveIterator::iteration_kind() -{ - return ik; -} - -// And where are we in the iteration? -UTL_Scope::ScopeIterationKind -UTL_ScopeActiveIterator::iteration_stage() -{ - return stage; -} diff --git a/TAO/TAO_IDL/util/utl_stack.cpp b/TAO/TAO_IDL/util/utl_stack.cpp deleted file mode 100644 index 5c6ef85cbd2..00000000000 --- a/TAO/TAO_IDL/util/utl_stack.cpp +++ /dev/null @@ -1,255 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -/* - * utl_stack.cc - Implementation of class UTL_ScopeStack - */ - -#include "idl.h" -#include "idl_extern.h" - -// Class UTL_ScopeStack - -#undef INCREMENT -#define INCREMENT 64 - -/* - * Constructor(s) and destructor - */ - -UTL_ScopeStack::UTL_ScopeStack() - : pd_stack_data(new UTL_Scope *[INCREMENT]), - pd_stack_data_nalloced(INCREMENT), - pd_stack_top(0) -{ -} - -UTL_ScopeStack::~UTL_ScopeStack() -{ - if (pd_stack_data != NULL) - delete pd_stack_data; -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Push an element on the stack -UTL_ScopeStack * -UTL_ScopeStack::push(UTL_Scope *el) -{ - UTL_Scope **tmp; - AST_Decl *d = ScopeAsDecl(el); - long ostack_data_nalloced; - long i; - - // Macro to avoid "warning: unused parameter" type warning. - ACE_UNUSED_ARG (d); - - // Make sure there's space for one more - if (pd_stack_data_nalloced == pd_stack_top) { - ostack_data_nalloced = pd_stack_data_nalloced; - pd_stack_data_nalloced += INCREMENT; - tmp = new UTL_Scope *[pd_stack_data_nalloced]; - - for (i = 0; i < ostack_data_nalloced; i++) - tmp[i] = pd_stack_data[i]; - - delete []pd_stack_data; - pd_stack_data = tmp; - } - - // Insert new scope - pd_stack_data[pd_stack_top++] = el; - - return this; -} - -// Pop an element from the stack -void -UTL_ScopeStack::pop() -{ - UTL_Scope *s; - - if (pd_stack_top <= 0) - return; - s = pd_stack_data[--pd_stack_top]; -} - -// Return top element on stack -UTL_Scope * -UTL_ScopeStack::top() -{ - if (pd_stack_top <= 0) - return NULL; - return pd_stack_data[pd_stack_top - 1]; -} - -// Return bottom element on stack -UTL_Scope * -UTL_ScopeStack::bottom() -{ - if (pd_stack_top == 0) - return NULL; - return pd_stack_data[0]; -} - -// Clear entire stack -void -UTL_ScopeStack::clear() -{ - pd_stack_top = 0; -} - -// How deep is the stack? -unsigned long -UTL_ScopeStack::depth() -{ - return pd_stack_top; -} - -// Return (top - 1) element on stack -UTL_Scope * -UTL_ScopeStack::next_to_top() -{ - UTL_Scope *tmp, *retval; - - if (depth() < 2) - return NULL; - - tmp = top(); // Save top - (void) pop(); // Pop it - retval = top(); // Get next one down - (void) push(tmp); // Push top back - return retval; // Return next one down -} - -// Return topmost non-NULL element -UTL_Scope * -UTL_ScopeStack::top_non_null() -{ - long i; - - for (i = pd_stack_top - 1; i >= 0; i--) - if (pd_stack_data[i] != NULL) - return pd_stack_data[i]; - return NULL; -} - -/* - * Redefinition of inherited virtual operations - */ - -// Class UTL_ScopeStackActiveIterator - -/* - * Constructor(s) - */ - -UTL_ScopeStackActiveIterator::UTL_ScopeStackActiveIterator(UTL_ScopeStack *s) - : source(s), - il(s->pd_stack_top - 1) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Advance to next item -void -UTL_ScopeStackActiveIterator::next() -{ - il--; -} - -// Get current item -UTL_Scope * -UTL_ScopeStackActiveIterator::item() -{ - if (il >= 0) - return source->pd_stack_data[il]; - return NULL; -} - -// Is this iteration done? -long -UTL_ScopeStackActiveIterator::is_done() -{ - if (il >= 0) - return I_FALSE; - return I_TRUE; -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_string.cpp b/TAO/TAO_IDL/util/utl_string.cpp deleted file mode 100644 index 10cc46830a7..00000000000 --- a/TAO/TAO_IDL/util/utl_string.cpp +++ /dev/null @@ -1,210 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_string.cc - Implementation of quick and dirty TEMPORARY String -// for IDL compiler - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructors - */ - -UTL_String::UTL_String (void) - : p_str (NULL), - len (0), - alloced (0) -{ -} - -UTL_String::UTL_String (char *str) -{ - if (str == NULL) - { - len = alloced = 0; - p_str = c_str = NULL; - } - else - { - len = ACE_OS::strlen (str); - alloced = len + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - ACE_OS::strcpy (p_str, str); - canonicalize (); - } -} - -UTL_String::UTL_String (unsigned long maxlen) -{ - len = maxlen; - alloced = maxlen + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - p_str[0] = '\0'; - c_str[0] = '\0'; -} - -UTL_String::UTL_String (UTL_String *s) -{ - char *b; - - if (s == NULL) - { - p_str = c_str = NULL; - alloced = len = 0; - } - else - { - b = s->get_string (); - if (b == NULL) - { - p_str = c_str = NULL; - alloced = len = 0; - } - else - { - len = ACE_OS::strlen (b); - alloced = len + 1; - p_str = new char [alloced]; - c_str = new char [alloced]; - ACE_OS::strcpy (p_str, b); - canonicalize (); - } - } -} - -/* - * Private operations - */ - -// Compute a canonical form for this string. This is (implemented as) -// a corresponding string with all upper case characters where the -// original has lower case characters, identical characters otherwise. -void -UTL_String::canonicalize (void) -{ - unsigned long i; - - for (i = 0; i < len; i++) - c_str[i] = isalpha (p_str[i]) ? toupper (p_str[i]) : p_str[i]; - - c_str[i] = '\0'; -} - -/* - * Public operations - */ - -// Compare two String * -long -UTL_String::compare (UTL_String *s) -{ - char *s_c_str; - long result; - - if (c_str == NULL || s == NULL || (s_c_str = s->get_canonical_rep ()) == NULL) - result = I_FALSE; - else - result = (ACE_OS::strcmp (c_str, s_c_str) == 0) ? I_TRUE : I_FALSE; - - /* - * Check that the names are typed consistently - */ - if (result == I_TRUE && ACE_OS::strcmp (p_str, s->get_string ()) != 0) - idl_global->err ()->name_case_error (p_str, s->get_string ()); - - return result; -} - -// Get the char * from a String -char * -UTL_String::get_string (void) -{ - return p_str; -} - -// Get the canonical representation from a String -char * -UTL_String::get_canonical_rep (void) -{ - if (c_str == NULL) - { - c_str = new char [alloced]; - canonicalize (); - } - return c_str; -} - -/* - * Redefined virtual operations - */ - -// AST Dumping -void -UTL_String::dump (ostream &o) -{ - o << p_str; -} diff --git a/TAO/TAO_IDL/util/utl_strlist.cpp b/TAO/TAO_IDL/util/utl_strlist.cpp deleted file mode 100644 index 3ca63c59490..00000000000 --- a/TAO/TAO_IDL/util/utl_strlist.cpp +++ /dev/null @@ -1,194 +0,0 @@ -/* - -COPYRIGHT - -Copyright 1992, 1993, 1994 Sun Microsystems, Inc. Printed in the United -States of America. All Rights Reserved. - -This product is protected by copyright and distributed under the following -license restricting its use. - -The Interface Definition Language Compiler Front End (CFE) is made -available for your use provided that you include this license and copyright -notice on all media and documentation and the software program in which -this product is incorporated in whole or part. You may copy and extend -functionality (but may not remove functionality) of the Interface -Definition Language CFE without charge, but you are not authorized to -license or distribute it to anyone else except as part of a product or -program developed by you or with the express written consent of Sun -Microsystems, Inc. ("Sun"). - -The names of Sun Microsystems, Inc. and any of its subsidiaries or -affiliates may not be used in advertising or publicity pertaining to -distribution of Interface Definition Language CFE as permitted herein. - -This license is effective until terminated by Sun for failure to comply -with this license. Upon termination, you shall destroy or return all code -and documentation for the Interface Definition Language CFE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES OF -ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS -FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A COURSE OF -DEALING, USAGE OR TRADE PRACTICE. - -INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED WITH NO SUPPORT AND WITHOUT -ANY OBLIGATION ON THE PART OF Sun OR ANY OF ITS SUBSIDIARIES OR AFFILIATES -TO ASSIST IN ITS USE, CORRECTION, MODIFICATION OR ENHANCEMENT. - -SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL HAVE NO LIABILITY WITH -RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY -INTERFACE DEFINITION LANGUAGE CFE OR ANY PART THEREOF. - -IN NO EVENT WILL SUN OR ANY OF ITS SUBSIDIARIES OR AFFILIATES BE LIABLE FOR -ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, INDIRECT AND CONSEQUENTIAL -DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -Use, duplication, or disclosure by the government is subject to -restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in -Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR -52.227-19. - -Sun, Sun Microsystems and the Sun logo are trademarks or registered -trademarks of Sun Microsystems, Inc. - -SunSoft, Inc. -2550 Garcia Avenue -Mountain View, California 94043 - -NOTE: - -SunOS, SunSoft, Sun, Solaris, Sun Microsystems or the Sun logo are -trademarks or registered trademarks of Sun Microsystems, Inc. - - */ - -// utl_strlist.cc -// -// Implementation of a list of utl_string nodes - -// NOTE: This list class only works correctly because we use single public -// inheritance, as opposed to multiple inheritance or public virtual. -// It relies on a type-unsafe cast from UTL_List to subclasses, which -// will cease to operate correctly if you use either multiple or -// public virtual inheritance. -// -// For portability reasons we have decided to provide both this and -// an implementation of the list classes in terms of templates. If -// your compiler supports templates, please use the files in the -// include/utl_tmpl and util/utl_tmpl directories instead of the -// files by the same names in the include and util directories. - -#include "idl.h" -#include "idl_extern.h" - -/* - * Constructor(s) - */ - -UTL_StrList::UTL_StrList(String *s, UTL_StrList *cdr) - : pd_car_data(s), - UTL_List(cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get list item -String * -UTL_StrList::head() -{ - return pd_car_data; -} - -// Set list item -void -UTL_StrList::set_head(String *s) -{ - pd_car_data = s; -} - -// Get last item of this list -String * -UTL_StrList::last_component() -{ - if (tail() == NULL) - return pd_car_data; - return ((UTL_StrList *) tail())->last_component(); -} - -// Copy a list -UTL_List * -UTL_StrList::copy() -{ - if (tail() == NULL) - return new UTL_StrList(head(), NULL); - return new UTL_StrList(head(), (UTL_StrList *) tail()->copy()); -} - -// AST Dumping -void -UTL_StrList::dump(ostream &o) -{ - char *s; - UTL_StrlistActiveIterator *i = new UTL_StrlistActiveIterator(this); - idl_bool first = I_TRUE; - idl_bool second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - s = i->item()->get_string(); - o << s; - if (first) { - if (strcmp(s, "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_StrList active iterator - -/* - * Constructor - */ - -UTL_StrlistActiveIterator::UTL_StrlistActiveIterator(UTL_StrList *s) - : UTL_ListActiveIterator(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get current item -String * -UTL_StrlistActiveIterator::item() -{ - if (source == NULL) - return NULL; - return ((UTL_StrList *) source)->head(); -} - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp deleted file mode 100644 index 2652f24a7c7..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_decllist.cpp +++ /dev/null @@ -1,103 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_decllist.cc -// -// Implementation of a list of declarators - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_DeclList::UTL_DeclList(FE_Declarator *s, UTL_DeclList *cdr) - : UTL_List<UTL_DeclList, FE_Declarator>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_DeclList active iterator - -/* - * Constructor - */ - -UTL_DecllistActiveIterator::UTL_DecllistActiveIterator(UTL_DeclList *s) - : UTL_ListActiveIterator<UTL_DeclList, FE_Declarator>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefined inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp deleted file mode 100644 index 323c316756a..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_exceptlist.cc -// -// Implementation of a list of exceptions - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_ExceptList::UTL_ExceptList(AST_Exception *s, UTL_ExceptList *cdr) - : UTL_List<UTL_ExceptList, AST_Exception>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExceptList active iterator - -/* - * Constructor - */ - -UTL_ExceptlistActiveIterator::UTL_ExceptlistActiveIterator(UTL_ExceptList *s) - : UTL_ListActiveIterator<UTL_ExceptList, AST_Exception>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp deleted file mode 100644 index 333f2506774..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_exprlist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_exprlist.cc -// -// Implementation of a list of strings - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_ExprList::UTL_ExprList(AST_Expression *s, UTL_ExprList *cdr) - : UTL_List<UTL_ExprList, AST_Expression>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_ExprList active iterator - -/* - * Constructor - */ - -UTL_ExprlistActiveIterator::UTL_ExprlistActiveIterator(UTL_ExprList *s) - : UTL_ListActiveIterator<UTL_ExprList, AST_Expression>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp deleted file mode 100644 index e4f0b0a8291..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_idlist.cpp +++ /dev/null @@ -1,135 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_idlist.cc -// -// Implementation of a list of utl_string nodes - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_IdList::UTL_IdList(Identifier *s, UTL_IdList *cdr) - : UTL_List<UTL_IdList, Identifier>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get last item of this list -Identifier * -UTL_IdList::last_component() -{ - if (tail() == NULL) - return head(); - return tail()->last_component(); -} - -// AST Dumping -void -UTL_IdList::dump(ostream &o) -{ - UTL_IdListActiveIterator *i = new UTL_IdListActiveIterator(this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - i->item()->dump(o); - if (first) { - if (strcmp(i->item()->get_string(), "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_IdList active iterator - -/* - * Constructor - */ - -UTL_IdListActiveIterator::UTL_IdListActiveIterator(UTL_IdList *s) - : UTL_ListActiveIterator<UTL_IdList, Identifier>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp deleted file mode 100644 index 9d285e036f5..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_labellist.cpp +++ /dev/null @@ -1,102 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_labellist.cc -// -// Implementation of a list of scoped names - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_LabelList::UTL_LabelList(AST_UnionLabel *s, UTL_LabelList *cdr) - : UTL_List<UTL_LabelList, AST_UnionLabel>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_LabelList active iterator - -/* - * Constructor - */ - -UTL_LabellistActiveIterator::UTL_LabellistActiveIterator(UTL_LabelList *s) - : UTL_ListActiveIterator<UTL_LabelList, AST_UnionLabel>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp deleted file mode 100644 index 61effde260e..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_list.cpp +++ /dev/null @@ -1,209 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_list.cc -// -// Implementation of generic single-linked lists - -#include <stddef.h> -#include <utl_list.hh> -#include <idl_bool.hh> - -/* - * Constructor(s) - */ - -template<class L, class T> -UTL_List<L, T>::UTL_List(T *c, L *l) - : pd_car_data(c), - pd_cdr_data(l) -{ -} - -/* - * Private operations - */ - -// Compute list length -template<class L, class T> -long -UTL_List<L, T>::list_length(long n) -{ - if (pd_cdr_data == NULL) - return n; - else - return pd_cdr_data->list_length(n+1); -} - -/* - * Public operations - */ - -// Smash last cdr with l -template<class L, class T> -void -UTL_List<L, T>::nconc(L *l) -{ - if (pd_cdr_data == NULL) - pd_cdr_data = l; - else - pd_cdr_data->nconc(l); -} - -/* - * Override this operation to copy lists of other types - */ -// Copy a list -template<class L, class T> -L * -UTL_List<L, T>::copy() -{ - if (pd_cdr_data == NULL) - return new L(head(), NULL); - return new L(head(), pd_cdr_data->copy()); -} - -// Get list item -template<class L, class T> -T * -UTL_List<L, T>::head() -{ - return pd_car_data; -} - -// Get next list -template<class L, class T> -L * -UTL_List<L, T>::tail() -{ - return pd_cdr_data; -} - -// Set list item -template<class L, class T> -void -UTL_List<L, T>::set_head(T *s) -{ - pd_car_data = s; -} - -// Set next list -template<class L, class T> -void -UTL_List<L, T>::set_tail(L *l) -{ - pd_cdr_data = l; -} - -// Compute list length -template<class L, class T> -long -UTL_List<L, T>::length() -{ - return list_length(1); -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_List active iterator - -/* - * Constructor - */ - -template<class L, class T> -UTL_ListActiveIterator<L, T>::UTL_ListActiveIterator(UTL_List<L, T> *s) - : source(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Is iterator done? -template<class L, class T> -long -UTL_ListActiveIterator<L, T>::is_done() -{ - return (source == NULL) ? I_TRUE : I_FALSE; -} - -// Get current item -template<class L, class T> -T * -UTL_ListActiveIterator<L, T>::item() -{ - if (source == NULL) - return NULL; - return source->head(); -} - -// Advance to next item -template<class L, class T> -void -UTL_ListActiveIterator<L, T>::next() -{ - if (source != NULL) - source = source->tail(); -} - -/* - * Redefinition of inherited operations - */ - diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp deleted file mode 100644 index 0a5f97d3147..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_namelist.cpp +++ /dev/null @@ -1,104 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_namelist.cc -// -// Implementation of a list of scoped names - -#include <idl.hh> -#include <idl_extern.hh> - -typedef UTL_List<UTL_NameList, UTL_ScopedName> _dummy_; - -/* - * Constructor(s) - */ - -UTL_NameList::UTL_NameList(UTL_ScopedName *s, UTL_NameList *cdr) - : UTL_List<UTL_NameList, UTL_ScopedName>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_NameList active iterator - -/* - * Constructor - */ - -UTL_NamelistActiveIterator::UTL_NamelistActiveIterator(UTL_NameList *s) - : UTL_ListActiveIterator<UTL_NameList, UTL_ScopedName>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ diff --git a/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp b/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp deleted file mode 100644 index 3311b089d79..00000000000 --- a/TAO/TAO_IDL/util/utl_tmpl/utl_strlist.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - *====================================================================== - * - *Copyright 1992 Sun Microsystems, Inc. - * - *The Interface Definition Language Compiler Front End (CFE) is made - *available for use provided that this legend is included on all media and - *documentation and as a part of the software program in whole or part. - *Users may copy and extend functionality (but may not remove - *functionality) of the Interface Definition Language CFE without charge, - *but are not authorized to license or distribute it to anyone else except - *as part of a product or program developed by the user or with the express - *written consent of Sun Microsystems, Inc. - * - *The names of Sun Microsystems, Inc. and any of its subsidiaries may not - *be used in advertising or publicity pertaining to distribution of - *Interface Definition Language CFE as permitted herein. - * - *The Interface Definition Language CFE may not be exported outside the - *United States without first obtaining the appropriate government - *approvals. - * - *INTERFACE DEFINITION LANGUAGE CFE IS PROVIDED AS IS WITH NO WARRANTIES - *OF ANY KIND INCLUDING THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND - *FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR ARISING FROM A - *COURSE OF DEALING, USAGE OR TRADE PRACTICE. - * - *Interface Definition Language CFE is provided with no support and - *without any obligation on the part of Sun Microsystems, Inc. or any of - *its subsidiaries or affiliates to assist in its use, correction, - *modification or enhancement. - * - *SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR AFFILIATES SHALL - *HAVE NO LIABILITY WITH RESPECT TO THE INFRINGEMENT OF COPYRIGHTS, TRADE - *SECRETS OR ANY PATENTS BY INTERFACE DEFINITION LANGUAGE CFE OR ANY PART - *THEREOF. - * - *IN NO EVENT WILL SUN MICROSYSTEMS, INC. OR ANY OF ITS SUBSIDIARIES OR - *AFFILIATES BE LIABLE FOR ANY LOST REVENUE OR PROFITS OR OTHER SPECIAL, - *INDIRECT AND CONSEQUENTIAL DAMAGES, EVEN IF SUN HAS BEEN ADVISED OF THE - *POSSIBILITY OF SUCH DAMAGES. - * - *SunSoft, Inc. - *2550 Garcia Avenue - *Mountain View, California 94043 - * - * - * - * - *====================================================================== - */ - -// utl_strlist.cc -// -// Implementation of a list of utl_string nodes - -#include <idl.hh> -#include <idl_extern.hh> - -/* - * Constructor(s) - */ - -UTL_StrList::UTL_StrList(String *s, UTL_StrList *cdr) - : UTL_List<UTL_StrList, String>(s, cdr) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -// Get last item of this list -String * -UTL_StrList::last_component() -{ - if (tail() == NULL) - return head(); - return tail()->last_component(); -} - -// AST Dumping -void -UTL_StrList::dump(ostream &o) -{ - char *s; - UTL_StrlistActiveIterator *i = new UTL_StrlistActiveIterator(this); - long first = I_TRUE; - long second = I_FALSE; - - while (!(i->is_done())) { - if (!first) - o << "::"; - else if (second) - first = second = I_FALSE; - s = i->item()->get_string(); - o << s; - if (first) { - if (strcmp(s, "::") != 0) - first = I_FALSE; - else - second = I_TRUE; - } - i->next(); - } -} - -/* - * Redefinition of inherited virtual operations - */ - -// UTL_StrList active iterator - -/* - * Constructor - */ - -UTL_StrlistActiveIterator::UTL_StrlistActiveIterator(UTL_StrList *s) - : UTL_ListActiveIterator<UTL_StrList, String>(s) -{ -} - -/* - * Private operations - */ - -/* - * Public operations - */ - -/* - * Redefinition of inherited virtual operations - */ |