x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
scanner.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\wave\cpplexer\re2clex\scanner.hpp
旋转
特效
属性
历史版本
/*============================================================================= Boost.Wave: A Standard compliant C++ preprocessor library http://www.boost.org/ Copyright (c) 2001 Daniel C. Nuffer. Copyright (c) 2001-2008 Hartmut Kaiser. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================*/ #if !defined(SCANNER_HPP_F4FB01EB_E75C_4537_A146_D34B9895EF37_INCLUDED) #define SCANNER_HPP_F4FB01EB_E75C_4537_A146_D34B9895EF37_INCLUDED #include
#include
// this must occur after all of the includes and before any code appears #ifdef BOOST_HAS_ABI_HEADERS #include BOOST_ABI_PREFIX #endif /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace wave { namespace cpplexer { namespace re2clex { struct Scanner; typedef unsigned char uchar; typedef int (* ReportErrorProc)(struct Scanner const *, int errorcode, char const *, ...); typedef struct Scanner { uchar* first; /* start of input buffer */ uchar* act; /* act position of input buffer */ uchar* last; /* end (one past last char) of input buffer */ uchar* bot; /* beginning of the current buffer */ uchar* top; /* top of the current buffer */ uchar* eof; /* when we read in the last buffer, will point 1 past the end of the file, otherwise 0 */ uchar* tok; /* points to the beginning of the current token */ uchar* ptr; /* used for YYMARKER - saves backtracking info */ uchar* cur; /* saves the cursor (maybe is redundant with tok?) */ uchar* lim; /* used for YYLIMIT - points to the end of the buffer */ /* (lim == top) except for the last buffer, it points to the end of the input (lim == eof - 1) */ unsigned int line; /* current line being lex'ed */ unsigned int column; /* current token start column position */ unsigned int curr_column; /* current column position */ ReportErrorProc error_proc; /* must be != 0, this function is called to report an error */ char const *file_name; /* name of the lex'ed file */ aq_queue eol_offsets; bool enable_ms_extensions; /* enable MS extensions */ bool act_in_c99_mode; /* lexer works in C99 mode */ bool detect_pp_numbers; /* lexer should prefer to detect pp-numbers */ bool enable_import_keyword; /* recognize import as a keyword */ bool single_line_only; /* don't report missing eol's in C++ comments */ } Scanner; /////////////////////////////////////////////////////////////////////////////// } // namespace re2clex } // namespace cpplexer } // namespace wave } // namespace boost // the suffix header occurs after all of the code #ifdef BOOST_HAS_ABI_HEADERS #include BOOST_ABI_SUFFIX #endif #endif // !defined(SCANNER_HPP_F4FB01EB_E75C_4537_A146_D34B9895EF37_INCLUDED)
scanner.hpp
网页地址
文件地址
上一页
4/4 下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.