Lines Matching refs:stmts
4829 function getFileDocComments(array $stmts): array { argument
4830 if (empty($stmts)) {
4834 $comments = $stmts[0]->getComments();
4846 function handleStatements(FileInfo $fileInfo, array $stmts, PrettyPrinterAbstract $prettyPrinter) { argument
4848 foreach ($stmts as $stmt) {
4856 handleStatements($fileInfo, $stmt->stmts, $prettyPrinter);
4898 foreach ($stmt->stmts as $classStmt) {
4993 $stmts = $parser->parse($code);
4994 $nodeTraverser->traverse($stmts);
4997 $fileDocComments = getFileDocComments($stmts);
5028 handleStatements($fileInfo, $stmts, $prettyPrinter);