php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_tokenizer.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Author: Andrei Zmievski <andrei@php.net> |
14 +----------------------------------------------------------------------+
15 */
16
17#ifndef PHP_TOKENIZER_H
18#define PHP_TOKENIZER_H
19
21#define phpext_tokenizer_ptr &tokenizer_module_entry
22
23#include "php_version.h"
24#define PHP_TOKENIZER_VERSION PHP_VERSION
25
26#define TOKEN_PARSE (1 << 0)
27
28#ifdef ZTS
29#include "TSRM.h"
30#endif
31
32char *get_token_type_name(int token_type);
33
34
35PHP_MINIT_FUNCTION(tokenizer);
36PHP_MINFO_FUNCTION(tokenizer);
37
38#endif /* PHP_TOKENIZER_H */
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
char * get_token_type_name(int token_type)
zend_module_entry tokenizer_module_entry
Definition tokenizer.c:43
struct _zend_module_entry zend_module_entry