scanner.h
来自「clips源代码」· C头文件 代码 · 共 74 行
H
74 行
/*******************************************************/ /* "C" Language Integrated Production System */ /* */ /* CLIPS Version 6.20 01/31/02 */ /* */ /* 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 { unsigned short type; void *value; char *printForm; };#define SCANNER_DATA 57struct scannerData { char *GlobalString; size_t GlobalMax; size_t GlobalPos; long LineCount; int IgnoreCompletionErrors; };#define ScannerData(theEnv) ((struct scannerData *) GetEnvironmentData(theEnv,SCANNER_DATA)) LOCALE void InitializeScannerData(void *); LOCALE void GetToken(void *,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 *);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?