Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constructs.js 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. 'use strict'
  2. Object.defineProperty(exports, '__esModule', {value: true})
  3. var text$1 = require('./initialize/text.js')
  4. var attention = require('./tokenize/attention.js')
  5. var autolink = require('./tokenize/autolink.js')
  6. var blockQuote = require('./tokenize/block-quote.js')
  7. var characterEscape = require('./tokenize/character-escape.js')
  8. var characterReference = require('./tokenize/character-reference.js')
  9. var codeFenced = require('./tokenize/code-fenced.js')
  10. var codeIndented = require('./tokenize/code-indented.js')
  11. var codeText = require('./tokenize/code-text.js')
  12. var definition = require('./tokenize/definition.js')
  13. var hardBreakEscape = require('./tokenize/hard-break-escape.js')
  14. var headingAtx = require('./tokenize/heading-atx.js')
  15. var htmlFlow = require('./tokenize/html-flow.js')
  16. var htmlText = require('./tokenize/html-text.js')
  17. var labelEnd = require('./tokenize/label-end.js')
  18. var labelStartImage = require('./tokenize/label-start-image.js')
  19. var labelStartLink = require('./tokenize/label-start-link.js')
  20. var lineEnding = require('./tokenize/line-ending.js')
  21. var list = require('./tokenize/list.js')
  22. var setextUnderline = require('./tokenize/setext-underline.js')
  23. var thematicBreak = require('./tokenize/thematic-break.js')
  24. var document = {
  25. 42: list,
  26. // Asterisk
  27. 43: list,
  28. // Plus sign
  29. 45: list,
  30. // Dash
  31. 48: list,
  32. // 0
  33. 49: list,
  34. // 1
  35. 50: list,
  36. // 2
  37. 51: list,
  38. // 3
  39. 52: list,
  40. // 4
  41. 53: list,
  42. // 5
  43. 54: list,
  44. // 6
  45. 55: list,
  46. // 7
  47. 56: list,
  48. // 8
  49. 57: list,
  50. // 9
  51. 62: blockQuote // Greater than
  52. }
  53. var contentInitial = {
  54. 91: definition // Left square bracket
  55. }
  56. var flowInitial = {
  57. '-2': codeIndented,
  58. // Horizontal tab
  59. '-1': codeIndented,
  60. // Virtual space
  61. 32: codeIndented // Space
  62. }
  63. var flow = {
  64. 35: headingAtx,
  65. // Number sign
  66. 42: thematicBreak,
  67. // Asterisk
  68. 45: [setextUnderline, thematicBreak],
  69. // Dash
  70. 60: htmlFlow,
  71. // Less than
  72. 61: setextUnderline,
  73. // Equals to
  74. 95: thematicBreak,
  75. // Underscore
  76. 96: codeFenced,
  77. // Grave accent
  78. 126: codeFenced // Tilde
  79. }
  80. var string = {
  81. 38: characterReference,
  82. // Ampersand
  83. 92: characterEscape // Backslash
  84. }
  85. var text = {
  86. '-5': lineEnding,
  87. // Carriage return
  88. '-4': lineEnding,
  89. // Line feed
  90. '-3': lineEnding,
  91. // Carriage return + line feed
  92. 33: labelStartImage,
  93. // Exclamation mark
  94. 38: characterReference,
  95. // Ampersand
  96. 42: attention,
  97. // Asterisk
  98. 60: [autolink, htmlText],
  99. // Less than
  100. 91: labelStartLink,
  101. // Left square bracket
  102. 92: [hardBreakEscape, characterEscape],
  103. // Backslash
  104. 93: labelEnd,
  105. // Right square bracket
  106. 95: attention,
  107. // Underscore
  108. 96: codeText // Grave accent
  109. }
  110. var insideSpan = {
  111. null: [attention, text$1.resolver]
  112. }
  113. var disable = {
  114. null: []
  115. }
  116. exports.contentInitial = contentInitial
  117. exports.disable = disable
  118. exports.document = document
  119. exports.flow = flow
  120. exports.flowInitial = flowInitial
  121. exports.insideSpan = insideSpan
  122. exports.string = string
  123. exports.text = text