scanner.h
来自「一套美国国家宇航局人工智能中心NASA的专家系统工具源代码」· C头文件 代码 · 共 74 行
H
74 行
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.05 04/09/97 */ /* */ /* SCANNER HEADER FILE */ /*******************************************************//*************************************************************//* Purpose: Routines for scanning lexical tokens from an *//* input source. *//* *//* Principal Programmer(s): *//* Gary D. Riley *//* *//* Contributing Programmer(s): *//* *//* Revision History: *//* *//*************************************************************/#ifndef _H_scanner#define _H_scannerstruct token;#ifndef _H_pprint#include "pprint.h"#endif#ifdef LOCALE#undef LOCALE#endif#ifdef _SCANNER_SOURCE_#define LOCALE#else#define LOCALE extern#endifstruct token { int type; VOID *value; char *printForm; };#define print_rep printForm#if ANSI_COMPILER LOCALE VOID GetToken(char *,struct token *); LOCALE VOID CopyToken(struct token *,struct token *); LOCALE VOID ResetLineCount(void); LOCALE long GetLineCount(void); LOCALE VOID IncrementLineCount(void); LOCALE VOID DecrementLineCount(void);#else LOCALE VOID GetToken(); LOCALE VOID CopyToken(); LOCALE VOID ResetLineCount(); LOCALE long GetLineCount(); LOCALE VOID IncrementLineCount(); LOCALE VOID DecrementLineCount();#endif#ifndef _SCANNER_SOURCE_ extern int IgnoreCompletionErrors;#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?