parser.h

来自「PL/0源码」· C头文件 代码 · 共 25 行

H
25
字号
//////////////////////////////////////////////////////////////////////////////////    parser.[h,cc] -- table-driver LL(1) parser////    Parsing and error correction tables are created by the program//    makeparse.  The parsing tables are linked into the compiler in from the//    file parsetab.cc.////    The parser is a heavily-modified version of code originally written//    by Jon Mauney.//    (copyright 1980 University of Wisconsin, all rights reserved)//    Used by permission.//#ifndef PARSER_H#define PARSER_Hint init_parser(void);//  Returns how many tokens the parser thinks there are, for sanity checkvoid parse(void);//  This is the where the action is (we're a syntax-directed compiler!)#endif

⌨️ 快捷键说明

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