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

📄 exprnpsr.h

📁 NASA 开发使用的一个专家系统
💻 H
字号:
   /*******************************************************/   /*      "C" Language Integrated Production System      */   /*                                                     */   /*             CLIPS Version 6.05  04/09/97            */   /*                                                     */   /*            EXPRESSION PARSER HEADER FILE            */   /*******************************************************//*************************************************************//* Purpose: Provides routines for parsing expressions.       *//*                                                           *//* Principal Programmer(s):                                  *//*      Gary D. Riley                                        *//*                                                           *//* Contributing Programmer(s):                               *//*                                                           *//* Revision History:                                         *//*                                                           *//*************************************************************/#ifndef _H_exprnpsr#define _H_exprnpsr#ifndef _H_extnfunc#include "extnfunc.h"#endif#ifndef _H_scanner#include "scanner.h"#endif#if (! RUN_TIME)typedef struct saved_contexts  {   int rtn;   int brk;   struct saved_contexts *nxt;  } SAVED_CONTEXTS;  #endif  #ifdef LOCALE#undef LOCALE#endif#ifdef _EXPRNPSR_SOURCE_#define LOCALE#else#define LOCALE extern#endif#if ANSI_COMPILER   LOCALE struct expr                   *Function0Parse(char *);   LOCALE struct expr                   *Function1Parse(char *);   LOCALE struct expr                   *Function2Parse(char *,char *);   LOCALE VOID                           PushRtnBrkContexts(void);   LOCALE VOID                           PopRtnBrkContexts(void);   LOCALE BOOLEAN                        ReplaceSequenceExpansionOps(struct expr *,struct expr *,                                                                     VOID *,VOID *);   LOCALE struct expr                   *CollectArguments(struct expr *,char *);   LOCALE struct expr                   *ArgumentParse(char *,int *);   LOCALE struct expr                   *ParseAtomOrExpression(char *,struct token *);   LOCALE EXPRESSION                    *ParseConstantArguments(char *,int *);   LOCALE BOOLEAN                        SetSequenceOperatorRecognition(int);   LOCALE BOOLEAN                        GetSequenceOperatorRecognition(void);   LOCALE struct expr                   *GroupActions(char *,struct token *,int,char *);#if (! RUN_TIME)   LOCALE int                     CheckExpressionAgainstRestrictions(struct expr *,char *,char *);#endif#else   LOCALE struct expr                   *Function0Parse();   LOCALE struct expr                   *Function1Parse();   LOCALE struct expr                   *Function2Parse();   LOCALE VOID                           PushRtnBrkContexts();   LOCALE VOID                           PopRtnBrkContexts();   LOCALE BOOLEAN                        ReplaceSequenceExpansionOps();   LOCALE struct expr                   *CollectArguments();   LOCALE struct expr                   *ArgumentParse();   LOCALE struct expr                   *ParseAtomOrExpression();   LOCALE EXPRESSION                    *ParseConstantArguments();   LOCALE BOOLEAN                        SetSequenceOperatorRecognition();   LOCALE BOOLEAN                        GetSequenceOperatorRecognition();   LOCALE struct expr                   *GroupActions();#if (! RUN_TIME)   LOCALE int                     CheckExpressionAgainstRestrictions();#endif#endif#ifndef _EXPRNPSR_SOURCE_#if (! RUN_TIME)extern SAVED_CONTEXTS *svContexts;extern int ReturnContext,BreakContext;#endifextern int SequenceOpMode;#endif#endif

⌨️ 快捷键说明

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