Home
last modified time | relevance | path

Searched refs:Doc (Results 1 – 25 of 25) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNodeAbstract.php116 public function getDocComment(): ?Comment\Doc {
120 if ($comment instanceof Comment\Doc) {
135 public function setDocComment(Comment\Doc $docComment): void {
138 if ($comments[$i] instanceof Comment\Doc) {
H A DNode.php105 public function getDocComment(): ?Comment\Doc;
114 public function setDocComment(Comment\Doc $docComment): void;
H A DBuilderHelpers.php286 public static function normalizeDocComment($docComment): Comment\Doc {
287 if ($docComment instanceof Comment\Doc) {
292 return new Comment\Doc($docComment);
H A DJsonDecoder.php73 $className = $value['nodeType'] === 'Comment' ? Comment::class : Comment\Doc::class;
H A DComment.php196 $type = $this instanceof Comment\Doc ? 'Comment_Doc' : 'Comment';
H A DParserAbstract.php894 ? new Comment\Doc($token->text, $token->line, $token->pos, $tokenPos,
/PHP-Parser/lib/PhpParser/Comment/
H A DDoc.php5 class Doc extends \PhpParser\Comment { class
/PHP-Parser/test/code/formatPreservation/
H A Dcomments.test42 $method->setAttribute('comments', [new Comment\Doc("/**\n *\n */")]);
58 $stmts[0]->setDocComment(new Comment\Doc("/** foo */"));
H A DarrayInsertionWithComments.test11 $node->setAttribute('comments', [new Comment\Doc(<<<COMMENT
/PHP-Parser/test/PhpParser/Builder/
H A DNamespaceTest.php5 use PhpParser\Comment\Doc; alias
18 $docComment = new Doc('/** Test */');
H A DEnumTest.php89 new Comment\Doc($docComment)
96 ->setDocComment(new Comment\Doc($docComment))
102 new Comment\Doc($docComment)
H A DClassTest.php124 new Comment\Doc($docComment)
131 ->setDocComment(new Comment\Doc($docComment))
137 new Comment\Doc($docComment)
H A DEnumCaseTest.php31 'comments' => [new Comment\Doc('/** Test */')]
H A DTraitTest.php47 new Comment\Doc('/** Nice trait */')
H A DFunctionTest.php85 'comments' => [new Comment\Doc('/** Test */')]
H A DInterfaceTest.php80 'comments' => [new Comment\Doc('/** Test */')]
H A DClassConstTest.php98 'comments' => [new Comment\Doc('/** Test */')]
H A DMethodTest.php127 'comments' => [new Comment\Doc('/** Test */')]
H A DPropertyTest.php118 'comments' => [new Comment\Doc('/** Test */')]
/PHP-Parser/test/PhpParser/
H A DNodeAbstractTest.php38 new Comment\Doc('/** doc comment */'),
95 $docComment = new Comment\Doc('/** doc */');
100 $docComment = new Comment\Doc('/** doc 2 */');
107 $docComment = new Comment\Doc('/** baz */');
113 $newDocComment = new Comment\Doc('/** new baz */');
H A DParserTestAbstract.php57 new Comment\Doc('/** Doc comment */',
H A DBuilderHelpersTest.php205 $docComment = new Comment\Doc('Some doc comment');
H A DPrettyPrinterTest.php75 $comment = new Comment\Doc("/**\n * This is a comment\n */");
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DCommentAnnotatingVisitor.php49 $comments[] = new Comment\Doc(
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown211 `PhpParser\Comment[\Doc]` instances.

Completed in 24 milliseconds