Searched refs:filename (Results 1 – 5 of 5) sorted by relevance
/php-ast/ |
H A D | ast.stub.php | 19 function parse_code(string $code, int $version, string $filename = 'string code'): \ast\Node {} argument 21 function parse_file(string $filename, int $version): \ast\Node {} argument
|
H A D | ast_stub.php | 224 * @param string $filename Code file to parse 230 function parse_file(string $filename, int $version) argument 239 * @param string $filename Optional filename for use in parse errors 244 function parse_code(string $code, int $version, string $filename = "string code") argument
|
H A D | ast_arginfo.h | 7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, filename, IS_STRING, 0, "\'string code\'") 11 ZEND_ARG_TYPE_INFO(0, filename, IS_STRING, 0)
|
H A D | ast.c | 372 if (filename) { in get_ast() 373 return zend_compile_string_to_ast(code, ast_arena, filename); in get_ast() 376 filename = zend_string_init("string code", sizeof("string code") - 1, 0); in get_ast() 377 ast = zend_compile_string_to_ast(code, ast_arena, filename); in get_ast() 378 zend_string_release_ex(filename, 0); in get_ast() 393 zend_prepare_string_for_scanning(&code_zv, filename ? filename->val : "string code"); in get_ast() 1197 zend_string *filename, *code; in PHP_FUNCTION() local 1214 stream = php_stream_open_wrapper_ex(filename->val, "rb", REPORT_ERRORS, NULL, NULL); in PHP_FUNCTION() 1229 ast = get_ast(code, &arena, filename); in PHP_FUNCTION() 1245 zend_string *code, *filename = NULL; in PHP_FUNCTION() local [all …]
|
H A D | README.md | 51 * `ast\parse_file(string $filename, int $version)` 52 * `ast\parse_code(string $code, int $version [, string $filename = "string code"])`
|
Completed in 59 milliseconds