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

📄 labels.h

📁 this is a lp0 compilator new
💻 H
字号:
//// *********************************************************************// *// *   	Author        	: Gerald Carter// *                   	  cartegw@humsci.auburn.edu// *   	Filename      	: labels.h// *   	Date Created  	: 960121// *       // *   	Description : 	This file contains the macro defintions for// *       node label definitions for use in building a syntax tree// *       within the Bison parser.// *// *	---------------------// *	Modifications// *	---------------------// *// *********************************************************************//#ifndef LABELS_H#define LABELS_H// ####################################################################// ## Labels for use with the syntaxNode class// ##// ## Define nodes in the syntax tree generated by "bison"// ###define PROGRAM_LABEL                   900#define BLOCK_LABEL                     901#define STATEMENT_PART_LABEL            902#define COMPOUND_STMT_LABEL             903#define STATEMENTS_LABEL                904#define SEQUENTIAL_COMPOSITION_LABEL    905#define STATEMENT_LABEL                 906#define ASSIGNMENT_LABEL                907#define PROCEDURE_CALL_LABEL            908#define IF_LABEL                        909#define IF_ELSE_LABEL                   910#define CASE_LABEL                      911#define WHILE_LABEL                     912#define REPEAT_LABEL                    913#define EXPRESSION_LABEL                914#define CASE_LIST_LABEL                 915#define CASE_LIST_ELEM_LABEL            916#define SEQUENTIAL_CASE_OPTION_LABEL    917#define CASE_OPTION_LABEL               918#define SIMPLE_EXPR_LABEL               919#define RELATIONAL_OP_LABEL             920#define FOR_LABEL                       921#define TERM_LABEL                      922#define UNARY_PLUS_LABEL                923#define UNARY_MINUS_LABEL               924#define ADD_OP_LABEL                    925#define PLUS_LABEL                      926#define MINUS_LABEL                     927#define NOT_LABEL                       928#define FACTOR_LABEL                    929#define MULTI_OP_LABEL                  930#define MULTIPLY_LABEL                  931#define DIVIDE_LABEL                    932#define DIV_LABEL                       933#define MOD_LABEL                       934#define AND_LABEL                       935#define VARIABLE_LABEL                  936#define UNSIGNED_LIT_LABEL              937#define SET_RULE_LABEL                  938#define NOT_FACTOR_LABEL                939#define UNSIGNED_NUM_LABEL              940#define SET_LABEL                       941#define MEMBER_LIST_LABEL               942#define MEMBERS_LABEL                   943#define MEMBER_LABEL                    944#define EXPRESSION_DOTDOT_LABEL         945#define PROCEDURE_CALL_PARTS_LABEL      946#define ACTUALS_LIST_LABEL              947#define IDENT_LABEL                     948#define ARRAY_LABEL                     949#define RECORD_LABEL                    950#define POINTER_LABEL                   951#define EXPRESSIONS_LABEL               952#define SEQUENTIAL_EXPR_LABEL           953#define ACTUAL_PARAM_LABEL              954#define COLON_THINGS_LABEL              955#define SEQUENTIAL_COLON_LABEL          956#define SEQUENTIAL_PARAMS_LABEL         957#define SEQUENTIAL_MEMBERS_LABEL        958#define NEWIDENT_LABEL                  959#define ACTUAL_PARAMS_LABEL             960#define DIRECTION_LABEL                 961#define GOTO_LABEL                      962#define EMPTY_LABEL                     963#define EMPTY_STATEMENT                 964#define EMPTY_CASE_LIST_ELEM		965#define EMPTY_MEMBER_LIST		966#define EMPTY_PARAMS			967#define BLOCK_PART_LABEL		968#define OPT_DECLARATIONS_LABEL		969#define EMPTY_OPT_DECLARATIONS		970#define DECLARATIONS_LABEL		971#define DECLARATION_LABEL		972#define DECLS_DECL_LABEL		973#define LABEL_DCL_PART_LABEL		974#define CONST_DCL_PART_LABEL		975#define TYPE_DCL_PART_LABEL		976#define VAR_DCL_PART_LABEL		977#define PROC_DCL_PART_LABEL		978#define LABELS_LABEL_LABEL		979#define LABELS_LABEL			980#define LABEL_LABEL			981#define CONST_DEFS_LABEL		982#define CONST_DEF_LABEL			983#define CONSTS_CONST_LABEL		984#define CONST_DEF_EQUAL_LABEL		985#define CONSTANT_LABEL			986#define TYPE_DEFS_LABEL			987#define TYPES_TYPES_LABEL		988#define TYPE_DEF_LABEL			989#define TYPE_DEF_EQUAL_LABEL		990#define TYPE_LABEL			991#define SIMPLE_TYPE_LABEL		992#define PACKED_STRUCT_TYPE_LABEL	993#define STRUCT_TYPE_LABEL		994#define ENUMERATED_LIST_LABEL		995#define CONSTANT_DOTDOT_CONSTANT_LABEL	996#define ARRAY_OF_TYPE_LABEL		997#define FIELD_LIST_LABEL		998#define SFILE_OF_TYPE_LABEL		999#define INDEX_T_LIST_LABEL 		1000#define SIMPLES_SIMPLE_LABEL		1001#define FIXED_PART_LABEL		1002#define FIXED_VARIANT_LABEL		1003#define VARIANT_PART_LABEL		1004#define FIXED_RECORD_LABEL		1005#define RECORD_SECTION_LABEL		1006#define NEW_IDENT_COLON_TYPE_LABEL	1007#define EMPTY_RECORD_SECTION		1008#define CASE_TAG_OF_VARIANT_LABEL	1009#define TAG_FIELD_LABEL			1010#define NEWIDENT_COLON_IDENT_LABEL	1011#define VARIANTS_LABEL			1012#define VARIANTS_VARIANT_LABEL		1013#define VARIANT_LABEL			1014#define CASE_FIELD_LIST_LABEL		1015#define EMPTY_VARIANT			1016#define VAR_DCLS_LABEL			1017#define VARS_VAR_LABEL			1018#define VAR_DCL_LABEL			1019#define NEWIDENT_LIST_COLON_TYPE_LABEL	1020#define NEW_ID_LIST_LABEL		1021#define NEW_IDS_ID_LABEL		1022#define PROC_OR_FUNC_LABEL		1023#define PROC_HEADING_BODY_LABEL		1024#define FUNC_HEADING_BODY_LABEL		1025#define PROC_ID_PARAMS_LABEL		1026#define FUNC_HEADING_LABEL		1027#define FUNC_FORM_LABEL			1028#define EMPTY_FUNC_FORM			1029#define FUNC_PARAMS_ID_LABEL		1030#define BODY_LABEL			1031#define FORMAL_PARAMS_LABEL		1032#define EMPTY_FORMAL_PARAMS		1033#define FORMAL_P_SECTS_LABEL		1034#define PSECTS_PSECT_LABEL		1035#define PSECT_LABEL			1036#define PARAM_GROUP_LABEL		1037#define VAR_PARAM_GROUP_LABEL		1038#define NEWID_LIST_COLON_TYPE_LABEL	1039#define PARAM_TYPE_LABEL		1040#define ARRAY_OF_PARAM_TYPE		1041#define PACK_ARRAY_INDEX_OF_ID_LABEL	1042#define INDEX_SPECS_LABEL		1043#define INDEX_SPECS_SPEC_LABEL		1044#define INDEX_SPEC_LABEL		1045#define NEWID_DOTDOT_NEWID_COLON_ID_LABEL 1046#define TYPES_TYPE_LABEL		1047#define PROC_HEADING_LABEL 		1048#define NEWIDENT_LIST_LABEL		1049#define FUNC_ID_FORM_LABEL		1050#define FUNCTION_CALL_LABEL		1051#define FUNCTION_CALL_PARTS_LABEL	1052// ####################################################################// ## Labels for the maple Expreesion Tree.// ##// ## Indicate parts of the expression derived from the syntax// ## tree.// ###define FUNCTION_CALL			1500#define CONSTANT_VALUE			1501#define EXPRESSION			1502#define FACTOR				1503#define TERM_PLUS_FACTOR 		1504#define TERM				1505#define SIMPLE_EXPR_PLUS_TERM		1506#define SIMPLE_EXPR			1507#define SIMPLE_EXPR_PLUS_SIMPLE_EXPR	1508#define UNIT_STATEMENT			1509#define STATEMENT			1510#define SEQUENTIAL_STATEMENT		1511#define STATEMENTS			1512#define COMPOUND_STMT			1513#define PROCEDURE_CALL			1514#define FOR_STATEMENT			1515#define VARIABLE_			1516#define UNSIGNED_LIT_			1517#define BODY				1518#define BLOCK				1519#define STATEMENT_PART			1520#define PROC_OR_FUNC			1521#define IDENT				1522#define ACTUAL_PARAMS			1523#define ACTUALS_LIST			1524#define ACTUAL_PARAM			1525#define COLON_THINGS			1526#define IF_STATEMENT			1527#define IF_ELSE_STATEMENT		1528#define POINTER_			1530#define ARRAY_				1531#define RECORD_				1532#define WHILE_STATEMENT			1533#define REPEAT_STATEMENT		1534#define SEQUENTIAL_EXPR			1535#endif//******** end of labels.h ********************************************//*********************************************************************

⌨️ 快捷键说明

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