Home
last modified time | relevance | path

Searched refs:string (Results 251 – 264 of 264) sorted by relevance

1...<<11

/PHP-Parser/tools/fuzzing/
H A Dtarget.php103 $fuzzer->setTarget(function(string $input) use($lexer, $parser, $prettyPrinter, $nodeDumper, $visit…
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown155 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 DconstantDeref.test1 Array/string dereferencing
/PHP-Parser/
H A DUPGRADE-5.0.md151 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 DCHANGELOG.md57 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 Dphpstan-baseline.neon184 message: "#^Unary operation \"\\+\" on string results in an error\\.$#"
H A DUPGRADE-3.0.md154 * The node dumper now prints numeric values that act as enums/flags in a string representation.
/PHP-Parser/test/code/parser/expr/
H A Dconstant_expr.test13 This is a test string
179 value: This is a test string
/PHP-Parser/test/code/parser/stmt/class/
H A Dproperty_hooks.test19 set(string $value) { }
219 name: string
/PHP-Parser/test/PhpParser/
H A DParserTestAbstract.php208 public function tokenize(string $code, ?ErrorHandler $errorHandler = null): array {
H A DNodeAbstractTest.php22 public function getType(): string {
/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php64 public function tokenize(string $code, ?ErrorHandler $errorHandler = null): array {
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test1366 /** @var ?string */
1369 public function __construct(string $s) {
1407 0: /** @var ?string */
1424 name: string
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown15 return new Node\Scalar\String_((string) $node->value);

Completed in 29 milliseconds

1...<<11