⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 framelex.h

📁 不需要做任何修改的lex-yacc的demo
💻 H
字号:
/****************************************************************************
* framelex.h
* C++ header file generated from framelex.l.
* 
* Date: 05/20/07
* Time: 22:59:12
* 
* ALex Version: 2.07
****************************************************************************/

#ifndef _FRAMELEX_H
#define _FRAMELEX_H

#include <yyclex.h>

/////////////////////////////////////////////////////////////////////////////
// testlexer

#ifndef YYEXPLEXER
#define YYEXPLEXER
#endif

class YYEXPLEXER YYFAR testlexer : public _YL yyflexer {
public:
	testlexer();
	virtual ~testlexer();

	// backards compatibility with lex
#ifdef input
	virtual int yyinput();
#endif
#ifdef output
	virtual void yyoutput(int ch);
#endif
#ifdef unput
	virtual void yyunput(int ch);
#endif

protected:
	void yytables();
	virtual int yyaction(int action);

public:
};

#ifndef YYLEXERNAME
#define YYLEXERNAME testlexer
#endif

#define _INCLUDE_ 2
#define _INCLUDE_FILE_ 4
#ifndef INITIAL
#define INITIAL 0
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -