Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 17 of 17) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DPhpVersionTest.php10 $version = PhpVersion::fromString('8.2');
13 $version = PhpVersion::fromString('8.2.14');
16 $version = PhpVersion::fromString('8.2.14rc1');
23 PhpVersion::fromString('8');
H A DCodeParsingTest.php24 ? PhpVersion::getNewestSupported() : PhpVersion::fromString($version);
H A DPrettyPrinterTest.php23 ? PhpVersion::fromString($parserVersion) : PhpVersion::getNewestSupported());
25 … 'phpVersion' => $printerVersion !== null ? PhpVersion::fromString($printerVersion) : null,
/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DFloat_.php29 public static function fromString(string $str, array $attributes = []): Float_ { function in PhpParser\\Node\\Scalar\\Float_
H A DInt_.php42 …public static function fromString(string $str, array $attributes = [], bool $allowInvalidOctal = f… function in PhpParser\\Node\\Scalar\\Int_
H A DString_.php49 …public static function fromString(string $str, array $attributes = [], bool $parseUnicodeEscape = … function in PhpParser\\Node\\Scalar\\String_
/PHP-Parser/lib/PhpParser/
H A DPhpVersion.php59 public static function fromString(string $version): self { function in PhpParser\\PhpVersion
H A DParserAbstract.php740 return Int_::fromString($str, $attributes, $allowInvalidOctal);
/PHP-Parser/bin/
H A Dphp-parse196 $attributes['version'] = PhpParser\PhpVersion::fromString($matches[1]);
/PHP-Parser/test_old/
H A Drun.php142 $parser = (new PhpParser\ParserFactory())->createForVersion(PhpParser\PhpVersion::fromString($phpVe…
/PHP-Parser/test/PhpParser/Lexer/
H A DEmulativeTest.php434 $lexer = new Emulative(PhpVersion::fromString($phpVersion));
/PHP-Parser/grammar/
H A Dphp.y1236 …{ $$ = Scalar\String_::fromString($1, attributes(), $this->phpVersion->supportsUnicodeEscapes()); }
1245 …| T_DNUMBER { $$ = Scalar\Float_::fromString($1, attri…
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown41 $parser = (new ParserFactory())->createForVersion(PhpVersion::fromString('8.1'));
/PHP-Parser/
H A DUPGRADE-5.0.md63 $parser = $factory->createForVersion(PhpVersion::fromString("5.6"));
H A DCHANGELOG.md1151 `LNumber::fromString()` method has been added instead.
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2577 …$self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttribute…
2587 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…
H A DPhp8.php2579 …$self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttribute…
2589 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…

Completed in 71 milliseconds