/PHP-Parser/ |
H A D | phpstan-baseline.neon | 6 path: lib/PhpParser/Builder/ClassConst.php 16 path: lib/PhpParser/BuilderFactory.php 21 path: lib/PhpParser/BuilderFactory.php 26 path: lib/PhpParser/BuilderFactory.php 31 path: lib/PhpParser/BuilderFactory.php 71 path: lib/PhpParser/JsonDecoder.php 76 path: lib/PhpParser/JsonDecoder.php 81 path: lib/PhpParser/JsonDecoder.php 86 path: lib/PhpParser/JsonDecoder.php 116 path: lib/PhpParser/NodeDumper.php [all …]
|
/PHP-Parser/lib/PhpParser/Builder/ |
H A D | Declaration.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 8 abstract class Declaration implements PhpParser\Builder { 15 * @param PhpParser\Node\Stmt|PhpParser\Builder $stmt The statement to add 24 * @param (PhpParser\Node\Stmt|PhpParser\Builder)[] $stmts The statements to add 39 * @param PhpParser\Comment\Doc|string $docComment Doc comment to set
|
H A D | EnumCase.php | 5 namespace PhpParser\Builder; 7 use PhpParser; alias 8 use PhpParser\BuilderHelpers; 9 use PhpParser\Node; 10 use PhpParser\Node\Identifier; 11 use PhpParser\Node\Stmt; 13 class EnumCase implements PhpParser\Builder { 48 * @param PhpParser\Comment\Doc|string $docComment Doc comment to set 78 public function getNode(): PhpParser\Node {
|
H A D | Namespace_.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Node; 8 use PhpParser\Node\Stmt; 27 * @param Node|PhpParser\Builder $stmt The statement to add
|
H A D | ClassConst.php | 5 namespace PhpParser\Builder; 7 use PhpParser; alias 8 use PhpParser\BuilderHelpers; 9 use PhpParser\Modifiers; 10 use PhpParser\Node; 11 use PhpParser\Node\Const_; 12 use PhpParser\Node\Identifier; 13 use PhpParser\Node\Stmt; 15 class ClassConst implements PhpParser\Builder { 98 * @param PhpParser\Comment\Doc|string $docComment Doc comment to set [all …]
|
H A D | Interface_.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Node; 8 use PhpParser\Node\Name; 9 use PhpParser\Node\Stmt; 49 * @param Stmt|PhpParser\Builder $stmt The statement to add 87 public function getNode(): PhpParser\Node {
|
H A D | Function_.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Node; 8 use PhpParser\Node\Stmt; 30 * @param Node|PhpParser\Builder $stmt The statement to add
|
H A D | Enum_.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Node; 8 use PhpParser\Node\Identifier; 9 use PhpParser\Node\Name; 10 use PhpParser\Node\Stmt; 68 * @param Stmt|PhpParser\Builder $stmt The statement to add 108 public function getNode(): PhpParser\Node {
|
H A D | Property.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Modifiers; 8 use PhpParser\Node; 9 use PhpParser\Node\Identifier; 10 use PhpParser\Node\Name; 11 use PhpParser\Node\Stmt; 12 use PhpParser\Node\ComplexType; 14 class Property implements PhpParser\Builder { [all …]
|
H A D | Trait_.php | 3 namespace PhpParser\Builder; 5 use PhpParser; alias 6 use PhpParser\BuilderHelpers; 7 use PhpParser\Node; 8 use PhpParser\Node\Stmt; 35 * @param Stmt|PhpParser\Builder $stmt The statement to add 75 public function getNode(): PhpParser\Node {
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | TraitTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Comment; 6 use PhpParser\Modifiers; 7 use PhpParser\Node\Arg; 8 use PhpParser\Node\Attribute; 9 use PhpParser\Node\AttributeGroup; 10 use PhpParser\Node\Const_; 11 use PhpParser\Node\Identifier; 12 use PhpParser\Node\Name; 13 use PhpParser\Node\Scalar\Int_; [all …]
|
H A D | PropertyTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Comment; 6 use PhpParser\Error; 7 use PhpParser\Modifiers; 8 use PhpParser\Node\Arg; 9 use PhpParser\Node\Attribute; 11 use PhpParser\Node\Expr; 12 use PhpParser\Node\Identifier; 13 use PhpParser\Node\Name; 16 use PhpParser\Node\Scalar; [all …]
|
H A D | EnumCaseTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Comment; 6 use PhpParser\Node\Arg; 7 use PhpParser\Node\Attribute; 8 use PhpParser\Node\AttributeGroup; 9 use PhpParser\Node\Identifier; 10 use PhpParser\Node\Name; 11 use PhpParser\Node\Scalar; 12 use PhpParser\Node\Scalar\Int_; 13 use PhpParser\Node\Stmt;
|
H A D | ClassConstTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Comment; 6 use PhpParser\Modifiers; 7 use PhpParser\Node\Arg; 8 use PhpParser\Node\Attribute; 10 use PhpParser\Node\Const_; 11 use PhpParser\Node\Expr; 12 use PhpParser\Node\Identifier; 13 use PhpParser\Node\Name; 14 use PhpParser\Node\Scalar; [all …]
|
H A D | UseTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Builder; 6 use PhpParser\Node\Name; 7 use PhpParser\Node\Stmt; 17 new \PhpParser\Node\UseItem(new Name('Foo\Bar'), null) 22 new \PhpParser\Node\UseItem(new Name('Foo\Bar'), 'XYZ') 27 new \PhpParser\Node\UseItem(new Name('foo\bar'), 'foo') 32 new \PhpParser\Node\UseItem(new Name('foo\BAR'), 'FOO')
|
H A D | FunctionTest.php | 3 namespace PhpParser\Builder; 5 use PhpParser\Comment; 6 use PhpParser\Node; 7 use PhpParser\Node\Arg; 8 use PhpParser\Node\Attribute; 9 use PhpParser\Node\AttributeGroup; 10 use PhpParser\Node\Expr\Print_; 12 use PhpParser\Node\Identifier; 13 use PhpParser\Node\Name; 14 use PhpParser\Node\Scalar\Int_; [all …]
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NodeConnectingVisitorTest.php | 3 namespace PhpParser\NodeVisitor; 5 use PhpParser\Node\Expr\ConstFetch; 6 use PhpParser\Node\Stmt\Else_; 7 use PhpParser\Node\Stmt\If_; 8 use PhpParser\NodeFinder; 9 use PhpParser\NodeTraverser; 10 use PhpParser\ParserFactory;
|
H A D | ParentConnectingVisitorTest.php | 3 namespace PhpParser\NodeVisitor; 5 use PhpParser\Node\Stmt\ClassMethod; 6 use PhpParser\NodeFinder; 7 use PhpParser\NodeTraverser; 8 use PhpParser\ParserFactory;
|
/PHP-Parser/lib/PhpParser/Node/Expr/ |
H A D | StaticCall.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Arg; 7 use PhpParser\Node\Expr; 8 use PhpParser\Node\Identifier; 9 use PhpParser\Node\VariadicPlaceholder;
|
H A D | New_.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Arg; 7 use PhpParser\Node\Expr; 8 use PhpParser\Node\VariadicPlaceholder;
|
H A D | MethodCall.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Arg; 7 use PhpParser\Node\Expr; 8 use PhpParser\Node\Identifier; 9 use PhpParser\Node\VariadicPlaceholder;
|
H A D | NullsafeMethodCall.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Arg; 7 use PhpParser\Node\Expr; 8 use PhpParser\Node\Identifier; 9 use PhpParser\Node\VariadicPlaceholder;
|
H A D | StaticPropertyFetch.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Expr; 7 use PhpParser\Node\Name; 8 use PhpParser\Node\VarLikeIdentifier;
|
H A D | ClassConstFetch.php | 3 namespace PhpParser\Node\Expr; 5 use PhpParser\Node; 6 use PhpParser\Node\Expr; 7 use PhpParser\Node\Identifier; 8 use PhpParser\Node\Name;
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 5 use PhpParser\Node\Expr; 6 use PhpParser\Node\Scalar; 7 use PhpParser\Node\Stmt; 8 use PhpParser\NodeVisitor; 10 if (class_exists(PhpParser\Parser\Php7::class)) { 24 $lexer = new PhpParser\Lexer(); 25 $parser = new PhpParser\Parser\Php7($lexer); 27 $nodeDumper = new PhpParser\NodeDumper(); 50 public function leaveNode(PhpParser\Node $node) { 100 $traverser = new PhpParser\NodeTraverser(); [all …]
|