Searched refs:Node (Results 1 – 10 of 10) sorted by relevance
/php-ast/tests/ |
H A D | constructor.phpt | 2 ast\Node has a __construct method 10 var_dump(new \ast\Node()); 14 var_dump(new \ast\Node(null, null, null, null)); 17 echo ast_dump(new \ast\Node(\ast\AST_NAME, 1, ['name' => 'FOO'], 2), AST_DUMP_LINENOS) . "\n"; 22 object(ast\Node)#1 (4) { 32 object(ast\Node)#1 (4) {
|
H A D | php82_dynamic_property_attribute.phpt | 22 $node = new ast\Node(); 28 dump_attributes(ast\Node::class); 31 %Sast\Node::__set_state(array( 46 Attributes of ast\Node:
|
H A D | node_constructor_throw.phpt | 2 new ast\Node() throwing 9 new ast\Node('invalid');
|
H A D | empty_file_parse.phpt | 8 var_dump($file instanceof ast\Node); 11 var_dump($file instanceof ast\Node);
|
H A D | decl_normalization.phpt | 2 The class ast\Node\Decl no longer exists 39 string(8) "ast\Node" 41 string(8) "ast\Node" 43 string(8) "ast\Node" 45 string(8) "ast\Node"
|
/php-ast/ |
H A D | ast.stub.php | 19 function parse_code(string $code, int $version, string $filename = 'string code'): \ast\Node {} 21 function parse_file(string $filename, int $version): \ast\Node {} 36 class Node class
|
H A D | ast_arginfo.h | 4 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_ast_parse_code, 0, 2, ast\\Node, 0) 10 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_ast_parse_file, 0, 2, ast\\Node, 0)
|
H A D | ast_stub.php | 226 * @return Node Root node of AST 240 * @return Node Root node of AST 290 class Node class
|
H A D | util.php | 58 if ($ast instanceof ast\Node) {
|
H A D | README.md | 47 * `ast\Node` class 71 The abstract syntax tree returned by these functions consists of `ast\Node` objects. 72 `ast\Node` is declared as follows: 76 class Node { 95 `ast\Node` objects or plain values. There are two general categories of nodes: Normal AST nodes, 116 object(ast\Node)#1 (4) { 126 object(ast\Node)#2 (4) { 136 object(ast\Node)#3 (4) { 614 * Node dumper (human readable representation): While the php-ast extension does not directly
|
Completed in 12 milliseconds