Lines Matching refs:method

117   there is a single method `tokenize()` returning the tokens.
118 * The `Parser::getLexer()` method has been replaced by `Parser::getTokens()`.
134 * The `Node::getLine()` method has been deprecated. Use `Node::getStartLine()` instead.
152 * The `leaveNode()` method on visitors is now invoked in reverse order of `enterNode()`.
156 than an array of parts separated by namespace separators. The `getParts()` method returns the old
231 * Added `Parser::getLexer()` method.
245 * Fixed formatting preservation when adding *multiple* attributes to a class/method/etc that
259 * Added `__serialize` and `__unserialize` to magic method list.
261 * Fixed formatting preservation when adding attributes to a class/method/etc that previously had no…
305 `Expr\CallLike`, which provides an `isFirstClassCallable()` method to determine whether a
336 * An `addAttribute()` method accepting an `Attribute` or `AttributeGroup` has been adde to all
494 method containing only a comment, and using the formatting-preserving pretty printer, have been
514 * Added `getProperty()` method to `ClassLike` nodes.
598 Additionally `Builder\Property` now has a `setType()` method. (#567)
752 * Added `ClassMethod::isMagic()` method.
753 * Added `BuilderFactory` methods: `val()` method for creating an AST for a simple value, `concat()`
758 * Added `Node::setAttributes()` method.
783 `use Foo\Bar` and `use Foo\Bar as Bar` are now represented differently. The `getAlias()` method
791 * The `ClassConst::isStatic()` method has been removed. Constants cannot have a static modifier.
792 * The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method.
794 * The `Node::setLine()` method has been removed. If you really need to, you can use `setAttribute()`
837 * Added `setDocComment()` method to namespace builder. (#437)
882 * The `Node::setLine()` method has been deprecated.
901 into `p()`, instead of directly dispatching to the type-specific printing method).
918 an undefined method exception or fatal error.
964 * Added `Node::setDocComment()` method.
965 * Added `Error::getMessageWithColumnInfo()` method.
986 * The `Name::slice()` method now returns `null` for empty slices, previously `new Name([])` was
997 * Removed `throw_on_error` parser option and `Parser::getErrors()` method. Use the `ErrorHandler`
1005 * [7.1] Function/method and parameter builders now support PHP 7.1 type hints (void, iterable and
1063 * The `NodeDumper` now prints class/method/property/constant modifiers, as well as the include and
1109 * Added `setReturnType()` method to function and method builders.
1116 * The protected `AbstractPrettyPrinter::pComments()` method no longer returns a trailing newline.
1127 * The internal (but public) method `Scalar\LNumber::parse()` has been removed. A non-internal
1128 `LNumber::fromString()` method has been added instead.
1141 * The `prettyPrintFile()` method will not strip a trailing `?>` from the raw data that follows a
1143 * The `prettyPrintFile()` method will not strip an opening `<?php` if the file starts with a
1187 * Removed support for legacy node format. All nodes must have a `getSubNodeNames()` method now.