📄 gbc_class.h
字号:
/*************************************************************************** class.h Class management (c) 2000-2004 Beno顃 Minisini <gambas@users.sourceforge.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.***************************************************************************/#ifndef __GBC_CLASS_H#define __GBC_CLASS_H#include "gbc_type.h"#include "gb_table.h"#include "gbc_trans.h"#define FUNC_INIT_STATIC 0#define FUNC_INIT_DYNAMIC 1typedef struct { TYPE type; long value; } PACKED CLASS_SYMBOL_INFO;typedef struct { SYMBOL symbol; CLASS_SYMBOL_INFO global; CLASS_SYMBOL_INFO local; long class; long unknown; unsigned used : 1; unsigned _reserved : 31; } PACKED CLASS_SYMBOL;typedef TRANS_PARAM PARAM;typedef struct { TYPE type; long index; long pos; long size; } VARIABLE;typedef struct { long num; long param; } VARIABLE_INIT;typedef struct { TYPE type; long index; long value; long line; } CONSTANT;typedef struct { TYPE type; /* type de la valeur de retour */ long name; /* index du nom de la fonction dans la table des symboles de la classe */ short nparam; /* nombre de param鑤res */ short nlocal; /* nombre de variables locales */ short npmin; /* nombre de param鑤res obligatoires */ short nctrl; /* nombre de variables locales pour les structures de contr鬺e */ PARAM *local; /* Liste des variables locales */ PARAM *param; /* Liste des param鑤res */ PATTERN *start; /* Position d'o
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -