mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 23:34:10 +08:00
chore: initial commit
This commit is contained in:
41
src/constants.ts
Normal file
41
src/constants.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
// #region List markers
|
||||
|
||||
export const LIST_ITEM_MARKER = '-'
|
||||
export const LIST_ITEM_PREFIX = '- '
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Structural characters
|
||||
|
||||
export const COMMA = ','
|
||||
export const COLON = ':'
|
||||
export const SPACE = ' '
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Brackets and braces
|
||||
|
||||
export const OPEN_BRACKET = '['
|
||||
export const CLOSE_BRACKET = ']'
|
||||
export const OPEN_BRACE = '{'
|
||||
export const CLOSE_BRACE = '}'
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Literals
|
||||
|
||||
export const NULL_LITERAL = 'null'
|
||||
export const TRUE_LITERAL = 'true'
|
||||
export const FALSE_LITERAL = 'false'
|
||||
|
||||
// #endregion
|
||||
|
||||
// #region Escape characters
|
||||
|
||||
export const BACKSLASH = '\\'
|
||||
export const DOUBLE_QUOTE = '"'
|
||||
export const NEWLINE = '\n'
|
||||
export const CARRIAGE_RETURN = '\r'
|
||||
export const TAB = '\t'
|
||||
|
||||
// #endregion
|
||||
Reference in New Issue
Block a user