pretty.h

来自「c语言的简化编译器」· C头文件 代码 · 共 40 行

H
40
字号
#ifndef __PRETTY_H__
#define __PRETTY_H__


/* wig pretty.h
 *
 * History:
 * 21.10.2000 - created
 */

#define PRINTSYMBOL 0


#include <stdio.h>
#include "tree.h"

#if (PRINTSYMBOL)
#include "symbol.h"
#endif


void prettyModifierKind(ModifierKind modifierKind);
void prettySCRIPTCOLLECTION(SCRIPTCOLLECTION *scriptcollection);
void prettyTOPLEVEL(int indent, TOPLEVEL *toplevel);
void prettyFUNCTION(int indent, FUNCTION *function);
void prettyTRIGGER(TRIGGER *trigger);
void prettyPROGRAM(int indent, PROGRAM *program);
void prettyTYPE(TYPE *type);
void prettyDECL(int indent, DECL *decl);
void prettyFORINIT(int indent, FORINIT *forinit);
void prettySTM(int indent, STM *stm);
void prettyIDENTIFIER(IDENTIFIER *identifier);
void prettyEXP(EXP *exp);
void prettyLVALUE(LVALUE *lvalue);
/*
void prettySymbolTable(int indent, SymbolTable *sym);
void prettySYMBOL(int indent, SYMBOL *s);
*/
#endif

⌨️ 快捷键说明

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