| @@ 144-151 (lines=8) @@ | ||
| 141 | * |
|
| 142 | * @return string |
|
| 143 | */ |
|
| 144 | public function pStmt_Return(Stmt\Return_ $node) |
|
| 145 | { |
|
| 146 | return sprintf( |
|
| 147 | '%s%s;', |
|
| 148 | $this->color('return', SyntaxHighlighterConfig::TYPE_RETURN_NEW), |
|
| 149 | (null !== $node->expr ? ' ' . $this->p($node->expr) : '') |
|
| 150 | ); |
|
| 151 | } |
|
| 152 | ||
| 153 | // Control flow |
|
| 154 | ||
| @@ 351-358 (lines=8) @@ | ||
| 348 | * |
|
| 349 | * @return string |
|
| 350 | */ |
|
| 351 | public function pStmt_Break(Stmt\Break_ $node) |
|
| 352 | { |
|
| 353 | return sprintf( |
|
| 354 | '%s%s;', |
|
| 355 | $this->color('break', SyntaxHighlighterConfig::TYPE_KEYWORD), |
|
| 356 | ($node->num !== null ? ' ' . $this->p($node->num) : '') |
|
| 357 | ); |
|
| 358 | } |
|
| 359 | ||
| 360 | /** |
|
| 361 | * @param Stmt\Continue_ $node |
|
| @@ 365-372 (lines=8) @@ | ||
| 362 | * |
|
| 363 | * @return string |
|
| 364 | */ |
|
| 365 | public function pStmt_Continue(Stmt\Continue_ $node) |
|
| 366 | { |
|
| 367 | return sprintf( |
|
| 368 | '%s%s;', |
|
| 369 | $this->color('continue', SyntaxHighlighterConfig::TYPE_KEYWORD), |
|
| 370 | ($node->num !== null ? ' ' . $this->p($node->num) : '') |
|
| 371 | ); |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * @param Stmt\Throw_ $node |
|