Home
last modified time | relevance | path

Searched refs:prefix (Results 1 – 15 of 15) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DGroupUse.php15 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 DgroupUse.test14 prefix: Name(
29 prefix: Name(
51 prefix: Name(
73 prefix: Name(
95 prefix: Name(
117 prefix: Name(
H A DgroupUsePositions.test1 Ensure correct file position attributes for group use prefix
10 prefix: Name[2:5 - 2:11](
H A DgroupUseTrailingComma.test10 prefix: Name(
25 prefix: Name(
H A DgroupUseErrors.test12 prefix: Name(
30 prefix: Name(
/PHP-Parser/tools/fuzzing/
H A Dtarget.php93 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 DNameResolver.php64 $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 DUPGRADE-1.0.md11 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 DCHANGELOG.md1001 * Fixed attribute assignment for `GroupUse` prefix and variables in interpolated strings.
/PHP-Parser/lib/PhpParser/
H A DPrettyPrinterAbstract.php390 $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 DParserAbstract.php786 $prefix = substr($matches[1], 0, $indentLen);
787 if (false !== strpos($prefix, $indentChar === " " ? "\t" : " ")) {
791 } elseif (strlen($prefix) < $indentLen && !isset($matches[2])) {
798 return substr($matches[0], strlen($prefix));
/PHP-Parser/doc/component/
H A DName_resolution.markdown29 namespace prefix. For historic reasons this is a **property** rather than an attribute.
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test465 prefix: Name(
591 prefix: Name(
606 prefix: Name(
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown203 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 DStandard.php765 return 'use ' . $this->pUseType($node->type) . $this->pName($node->prefix)

Completed in 35 milliseconds