summaryrefslogtreecommitdiff
path: root/includes/compiler/CBrowse.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
committerAsh Wolf <ninji@wuffs.org>2022-12-29 12:32:55 +0000
commitfcfbafff31869ed808bff0639532db1828660e92 (patch)
tree7425b346b031c4cb47a06250b3f6f950374d44ae /includes/compiler/CBrowse.h
parentbc1321735c15104ffad195e1509cab5f3a044260 (diff)
downloadMWCC-fcfbafff31869ed808bff0639532db1828660e92.tar.gz
MWCC-fcfbafff31869ed808bff0639532db1828660e92.zip
dump lots more code
Diffstat (limited to '')
-rw-r--r--includes/compiler/CBrowse.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/includes/compiler/CBrowse.h b/includes/compiler/CBrowse.h
index 2bcfb51..cbca85d 100644
--- a/includes/compiler/CBrowse.h
+++ b/includes/compiler/CBrowse.h
@@ -3,4 +3,28 @@
#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