File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
enum Ascii: string
13
13
{
14
- public const FILE_SEPARATOR = "\x1C" ;
15
- public const GROUP_SEPARATOR = "\x1D" ;
16
- public const NULL = "\x00" ;
17
- public const RECORD_SEPARATOR = "\x1E" ;
18
- public const UNIT_SEPARATOR = "\x1F" ;
19
-
20
14
/**
21
15
* Separates different files (databases)
22
16
*/
@@ -35,6 +29,26 @@ enum Ascii: string
35
29
*/
36
30
case UnitSeparator = self ::UNIT_SEPARATOR ;
37
31
32
+ #region groups of cases
33
+ /**
34
+ * Used to separate and qualify information in a logical sense
35
+ */
36
+ public const INFORMATION_SEPARATORS = [
37
+ self ::FileSeparator,
38
+ self ::GroupSeparator,
39
+ self ::RecordSeparator,
40
+ self ::UnitSeparator,
41
+ ];
42
+ #endregion
43
+
44
+ #region values of cases
45
+ public const FILE_SEPARATOR = "\x1C" ;
46
+ public const GROUP_SEPARATOR = "\x1D" ;
47
+ public const NULL = "\x00" ;
48
+ public const RECORD_SEPARATOR = "\x1E" ;
49
+ public const UNIT_SEPARATOR = "\x1F" ;
50
+ #endregion
51
+
38
52
/**
39
53
* @see implode()
40
54
*/
You can’t perform that action at this time.
0 commit comments