Searched refs:string (Results 251 – 264 of 264) sorted by relevance
1...<<11
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 103 $fuzzer->setTarget(function(string $input) use($lexer, $parser, $prettyPrinter, $nodeDumper, $visit…
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 155 name or code string: 186 * `PhpParser\Node\Scalar`s are nodes representing scalar values, like `'string'` 240 [0] // the first of them (the string node) 327 The above node visitor would change all string literals in the program to `'foo'`. 467 possible, so we don't need to do that. We only need to create a string with the name parts separated 469 create a name with backslashes either write `$node->toString()` or `(string) $node`.) Then we create 470 a new name from the string and return it. Returning a new node replaces the old node. 498 There is not much more to it than converting the namespaced name to string with `_` as separator.
|
/PHP-Parser/test/code/parser/expr/fetchAndCall/ |
H A D | constantDeref.test | 1 Array/string dereferencing
|
/PHP-Parser/ |
H A D | UPGRADE-5.0.md | 151 namespace separators. Now, `Name` nodes instead have a `name` subnode, which stores a plain string. 157 `Name` constructor continues to accept both the string and the array representation. 409 ): string; 419 ): string { 426 ): string { 480 public string $text; 484 public function is(int|string|array $kind): bool;
|
H A D | CHANGELOG.md | 57 with incorrect type (such as string instead of int). This would lead to `TypeError`s down the 155 * The `Name` subnode `parts` has been replaced by `name`, which stores the name as a string rather 197 doc string semantics. 201 * Fixed various cases where `\r` at the end of a doc string could be incorrectly merged into a CRLF 777 a plain string. 779 than a plain string. 780 * The `var` subnode of `ClosureUse` now contains a `Variable` rather than a plain string. 781 * The `var` subnode of `Catch` now contains a `Variable` rather than a plain string. 854 builtin type (a simple `"object"` string), rather than a class `Name`. 1105 single-quoted, double-quoted, heredoc and nowdoc string. [all …]
|
H A D | phpstan-baseline.neon | 184 message: "#^Unary operation \"\\+\" on string results in an error\\.$#"
|
H A D | UPGRADE-3.0.md | 154 * The node dumper now prints numeric values that act as enums/flags in a string representation.
|
/PHP-Parser/test/code/parser/expr/ |
H A D | constant_expr.test | 13 This is a test string 179 value: This is a test string
|
/PHP-Parser/test/code/parser/stmt/class/ |
H A D | property_hooks.test | 19 set(string $value) { } 219 name: string
|
/PHP-Parser/test/PhpParser/ |
H A D | ParserTestAbstract.php | 208 public function tokenize(string $code, ?ErrorHandler $errorHandler = null): array {
|
H A D | NodeAbstractTest.php | 22 public function getType(): string {
|
/PHP-Parser/lib/PhpParser/Lexer/ |
H A D | Emulative.php | 64 public function tokenize(string $code, ?ErrorHandler $errorHandler = null): array {
|
/PHP-Parser/test/code/parser/errorHandling/ |
H A D | recovery.test | 1366 /** @var ?string */ 1369 public function __construct(string $s) { 1407 0: /** @var ?string */ 1424 name: string
|
/PHP-Parser/doc/component/ |
H A D | Walking_the_AST.markdown | 15 return new Node\Scalar\String_((string) $node->value);
|
Completed in 29 milliseconds
1...<<11