cgen.h

来自「SIP软件开发记录 由于通信网的封闭性」· C头文件 代码 · 共 25 行

H
25
字号
/* cgen.h
 * The code generator interface to the TINY compiler
 *代码生成器
 * Compiler Construction: Principles and Practice
 * Kenneth C. Louden
 * 编译原理及实践
 * (美) Kenneth C. Louden 著
 * 冯博琴 冯岚 等译
 * 机械工业出版社 IBSN 7-111-07703-2
 * 源代码:zwf编辑并修订
 * Code Modify: 
 */
#ifndef _CGEN_H_
#define _CGEN_H_

/* Procedure codeGen generates code to a code
 * file by travesal of the syntax tree. The
 * second parameter (codefile) is the file name
 * of the code file, and is used toprint the
 * file name as a comment in the code file
 */
void codeGen(TreeNode * syntaxTree, char *codefile);

#endif							/* _CGEN_H_ */

⌨️ 快捷键说明

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