1 | /* |
2 | * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. |
3 | * |
4 | * This file was generated by the dom/make_names.pl script. |
5 | * |
6 | * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. |
7 | * |
8 | * Redistribution and use in source and binary forms, with or without |
9 | * modification, are permitted provided that the following conditions |
10 | * are met: |
11 | * 1. Redistributions of source code must retain the above copyright |
12 | * notice, this list of conditions and the following disclaimer. |
13 | * 2. Redistributions in binary form must reproduce the above copyright |
14 | * notice, this list of conditions and the following disclaimer in the |
15 | * documentation and/or other materials provided with the distribution. |
16 | * |
17 | * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY |
18 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
19 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
20 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR |
21 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
22 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
23 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
24 | * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
25 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
27 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ |
29 | |
30 | #ifndef DOM_MathMLNames_h |
31 | |
32 | #define DOM_MathMLNames_h |
33 | |
34 | #include <wtf/NeverDestroyed.h> |
35 | #include <wtf/text/AtomicString.h> |
36 | #include "QualifiedName.h" |
37 | |
38 | |
39 | namespace WebCore { |
40 | |
41 | class MathMLQualifiedName : public QualifiedName { }; |
42 | |
43 | namespace MathMLNames { |
44 | |
45 | #ifndef DOM_MathML_NAMES_HIDE_GLOBALS |
46 | |
47 | // Namespace |
48 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WTF::AtomicString> mathmlNamespaceURI; |
49 | |
50 | // Tags |
51 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> annotationTag; |
52 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> annotation_xmlTag; |
53 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mactionTag; |
54 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> maligngroupTag; |
55 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> malignmarkTag; |
56 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mathTag; |
57 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mencloseTag; |
58 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> merrorTag; |
59 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mfencedTag; |
60 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mfracTag; |
61 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mglyphTag; |
62 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> miTag; |
63 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mlabeledtrTag; |
64 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mlongdivTag; |
65 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mmultiscriptsTag; |
66 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mnTag; |
67 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> moTag; |
68 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> moverTag; |
69 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mpaddedTag; |
70 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mphantomTag; |
71 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mprescriptsTag; |
72 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mrootTag; |
73 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mrowTag; |
74 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msTag; |
75 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mscarriesTag; |
76 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mscarryTag; |
77 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msgroupTag; |
78 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mslineTag; |
79 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mspaceTag; |
80 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msqrtTag; |
81 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msrowTag; |
82 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mstackTag; |
83 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mstyleTag; |
84 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msubTag; |
85 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msubsupTag; |
86 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> msupTag; |
87 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mtableTag; |
88 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mtdTag; |
89 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mtextTag; |
90 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> mtrTag; |
91 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> munderTag; |
92 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> munderoverTag; |
93 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> noneTag; |
94 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::MathMLQualifiedName> semanticsTag; |
95 | // Attributes |
96 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> accentAttr; |
97 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> accentunderAttr; |
98 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> actiontypeAttr; |
99 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> alttextAttr; |
100 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> backgroundAttr; |
101 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> closeAttr; |
102 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> colorAttr; |
103 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> columnspanAttr; |
104 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> definitionURLAttr; |
105 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> denomalignAttr; |
106 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> depthAttr; |
107 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> dirAttr; |
108 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> displayAttr; |
109 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> displaystyleAttr; |
110 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> encodingAttr; |
111 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> fenceAttr; |
112 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> fontfamilyAttr; |
113 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> fontsizeAttr; |
114 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> fontstyleAttr; |
115 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> fontweightAttr; |
116 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> formAttr; |
117 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> heightAttr; |
118 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> hrefAttr; |
119 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> largeopAttr; |
120 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> linethicknessAttr; |
121 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> lspaceAttr; |
122 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> mathbackgroundAttr; |
123 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> mathcolorAttr; |
124 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> mathsizeAttr; |
125 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> mathvariantAttr; |
126 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> maxsizeAttr; |
127 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> minsizeAttr; |
128 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> movablelimitsAttr; |
129 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> notationAttr; |
130 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> numalignAttr; |
131 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> openAttr; |
132 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> rowspanAttr; |
133 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> rspaceAttr; |
134 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> selectionAttr; |
135 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> separatorAttr; |
136 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> separatorsAttr; |
137 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> srcAttr; |
138 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> stretchyAttr; |
139 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> subscriptshiftAttr; |
140 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> superscriptshiftAttr; |
141 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> symmetricAttr; |
142 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> voffsetAttr; |
143 | WEBCORE_EXPORT extern LazyNeverDestroyed<const WebCore::QualifiedName> widthAttr; |
144 | #endif |
145 | |
146 | const unsigned MathMLTagsCount = 44; |
147 | const WebCore::MathMLQualifiedName* const* getMathMLTags(); |
148 | const unsigned MathMLAttrsCount = 48; |
149 | const WebCore::QualifiedName* const* getMathMLAttrs(); |
150 | |
151 | WEBCORE_EXPORT void init(); |
152 | |
153 | } } |
154 | |
155 | #endif |
156 | |
157 | |