mirror of https://git.wuffs.org/MWCC
31 lines
1.9 KiB
C
31 lines
1.9 KiB
C
#ifndef COMPILER_CBROWSE_H
|
|
#define COMPILER_CBROWSE_H
|
|
|
|
#include "compiler/common.h"
|
|
|
|
extern Boolean gUseTokenStreamSource;
|
|
extern Boolean gForceSourceLoc;
|
|
extern Boolean gUseNameTable;
|
|
|
|
extern void CBrowse_Setup(CParams *params);
|
|
extern void CBrowse_Finish(CParams *params);
|
|
extern void CBrowse_Cleanup(CParams *params);
|
|
extern void CBrowse_BeginClass(DeclInfo *di, GList *gl);
|
|
extern void CBrowse_AddClassMemberVar(ObjMemberVar *ivar, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_AddClassMemberFunction(Object *object, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_AddClassMemberData(Object *object, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_EndClass(SInt32 offset, GList *gl);
|
|
extern void CBrowse_BeginStruct(DeclInfo *di, TypeStruct *tstruct, GList *gl);
|
|
extern void CBrowse_AddStructMember(StructMember *member, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_EndStruct(SInt32 offset, GList *gl);
|
|
extern void CBrowse_NewTypedef(NameSpace *nspace, HashNameNode *name, CPrepFileInfo *file1, CPrepFileInfo *file2, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewEnum(NameSpace *nspace, HashNameNode *name, CPrepFileInfo *file1, CPrepFileInfo *file2, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewEnumConstant(NameSpace *nspace, HashNameNode *name, CPrepFileInfo *file1, CPrepFileInfo *file2, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewFunction(Object *object, CPrepFileInfo *file1, CPrepFileInfo *file2, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewData(Object *object, CPrepFileInfo *file1, CPrepFileInfo *file2, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewMacro(Macro *macro, CPrepFileInfo *file, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewTemplateClass(TemplClass *tmclass, CPrepFileInfo *file, SInt32 startOffset, SInt32 endOffset);
|
|
extern void CBrowse_NewTemplateFunc(TemplateFunction *tmfunc);
|
|
|
|
#endif
|