Update website
This commit is contained in:
parent
4413528994
commit
1d90fbf296
6865 changed files with 1091082 additions and 0 deletions
30
vendor/doctrine/rst-parser/lib/LaTeX/Directives/LaTeXMain.php
vendored
Normal file
30
vendor/doctrine/rst-parser/lib/LaTeX/Directives/LaTeXMain.php
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\RST\LaTeX\Directives;
|
||||
|
||||
use Doctrine\RST\Directives\Directive;
|
||||
use Doctrine\RST\Nodes\Node;
|
||||
use Doctrine\RST\Parser;
|
||||
|
||||
/**
|
||||
* Marks the document as LaTeX main
|
||||
*/
|
||||
final class LaTeXMain extends Directive
|
||||
{
|
||||
public function getName(): string
|
||||
{
|
||||
return 'latex-main';
|
||||
}
|
||||
|
||||
/** @param string[] $options */
|
||||
public function processNode(
|
||||
Parser $parser,
|
||||
string $variable,
|
||||
string $data,
|
||||
array $options
|
||||
): ?Node {
|
||||
return $parser->getNodeFactory()->createMainNode();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue