Searched refs:fromString (Results 1 – 17 of 17) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | PhpVersionTest.php | 10 $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 D | CodeParsingTest.php | 24 ? PhpVersion::getNewestSupported() : PhpVersion::fromString($version);
|
H A D | PrettyPrinterTest.php | 23 ? PhpVersion::fromString($parserVersion) : PhpVersion::getNewestSupported()); 25 … 'phpVersion' => $printerVersion !== null ? PhpVersion::fromString($printerVersion) : null,
|
/PHP-Parser/lib/PhpParser/Node/Scalar/ |
H A D | Float_.php | 29 public static function fromString(string $str, array $attributes = []): Float_ { function in PhpParser\\Node\\Scalar\\Float_
|
H A D | Int_.php | 42 …public static function fromString(string $str, array $attributes = [], bool $allowInvalidOctal = f… function in PhpParser\\Node\\Scalar\\Int_
|
H A D | String_.php | 49 …public static function fromString(string $str, array $attributes = [], bool $parseUnicodeEscape = … function in PhpParser\\Node\\Scalar\\String_
|
/PHP-Parser/lib/PhpParser/ |
H A D | PhpVersion.php | 59 public static function fromString(string $version): self { function in PhpParser\\PhpVersion
|
H A D | ParserAbstract.php | 740 return Int_::fromString($str, $attributes, $allowInvalidOctal);
|
/PHP-Parser/bin/ |
H A D | php-parse | 196 $attributes['version'] = PhpParser\PhpVersion::fromString($matches[1]);
|
/PHP-Parser/test_old/ |
H A D | run.php | 142 $parser = (new PhpParser\ParserFactory())->createForVersion(PhpParser\PhpVersion::fromString($phpVe…
|
/PHP-Parser/test/PhpParser/Lexer/ |
H A D | EmulativeTest.php | 434 $lexer = new Emulative(PhpVersion::fromString($phpVersion));
|
/PHP-Parser/grammar/ |
H A D | php.y | 1236 …{ $$ = Scalar\String_::fromString($1, attributes(), $this->phpVersion->supportsUnicodeEscapes()); } 1245 …| T_DNUMBER { $$ = Scalar\Float_::fromString($1, attri…
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 41 $parser = (new ParserFactory())->createForVersion(PhpVersion::fromString('8.1'));
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 63 $parser = $factory->createForVersion(PhpVersion::fromString("5.6"));
|
H A D | CHANGELOG.md | 1151 `LNumber::fromString()` method has been added instead.
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 2577 …$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 D | Php8.php | 2579 …$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 48 milliseconds