Update website

This commit is contained in:
Guilhem Lavaux 2024-11-19 08:02:04 +01:00
parent 4413528994
commit 1d90fbf296
6865 changed files with 1091082 additions and 0 deletions

View file

@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace Doctrine\RST\Parser;
/**
* "States" for DocumentParser as it parses line-by-line.
*/
final class State
{
/**
* There is currently no state: the next line will begin a new state
*/
public const BEGIN = 'begin';
/**
* Normal, non-indented, non-table lines
*/
public const NORMAL = 'normal';
public const DIRECTIVE = 'directive';
/**
* Indented lines
*/
public const BLOCK = 'block';
public const TITLE = 'title';
public const LIST = 'list';
public const SEPARATOR = 'separator';
public const CODE = 'code';
public const TABLE = 'table';
public const COMMENT = 'comment';
public const DEFINITION_LIST = 'definition_list';
}