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 1111 */
1212enum Ascii: string
1313{
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-
2014 /**
2115 * Separates different files (databases)
2216 */
@@ -35,6 +29,26 @@ enum Ascii: string
3529 */
3630 case UnitSeparator = self ::UNIT_SEPARATOR ;
3731
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+
3852 /**
3953 * @see implode()
4054 */
You can’t perform that action at this time.
0 commit comments