📄 syntax.h
字号:
#ifndef __SYNTAX.H__
#define __SYNTAX.H__
#include "Const.h"
#include "Window.h"
#include "Common.h"
#include "ErrorVal.h"
// Syntax.cpp中的函数
bool VarOK(const char []);
bool ExpressionOK(const char []);
bool ExpressOK(const char [], int &);
bool TermOK(const char [], int &);
bool FactorOK(const char [], int &);
bool BooleanOK(const char []);
bool BoolOK(const char [], int &);
bool OROK(const char [], int &);
bool ANDOK(const char [], int &);
void BoolChange(const char [], char *);
void CheckSyntax();
ErrorType CheckLine(const char []);
// 外部引用的变量
extern int EndLine;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -