<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>vrq: /net/fileserver/nas/home/mdh/vrq/src/compile.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr> <td width="180"><a href="index.html"><img src="vrq.png" width="150" height="100" border="0" alt="vrq"></a></td> <td background="top_bg.png" align="right" width="100%"> <img src="glyth.png" width="500" height="100" border="0" alt=""> </td> </tr> <tr> <td background="#FFFFFF" align="right" width="50" height="4"></td> </tr> </table> </head><body> <!-- Generated by Doxygen 1.7.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="header"> <div class="headertitle"> <h1>/net/fileserver/nas/home/mdh/vrq/src/compile.h</h1> </div> </div> <div class="contents"> <a href="compile_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*-----------------------------------------------------------------------------</span> <a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 1997-2004 Mark Hummel DBA Raquette Software.</span> <a name="l00003"></a>00003 <span class="comment"> * All rights reserved</span> <a name="l00004"></a>00004 <span class="comment"> *</span> <a name="l00005"></a>00005 <span class="comment"> * This file contains source code written by Raquette Software, </span> <a name="l00006"></a>00006 <span class="comment"> * 68 Stewart Street, Franklin MA 02038. It may not be used without </span> <a name="l00007"></a>00007 <span class="comment"> * express written permission. The expression of the information </span> <a name="l00008"></a>00008 <span class="comment"> * contained herein is protected under federal copyright laws and </span> <a name="l00009"></a>00009 <span class="comment"> * all copying without permission is prohibited and may be subject </span> <a name="l00010"></a>00010 <span class="comment"> * to criminal penalties. The Author assumes no responsibility for </span> <a name="l00011"></a>00011 <span class="comment"> * errors, omissions, or damages caused by the use of these programs </span> <a name="l00012"></a>00012 <span class="comment"> * or from use of the information contained herein.</span> <a name="l00013"></a>00013 <span class="comment"> *</span> <a name="l00014"></a>00014 <span class="comment"> *-----------------------------------------------------------------------------</span> <a name="l00015"></a>00015 <span class="comment"> */</span> <a name="l00016"></a>00016 <span class="comment">/******************************************************************************</span> <a name="l00017"></a>00017 <span class="comment"> *</span> <a name="l00018"></a>00018 <span class="comment"> * compile.hpp</span> <a name="l00019"></a>00019 <span class="comment"> *</span> <a name="l00020"></a>00020 <span class="comment"> ******************************************************************************</span> <a name="l00021"></a>00021 <span class="comment"> */</span> <a name="l00022"></a>00022 <a name="l00027"></a>00027 <span class="preprocessor">#ifndef COMPILE_PP</span> <a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor">#define COMPILE_HPP</span> <a name="l00029"></a>00029 <span class="preprocessor"></span> <a name="l00030"></a>00030 <span class="preprocessor">#include <set></span> <a name="l00031"></a>00031 <span class="preprocessor">#include <map></span> <a name="l00032"></a>00032 <span class="keyword">using namespace </span>std; <a name="l00033"></a>00033 <a name="l00034"></a>00034 <span class="keyword">class </span><a class="code" href="classCNode.html" title="Primary data structure representing parse tree nodes.">CNode</a>; <a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="classCModule.html">CModule</a>; <a name="l00036"></a>00036 <span class="keyword">class </span><a class="code" href="classCDataType.html" title="Base class for describing data types.">CDataType</a>; <a name="l00037"></a>00037 <a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="group__node__utilities.html#gafda85ac47eeb4208e7b83d34c9f5baa4" title="Analyse module declarations in parse tree.">AnalyseModules</a>( <a name="l00050"></a>00050 <a class="code" href="classCNode.html" title="Primary data structure representing parse tree nodes.">CNode</a>* <a class="code" href="main_8cc.html#a57cc0ab02c357184bcc6aec7b703933d">codeList</a>, <a name="l00051"></a>00051 set<CModule*>& allModules, <a name="l00052"></a>00052 set<CModule*>& topLevelModules, <a name="l00053"></a>00053 set<CModule*>& leafModules, <a name="l00054"></a>00054 set<CModule*>& undefinedModules, <a name="l00055"></a>00055 map<CModule*,CNode*>& module2Comments <a name="l00056"></a>00056 ); <a name="l00057"></a>00057 <a name="l00069"></a>00069 <span class="keywordtype">int</span> <a class="code" href="compile_8h.html#ac75221321d9db24c8c8ca4abc80cf2ea" title="Get datatype info for array, structure and variable references.">ResolveReference</a>( <a name="l00070"></a>00070 <a class="code" href="classCNode.html" title="Primary data structure representing parse tree nodes.">CNode</a>* ref, <a name="l00071"></a>00071 <a class="code" href="classCDataType.html" title="Base class for describing data types.">CDataType</a>*& dataType, <a name="l00072"></a>00072 vector<CNode*>& unpackedDimensions, <a name="l00073"></a>00073 vector<CNode*>& packedDimensions, <a name="l00074"></a>00074 vector<CNode*>& residualPackedIndices ); <a name="l00075"></a>00075 <a name="l00076"></a>00076 <span class="preprocessor">#endif // COMPILE_HPP</span> </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address> </body> </html>