Searched refs:Float_ (Results 1 – 17 of 17) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Scalar/ |
H A D | Float_.php | 7 class Float_ extends Scalar { class 29 public static function fromString(string $str, array $attributes = []): Float_ { 33 return new Float_($float, $attributes); 78 class_alias(Float_::class, DNumber::class);
|
/PHP-Parser/test/PhpParser/Node/Scalar/ |
H A D | DNumberTest.php | 19 $this->assertInstanceOf(Float_::class, $lLumber); 21 /** @var Float_ $dnumber */
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | InterfaceTest.php | 12 use PhpParser\Node\Scalar\Float_; alias 53 new Node\Const_('SPEED_OF_LIGHT', new Float_(299792458.0)) 61 new Node\Const_('SPEED_OF_LIGHT', new Float_(299792458)) 108 new Node\Const_('SPEED_OF_LIGHT', new Float_(299792458))
|
H A D | ClassConstTest.php | 188 new Scalar\Float_(3.1415)
|
H A D | PropertyTest.php | 198 new Scalar\Float_(3.1415)
|
H A D | ParamTest.php | 53 new Scalar\Float_(3.1415)
|
/PHP-Parser/test/PhpParser/ |
H A D | CompatibilityTest.php | 24 $node = new Scalar\Float_(1.0); 53 $this->assertTrue($node instanceof Scalar\Float_);
|
H A D | PrettyPrinterTest.php | 7 use PhpParser\Node\Scalar\Float_; alias 162 [new Float_(\INF), '1.0E+1000'], 163 [new Float_(-\INF), '-1.0E+1000'], 164 [new Float_(-\NAN), '\NAN'],
|
H A D | BuilderHelpersTest.php | 186 $this->assertEquals(new Scalar\Float_(2.5), BuilderHelpers::normalizeValue(2.5));
|
H A D | NodeTraverserTest.php | 445 ['leaveNode', $num, [new Node\Scalar\Float_(42.0)]],
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderHelpers.php | 244 return new Scalar\Float_($value);
|
H A D | ConstExprEvaluator.php | 108 || $expr instanceof Scalar\Float_
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 281 * `Node\Scalar\DNumber` is now `Node\Scalar\Float_`.
|
/PHP-Parser/grammar/ |
H A D | php.y | 1245 …| T_DNUMBER { $$ = Scalar\Float_::fromString($1, attri…
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 229 protected function pScalar_Float(Scalar\Float_ $node): string {
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2587 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…
|
H A D | Php8.php | 2589 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…
|
Completed in 64 milliseconds