| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1 ); |
| 4 | |
| 5 | namespace MediaWiki\Extension\Math\WikiTexVC\Nodes; |
| 6 | |
| 7 | class Dollar extends TexNode { |
| 8 | |
| 9 | public function __construct( TexArray $value ) { |
| 10 | parent::__construct( $value ); |
| 11 | } |
| 12 | |
| 13 | /** @inheritDoc */ |
| 14 | public function render() { |
| 15 | return '$' . parent::render() . '$'; |
| 16 | } |
| 17 | |
| 18 | /** @inheritDoc */ |
| 19 | public function extractIdentifiers( $args = null ) { |
| 20 | return []; |
| 21 | } |
| 22 | |
| 23 | } |