Wrappers.ts 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*************************************************************
  2. *
  3. * Copyright (c) 2018-2022 The MathJax Consortium
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /**
  18. * @fileoverview An object listing all the SVGWrapper classes
  19. *
  20. * @author dpvc@mathjax.org (Davide Cervone)
  21. */
  22. import {WrapperConstructor} from '../common/Wrapper.js';
  23. import {SVGWrapper} from './Wrapper.js';
  24. import {SVGmath} from './Wrappers/math.js';
  25. import {SVGmrow, SVGinferredMrow} from './Wrappers/mrow.js';
  26. import {SVGmi} from './Wrappers/mi.js';
  27. import {SVGmo} from './Wrappers/mo.js';
  28. import {SVGmn} from './Wrappers/mn.js';
  29. import {SVGms} from './Wrappers/ms.js';
  30. import {SVGmtext} from './Wrappers/mtext.js';
  31. import {SVGmerror} from './Wrappers/merror.js';
  32. import {SVGmspace} from './Wrappers/mspace.js';
  33. import {SVGmpadded} from './Wrappers/mpadded.js';
  34. import {SVGmphantom} from './Wrappers/mphantom.js';
  35. import {SVGmfrac} from './Wrappers/mfrac.js';
  36. import {SVGmsqrt} from './Wrappers/msqrt.js';
  37. import {SVGmroot} from './Wrappers/mroot.js';
  38. import {SVGmfenced} from './Wrappers/mfenced.js';
  39. import {SVGmsub, SVGmsup, SVGmsubsup} from './Wrappers/msubsup.js';
  40. import {SVGmover, SVGmunder, SVGmunderover} from './Wrappers/munderover.js';
  41. import {SVGmmultiscripts} from './Wrappers/mmultiscripts.js';
  42. import {SVGmtable} from './Wrappers/mtable.js';
  43. import {SVGmtr, SVGmlabeledtr} from './Wrappers/mtr.js';
  44. import {SVGmtd} from './Wrappers/mtd.js';
  45. import {SVGmaction} from './Wrappers/maction.js';
  46. import {SVGmenclose} from './Wrappers/menclose.js';
  47. import {SVGsemantics, SVGannotation, SVGannotationXML, SVGxml} from './Wrappers/semantics.js';
  48. import {SVGmglyph} from './Wrappers/mglyph.js';
  49. import {SVGTeXAtom} from './Wrappers/TeXAtom.js';
  50. import {SVGTextNode} from './Wrappers/TextNode.js';
  51. export const SVGWrappers: {[kind: string]: WrapperConstructor} = {
  52. [SVGmath.kind]: SVGmath,
  53. [SVGmrow.kind]: SVGmrow,
  54. [SVGinferredMrow.kind]: SVGinferredMrow,
  55. [SVGmi.kind]: SVGmi,
  56. [SVGmo.kind]: SVGmo,
  57. [SVGmn.kind]: SVGmn,
  58. [SVGms.kind]: SVGms,
  59. [SVGmtext.kind]: SVGmtext,
  60. [SVGmerror.kind]: SVGmerror,
  61. [SVGmspace.kind]: SVGmspace,
  62. [SVGmpadded.kind]: SVGmpadded,
  63. [SVGmphantom.kind]: SVGmphantom,
  64. [SVGmfrac.kind]: SVGmfrac,
  65. [SVGmsqrt.kind]: SVGmsqrt,
  66. [SVGmroot.kind]: SVGmroot,
  67. [SVGmfenced.kind]: SVGmfenced,
  68. [SVGmsub.kind]: SVGmsub,
  69. [SVGmsup.kind]: SVGmsup,
  70. [SVGmsubsup.kind]: SVGmsubsup,
  71. [SVGmunder.kind]: SVGmunder,
  72. [SVGmover.kind]: SVGmover,
  73. [SVGmunderover.kind]: SVGmunderover,
  74. [SVGmmultiscripts.kind]: SVGmmultiscripts,
  75. [SVGmtable.kind]: SVGmtable,
  76. [SVGmtr.kind]: SVGmtr,
  77. [SVGmlabeledtr.kind]: SVGmlabeledtr,
  78. [SVGmtd.kind]: SVGmtd,
  79. [SVGmaction.kind]: SVGmaction,
  80. [SVGmenclose.kind]: SVGmenclose,
  81. [SVGsemantics.kind]: SVGsemantics,
  82. [SVGannotation.kind]: SVGannotation,
  83. [SVGannotationXML.kind]: SVGannotationXML,
  84. [SVGxml.kind]: SVGxml,
  85. [SVGmglyph.kind]: SVGmglyph,
  86. [SVGTeXAtom.kind]: SVGTeXAtom,
  87. [SVGTextNode.kind]: SVGTextNode,
  88. [SVGWrapper.kind]: SVGWrapper
  89. };