Lines Matching refs:nodes
19 * Include the trailing semicolon inside `Stmt\GroupUse` nodes, making them consistent with
20 `Stmt\Use_` nodes.
115 to all nodes sharing a starting position. Now only the outer-most node will hold the comments.
245 * Destructuring is now always represented using `Expr\List_` nodes, even if it uses `[]` syntax.
292 * Added `rawValue` attribute to `LNumber`, `DNumber` and `String_` nodes, which stores the unparsed
305 * The `namespacedName` property populated by the `NameResolver` is now declared on relevant nodes,
327 partial function application, just like the PHP feature itself. Call nodes now extend from
374 `Stmt\EnumCase` nodes.
434 containing `Attribute` nodes. A new `attrGroups` subnode is available on all node types that
481 `Expr\NullsafePropertyFetch` and `Expr\NullsafeMethodCall` nodes.
537 * Added `getProperty()` method to `ClassLike` nodes.
596 * Added support for inserting into empty list nodes in the formatting preserving pretty printer.
655 nodes, and prevent subsequent visitors from visiting the current node.
745 * Fixed insertion into list nodes that require creation of a code block.
749 * Added support for inserting at the start of list nodes in formatting-preserving pretty printer.
759 * Added support for removing from list nodes.
773 * Added `NodeFinder` class, which can be used to find nodes based on a callback or class name. This
784 * Added `Identifier` and `VarLikeIdentifier` nodes, which are used in place of simple strings in
795 nodes. Please see the UPGRADE-4.0 file for an exhaustive list of affected nodes and some notes on
813 * Removed `type` subnode on `Class`, `ClassMethod` and `Property` nodes. Use `flags` instead.
914 * `Error` nodes are now considered empty, while previously they extended until the token where the
915 error occurred. This made some nodes larger than expected. (#359)
948 * Added `php-parse --with-positions` option, which dumps nodes with position information.
969 the list items. If it was keyed, it was wrapped in `ArrayItem`. Now nested `List_` nodes are
996 * The `NameResolver` now adds a `namespacedName` attribute on name nodes that cannot be statically
1056 * [7.1] Added support for short array destructuring syntax. This means that `Array` nodes may now
1120 * Added `dumpComments` option to node dumper, to enable dumping of comments associated with nodes.
1131 * Added start file offset information to `Comment` nodes.
1174 * String parts of encapsed strings are now represented using `Scalar\EncapsStringPart` nodes.
1210 * Removed support for legacy node format. All nodes must have a `getSubNodeNames()` method now.
1215 * Group use declarations. These are represented using `Stmt\GroupUse` nodes. Furthermore a `type`
1233 * The `NodeTraverser` no longer clones nodes by default. The old behavior can be restored by
1235 * The constructor for `Scalar` nodes no longer has a default value. E.g. `new LNumber()` should now