projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
src
/
compiler.h
diff --git
a/src/compiler.h
b/src/compiler.h
index c5e447fe84dbcbb57345becd9fbd33bef9790c8e..fcf2cf66781be0611c01dab248039598e9d6c75b 100644
(file)
--- a/
src/compiler.h
+++ b/
src/compiler.h
@@
-4,13
+4,13
@@
#include "validator.h"
typedef struct PSI_Compiler {
#include "validator.h"
typedef struct PSI_Compiler {
- decl_typedefs *defs;
- decls *decls;
- impls *impls;
- char *lib;
- char *fn;
+ PSI_DATA_MEMBERS;
+ void *context;
} PSI_Compiler;
} PSI_Compiler;
-PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V);
+PSI_Compiler *PSI_CompilerInit(PSI_Compiler *C, PSI_Validator *V, void *context);
+void PSI_CompilerDtor(PSI_Compiler *C);
+void PSI_CompilerFree(PSI_Compiler **C);
+zend_function_entry *PSI_CompilerCompile(PSI_Compiler *C);
#endif
#endif