⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activate.h

📁 this is a lp0 compilator new
💻 H
字号:
//// ********************************************************************// *// *    Author          : Gerald Carter// *                      cartegw@humsci.auburn.edu// *    Filename        : activate.h// *    Date Created    : 961228// *// *    Description// *    -------------// *    This is the header file for an procedure run-time activation// *	record. Currently the record contains fields for mapping the // *	formal parameters to actual parameters.// *// *    -------------// *    Modifications// *    -------------// *// *******************************************************************//// INCLUDE FILES#include "list.h"#include "param.h"// To prevent multiple inclusion#ifndef _ACTIVATE_H#define _ACTIVATE_H// ##################################################################// ## class activationRecord// ##class activationRecord {   private :      list<paramEntry>		formals;   public :      // Constructor and Destructor      activationRecord ( void ) {}      ~activationRecord ( void ) {}      // Parameter methods      void AddFormalParam ( const paramEntry& param ) { formals.Add ( param ); }      list<paramEntry> GetCurrentParameters ( void ) { return ( formals ); }      list<paramEntry> SetCurrentParameters ( const list<paramEntry> P )         { formals = P; return ( formals ); }      };#endif//********** end of activate.h ************************************//*****************************************************************

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -