Lines Matching refs:stmts
3610 function getFileDocComment(array $stmts): ?DocComment { argument
3611 if (empty($stmts)) {
3615 $comments = $stmts[0]->getComments();
3627 function handleStatements(FileInfo $fileInfo, array $stmts, PrettyPrinterAbstract $prettyPrinter) { argument
3629 foreach ($stmts as $stmt) {
3635 handleStatements($fileInfo, $stmt->stmts, $prettyPrinter);
3675 foreach ($stmt->stmts as $classStmt) {
3761 $stmts = $parser->parse($code);
3762 $nodeTraverser->traverse($stmts);
3765 $fileDocComment = getFileDocComment($stmts);
3795 handleStatements($fileInfo, $stmts, $prettyPrinter);