📄 executor.h
字号:
// Copyright (c) 1996 Federal Highway Administration
//
// This software has been developed for the Federal Highway Administration
// by Viggen Corporation under contract with Oak Ridge National Lab.
//
// Permission to use, copy, and distribute this software for any purpose
// without fee is hereby granted, provided that the above copyright notice
// appears in all copies and that both the copyright and this permission notice
// appear in the supporting documentation.
//
// Permission to modify this software is granted provided that the above
// copyright and this permission notice appears in the modified software.
//
// This software is provided "as is" with no warranty expressed or implied.
//
// For additional information, please go to the Web site www.ntcip.org.
//
/*******************************************************************************
*
* Copyright (c) 1997 Viggen Corporation
*
* Permission to use, copy, and distribute this software for any purpose
* without fee is hereby granted, provided that this copyright notice
* appears in all copies and this permission notice appears in the
* supporting documentation.
*
* Permission to modify this software is granted provided that the above
* copyright and this permission notice appears in the modified software.
*
******************************************************************************/
/*********************************************
*
* executor.h
*
* 9/29/97 Glenn Pruitt
*********************************************/
struct PEND_OP
{
int op_type;
int val_type;
long ival;
float fval;
int bval;
struct PEND_OP *next;
};
#define MULTIPLY_OP 1
#define DIVIDE_OP 2
#define ADD_OP 3
#define SUBTRACT_OP 4
#define OR_OP 5
#define AND_OP 6
//Values for val_type are #defined in symboltab.h
//however, only int and float values are possible.
struct ARGUMENT
{
int arg_type;
long ival;
float fval;
char *sval;
struct ARGUMENT *next;
};
//Values for arg_type are #defined in symboltab.h
//only int, float or string types are allowed.
void executor(char *filename, struct SYTAB **syt,
struct STTAB **stt, int standalone,
int _stdcall (* LineActivityInsert) (char * theMessage),
int _stdcall (* EditByteStream) (pmppStruct *msg, char *header, char *trailer));
void eval_stak();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -