Changeset View
Changeset View
Standalone View
Standalone View
support/xhpast/generate_nodes.php
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | $nodes = array( | ||||
| 'n_TRAIT_INSTEADOF', | 'n_TRAIT_INSTEADOF', | ||||
| 'n_TRAIT_REFERENCE_LIST', | 'n_TRAIT_REFERENCE_LIST', | ||||
| 'n_TRAIT_METHOD_REFERENCE', | 'n_TRAIT_METHOD_REFERENCE', | ||||
| 'n_TRAIT_AS', | 'n_TRAIT_AS', | ||||
| 'n_YIELD', | 'n_YIELD', | ||||
| 'n_FINALLY', | 'n_FINALLY', | ||||
| 'n_UNPACK', | 'n_UNPACK', | ||||
| 'n_DECLARATION_RETURN', | 'n_DECLARATION_RETURN', | ||||
| 'n_NULLABLE_TYPE', | |||||
| ); | ); | ||||
| $nodes = array_combine( | $nodes = array_combine( | ||||
| array_values($nodes), | array_values($nodes), | ||||
| range($offset, $offset + count($nodes) - 1)); | range($offset, $offset + count($nodes) - 1)); | ||||
| $hpp = ''; | $hpp = ''; | ||||
| foreach ($nodes as $node => $value) { | foreach ($nodes as $node => $value) { | ||||
| Show All 32 Lines | |||||