diff options
author | Sara Golemon <pollita@php.net> | 2015-01-19 08:39:52 -0800 |
---|---|---|
committer | Sara Golemon <sgolemon@fb.com> | 2015-01-19 10:43:57 -0800 |
commit | 1010b0ea4f4b9f96ae744f04c1191ac228580e48 (patch) | |
tree | 08c2356da4763c1779029dfe39d49cacfae3c3a3 /Zend/zend_ast.h | |
parent | 1fdd558e39beeeca9166eef4311b98f1926f642b (diff) | |
download | php-git-1010b0ea4f4b9f96ae744f04c1191ac228580e48.tar.gz |
Provide compiler hook for altering the AST pre-compilation.
Diffstat (limited to 'Zend/zend_ast.h')
-rw-r--r-- | Zend/zend_ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_ast.h b/Zend/zend_ast.h index 4ce0f5de27..999dfd3c6c 100644 --- a/Zend/zend_ast.h +++ b/Zend/zend_ast.h @@ -186,6 +186,9 @@ typedef struct _zend_ast_decl { zend_ast *child[3]; } zend_ast_decl; +typedef void (*zend_ast_process_t)(zend_ast *ast); +extern zend_ast_process_t zend_ast_process; + ZEND_API zend_ast *zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr); ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...); |