Home
last modified time | relevance | path

Searched refs:LNumber (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DLNumber.php9 class LNumber extends Int_ { class
H A DInt_.php82 class_alias(Int_::class, LNumber::class);
/PHP-Parser/test/code/formatPreservation/
H A Dmatch.test28 $stmts[0]->expr->expr->arms[0]->conds[] = new Scalar\LNumber(3);
69 $stmts[0]->expr->expr->arms[0]->conds = [new Scalar\LNumber(1)];
H A DinsertionOfNullable.test87 $stmts[7]->num = new Scalar\LNumber(2);
88 $stmts[8]->num = new Scalar\LNumber(2);
H A Denum.test55 $stmts[0]->stmts[0]->expr = new Scalar\LNumber(1);
H A DlistInsertion.test285 array_unshift($stmts[0]->expr->expr->items, new Expr\ArrayItem(new Scalar\LNumber(42)));
286 $stmts[0]->expr->expr->items[] = new Expr\ArrayItem(new Scalar\LNumber(24));
303 $stmts[0]->expr->expr->items[] = new Expr\ArrayItem(new Scalar\LNumber(24));
/PHP-Parser/test/PhpParser/
H A DCompatibilityTest.php27 $this->assertTrue($node instanceof Scalar\LNumber);
54 $node = new Node\Scalar\LNumber(1);
60 $node = new Stmt\DeclareDeclare('strict_types', new Scalar\LNumber(1));
/PHP-Parser/
H A DUPGRADE-2.0.md71 `new LNumber()` should be replaced by `new LNumber(0)`.
H A DCHANGELOG.md292 * Added `rawValue` attribute to `LNumber`, `DNumber` and `String_` nodes, which stores the unparsed
937 * In `"$foo[0]"` the `0` is now parsed as an `LNumber` rather than `String`. (#325)
1124 * Added `kind` attribute to `Scalar\LNumber` to distinguish between decimal, binary, octal and
1150 * The internal (but public) method `Scalar\LNumber::parse()` has been removed. A non-internal
1151 `LNumber::fromString()` method has been added instead.
1235 * The constructor for `Scalar` nodes no longer has a default value. E.g. `new LNumber()` should now
1236 be written as `new LNumber(0)`.
H A Dphpstan-baseline.neon121 path: lib/PhpParser/Node/Scalar/LNumber.php
H A DUPGRADE-5.0.md280 * `Node\Scalar\LNumber` is now `Node\Scalar\Int_`.
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown107 if ($node instanceof Node\Scalar\LNumber) {
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown187 (`PhpParser\Node\Scalar\String_`), `0` (`PhpParser\Node\Scalar\LNumber`) or magic constants

Completed in 17 milliseconds