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.php22 $version = isset($options['version']) ? PhpVersion::fromString($options['version']) : 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.php130 $lexer = new PhpParser\Lexer\Emulative(\PhpParser\PhpVersion::fromString($phpVersion));
/PHP-Parser/test/PhpParser/Lexer/
H A DEmulativeTest.php400 $lexer = new Emulative(PhpVersion::fromString($phpVersion));
/PHP-Parser/grammar/
H A Dphp.y1194 …{ $$ = Scalar\String_::fromString($1, attributes(), $this->phpVersion->supportsUnicodeEscapes()); }
1203 …| 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.md1099 `LNumber::fromString()` method has been added instead.
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php2530 …$self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttribute…
2540 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…
H A DPhp8.php2524 …$self->semValue = Scalar\String_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttribute…
2534 …$self->semValue = Scalar\Float_::fromString($self->semStack[$stackPos-(1-1)], $self->getAttributes…

Completed in 66 milliseconds