?? cifa.h
字號:
#ifndef __CIFA_H
#define __CIFA_H
#include <stdio.h>
#include "symset.h"
#include "pl0.h"
#define IDENT_LENGTH 11 //length of identifiers
#define NUMBER_LENGTH 9 //最大數位
#define MAX_NUMBER 2047 //最大整數
class CCifa
{
public:
CCifa(CPlCompiler * );
~CCifa();
symbol GetSymbol();
int GetLine() {return line;}
public:
char id[IDENT_LENGTH+1];
int num;
//////////////////////////////////////////////
private:
void create_ht();
int hushsrch(char *word);
int hush(char *s); //哈希函數
private:
struct word_table{
char word[IDENT_LENGTH+1];
symbol sym;
} *wt; //關鍵字表
char ht[20]; //關鍵字的哈希表
char ch;
int line; //行號
CPlCompiler *pl;
};
#endif //cifa.h
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -