Lines Matching refs:method

140   there is a single method `tokenize()` returning the tokens.
141 * The `Parser::getLexer()` method has been replaced by `Parser::getTokens()`.
157 * The `Node::getLine()` method has been deprecated. Use `Node::getStartLine()` instead.
175 * The `leaveNode()` method on visitors is now invoked in reverse order of `enterNode()`.
179 than an array of parts separated by namespace separators. The `getParts()` method returns the old
254 * Added `Parser::getLexer()` method.
268 * Fixed formatting preservation when adding *multiple* attributes to a class/method/etc that
282 * Added `__serialize` and `__unserialize` to magic method list.
284 * Fixed formatting preservation when adding attributes to a class/method/etc that previously had no…
328 `Expr\CallLike`, which provides an `isFirstClassCallable()` method to determine whether a
359 * An `addAttribute()` method accepting an `Attribute` or `AttributeGroup` has been adde to all
517 method containing only a comment, and using the formatting-preserving pretty printer, have been
537 * Added `getProperty()` method to `ClassLike` nodes.
621 Additionally `Builder\Property` now has a `setType()` method. (#567)
775 * Added `ClassMethod::isMagic()` method.
776 * Added `BuilderFactory` methods: `val()` method for creating an AST for a simple value, `concat()`
781 * Added `Node::setAttributes()` method.
806 `use Foo\Bar` and `use Foo\Bar as Bar` are now represented differently. The `getAlias()` method
814 * The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier.
815 * The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method.
817 * The `Node::setLine()` method has been removed. If you really need to, you can use `setAttribute()`
860 * Added `setDocComment()` method to namespace builder. (#437)
905 * The `Node::setLine()` method has been deprecated.
924 into `p()`, instead of directly dispatching to the type-specific printing method).
941 an undefined method exception or fatal error.
987 * Added `Node::setDocComment()` method.
988 * Added `Error::getMessageWithColumnInfo()` method.
1009 * The `Name::slice()` method now returns `null` for empty slices, previously `new Name([])` was
1020 * Removed `throw_on_error` parser option and `Parser::getErrors()` method. Use the `ErrorHandler`
1028 * [7.1] Function/method and parameter builders now support PHP 7.1 type hints (void, iterable and
1086 * The `NodeDumper` now prints class/method/property/constant modifiers, as well as the include and
1132 * Added `setReturnType()` method to function and method builders.
1139 * The protected `AbstractPrettyPrinter::pComments()` method no longer returns a trailing newline.
1150 * The internal (but public) method `Scalar\LNumber::parse()` has been removed. A non-internal
1151 `LNumber::fromString()` method has been added instead.
1164 * The `prettyPrintFile()` method will not strip a trailing `?>` from the raw data that follows a
1166 * The `prettyPrintFile()` method will not strip an opening `<?php` if the file starts with a
1210 * Removed support for legacy node format. All nodes must have a `getSubNodeNames()` method now.