syntax.h

来自「c语言写的VB编译器」· C头文件 代码 · 共 31 行

H
31
字号
#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 + =
减小字号Ctrl + -
显示快捷键?