Searched refs:prefix (Results 1 – 15 of 15) sorted by relevance
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | GroupUse.php | 15 public Name $prefix; variable in PhpParser\\Node\\Stmt\\GroupUse 22 * @param Name $prefix Prefix for uses 27 …public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attri… argument 30 $this->prefix = $prefix;
|
/PHP-Parser/test/code/parser/stmt/namespace/ |
H A D | groupUse.test | 14 prefix: Name( 29 prefix: Name( 51 prefix: Name( 73 prefix: Name( 95 prefix: Name( 117 prefix: Name(
|
H A D | groupUsePositions.test | 1 Ensure correct file position attributes for group use prefix 10 prefix: Name[2:5 - 2:11](
|
H A D | groupUseTrailingComma.test | 10 prefix: Name( 25 prefix: Name(
|
H A D | groupUseErrors.test | 12 prefix: Name( 30 prefix: Name(
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 93 if ($node instanceof Stmt\GroupUse && $node->prefix->isUnqualified() && 94 $this->tokens[$node->prefix->getStartTokenPos()]->is(\T_NAME_FULLY_QUALIFIED)
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 64 $this->addAlias($use, $node->type, $node->prefix); 171 private function addAlias(Node\UseItem $use, int $type, ?Name $prefix = null): void { argument 173 $name = $prefix ? Name::concat($prefix, $use->name) : $use->name;
|
/PHP-Parser/ |
H A D | UPGRADE-1.0.md | 11 The library has been moved to use namespaces with the `PhpParser` vendor prefix. However, the old n… 29 Note that the `PHPParser` prefix was changed to `PhpParser`. While PHP class names are technically …
|
H A D | CHANGELOG.md | 1001 * Fixed attribute assignment for `GroupUse` prefix and variables in interpolated strings.
|
/PHP-Parser/lib/PhpParser/ |
H A D | PrettyPrinterAbstract.php | 390 $prefix = ''; 393 $prefix = '('; 397 return $prefix . $this->p($leftNode, $newPrecedenceLHS, $newPrecedenceLHS) 414 $prefix = ''; 417 $prefix = '('; 428 return $prefix . $operatorString . $printedArg . $suffix; 444 $prefix = ''; 447 $prefix = '('; 454 return $prefix . $this->p($node, $opPrecedence, $lhsPrecedence) . $operatorString . $suffix;
|
H A D | ParserAbstract.php | 784 $prefix = substr($matches[1], 0, $indentLen); 785 if (false !== strpos($prefix, $indentChar === " " ? "\t" : " ")) { 789 } elseif (strlen($prefix) < $indentLen && !isset($matches[2])) { 796 return substr($matches[0], strlen($prefix));
|
/PHP-Parser/doc/component/ |
H A D | Name_resolution.markdown | 29 namespace prefix. For historic reasons this is a **property** rather than an attribute.
|
/PHP-Parser/test/code/parser/errorHandling/ |
H A D | recovery.test | 465 prefix: Name( 591 prefix: Name( 606 prefix: Name(
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 203 without the `PhpParser\Node\` prefix and `\` replaced with `_`. It also does not contain a trailing 474 the namespace prefix:
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 765 return 'use ' . $this->pUseType($node->type) . $this->pName($node->prefix)
|
Completed in 30 milliseconds