?? action.h
字號:
#pragma once
/* 類型定義 */
#define integer 1
#define real 2
#define boolean 3
#define vector_type 4
/* jump指令類型定義 */
#define above 1
#define aboveequal 2
#define equal 3
#define notequal 4
/*-----------------------------*/
/* 定義了對應不同產生式調用的語義動作
/*-----------------------------*/
class action
{
public:
action(void);
~action(void);
public:
void take_action(int creation_num); //調用動作
public:
static string itos(int i ); //類函數用來將整數轉成stl的string類型
public:
code _code; //輸出四元式的類型
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -