Lines Matching refs:stmts
4690 function getFileDocComments(array $stmts): array { argument
4691 if (empty($stmts)) {
4695 $comments = $stmts[0]->getComments();
4707 function handleStatements(FileInfo $fileInfo, array $stmts, PrettyPrinterAbstract $prettyPrinter) { argument
4709 foreach ($stmts as $stmt) {
4717 handleStatements($fileInfo, $stmt->stmts, $prettyPrinter);
4759 foreach ($stmt->stmts as $classStmt) {
4854 $stmts = $parser->parse($code);
4855 $nodeTraverser->traverse($stmts);
4858 $fileDocComments = getFileDocComments($stmts);
4889 handleStatements($fileInfo, $stmts, $prettyPrinter);