@runeditrun/rer 0.2.82 → 0.2.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/authoring.mjs +1 -0
- package/cli/contract.mjs +1 -1
- package/cli/demo-host.mjs +5 -1
- package/cli/demo.mjs +6 -1
- package/cli/export.mjs +1 -1
- package/cli/parse.mjs +1 -1
- package/edition-authoring/base-copies.mjs +72 -25
- package/edition-authoring/copy-checkout.mjs +7 -120
- package/edition-authoring/edition-migrations.mjs +41 -0
- package/edition-authoring/files.mjs +67 -0
- package/edition-authoring/lock.mjs +2 -2
- package/edition-authoring/module-closure.mjs +232 -0
- package/edition-authoring/module-edges.mjs +100 -0
- package/edition-authoring/module-resolution.mjs +66 -0
- package/edition-authoring/module-syntax.mjs +57 -0
- package/edition-authoring/package-target.mjs +92 -0
- package/edition-authoring/runtime-dependencies.mjs +74 -97
- package/edition-authoring/vendor/babel-parser/LICENSE +22 -0
- package/edition-authoring/vendor/babel-parser/README.md +21 -0
- package/edition-authoring/vendor/babel-parser/babel-helper-string-parser/index.mjs +292 -0
- package/edition-authoring/vendor/babel-parser/babel-helper-validator-identifier/identifier.mjs +66 -0
- package/edition-authoring/vendor/babel-parser/babel-helper-validator-identifier/index.mjs +13 -0
- package/edition-authoring/vendor/babel-parser/babel-helper-validator-identifier/keyword.mjs +31 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/index.mjs +99 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/options.mjs +81 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/bind-operator-errors.mjs +8 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/module-errors.mjs +15 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/parse-expression-errors.mjs +10 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/pipeline-operator-errors.mjs +29 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/standard-errors.mjs +224 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/strict-mode-errors.mjs +17 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error/to-node-description.mjs +31 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parse-error.mjs +114 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/base.mjs +34 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/comments.mjs +199 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/expression.mjs +1794 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/index.mjs +76 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/lval.mjs +439 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/node.mjs +111 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/statement.mjs +1962 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/parser/util.mjs +244 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugin-utils.mjs +116 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/estree.mjs +417 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/flow/index.mjs +2412 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/flow/scope.mjs +37 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/jsx/index.mjs +420 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/jsx/xhtml.mjs +261 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/placeholders.mjs +205 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/typescript/index.mjs +2889 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/typescript/scope.mjs +115 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/plugins/v8intrinsic.mjs +26 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/tokenizer/context.mjs +22 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/tokenizer/index.mjs +1037 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/tokenizer/state.mjs +178 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/tokenizer/types.mjs +583 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/types.mjs +1 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/class-scope.mjs +82 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/expression-scope.mjs +121 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/identifier.mjs +23 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/location.mjs +34 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/production-parameter.mjs +40 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/scope.mjs +173 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/scopeflags.mjs +66 -0
- package/edition-authoring/vendor/babel-parser/babel-parser/util/whitespace.mjs +61 -0
- package/edition-authoring/vendor/yaml/LICENSE +13 -0
- package/edition-authoring/vendor/yaml/README.md +11 -0
- package/edition-authoring/vendor/yaml/compose/compose-collection.mjs +88 -0
- package/edition-authoring/vendor/yaml/compose/compose-doc.mjs +43 -0
- package/edition-authoring/vendor/yaml/compose/compose-node.mjs +110 -0
- package/edition-authoring/vendor/yaml/compose/compose-scalar.mjs +86 -0
- package/edition-authoring/vendor/yaml/compose/composer.mjs +218 -0
- package/edition-authoring/vendor/yaml/compose/resolve-block-map.mjs +115 -0
- package/edition-authoring/vendor/yaml/compose/resolve-block-scalar.mjs +198 -0
- package/edition-authoring/vendor/yaml/compose/resolve-block-seq.mjs +49 -0
- package/edition-authoring/vendor/yaml/compose/resolve-end.mjs +37 -0
- package/edition-authoring/vendor/yaml/compose/resolve-flow-collection.mjs +207 -0
- package/edition-authoring/vendor/yaml/compose/resolve-flow-scalar.mjs +228 -0
- package/edition-authoring/vendor/yaml/compose/resolve-props.mjs +148 -0
- package/edition-authoring/vendor/yaml/compose/util-contains-newline.mjs +34 -0
- package/edition-authoring/vendor/yaml/compose/util-empty-scalar-position.mjs +27 -0
- package/edition-authoring/vendor/yaml/compose/util-flow-indent-check.mjs +15 -0
- package/edition-authoring/vendor/yaml/compose/util-map-includes.mjs +13 -0
- package/edition-authoring/vendor/yaml/doc/Document.mjs +333 -0
- package/edition-authoring/vendor/yaml/doc/anchors.mjs +74 -0
- package/edition-authoring/vendor/yaml/doc/applyReviver.mjs +54 -0
- package/edition-authoring/vendor/yaml/doc/createNode.mjs +88 -0
- package/edition-authoring/vendor/yaml/doc/directives.mjs +176 -0
- package/edition-authoring/vendor/yaml/errors.mjs +57 -0
- package/edition-authoring/vendor/yaml/index.mjs +17 -0
- package/edition-authoring/vendor/yaml/log.mjs +11 -0
- package/edition-authoring/vendor/yaml/nodes/Alias.mjs +119 -0
- package/edition-authoring/vendor/yaml/nodes/Collection.mjs +147 -0
- package/edition-authoring/vendor/yaml/nodes/Node.mjs +38 -0
- package/edition-authoring/vendor/yaml/nodes/Pair.mjs +36 -0
- package/edition-authoring/vendor/yaml/nodes/Scalar.mjs +24 -0
- package/edition-authoring/vendor/yaml/nodes/YAMLMap.mjs +144 -0
- package/edition-authoring/vendor/yaml/nodes/YAMLSeq.mjs +113 -0
- package/edition-authoring/vendor/yaml/nodes/addPairToJSMap.mjs +62 -0
- package/edition-authoring/vendor/yaml/nodes/identity.mjs +36 -0
- package/edition-authoring/vendor/yaml/nodes/toJS.mjs +35 -0
- package/edition-authoring/vendor/yaml/parse/cst-scalar.mjs +214 -0
- package/edition-authoring/vendor/yaml/parse/cst-stringify.mjs +61 -0
- package/edition-authoring/vendor/yaml/parse/cst-visit.mjs +97 -0
- package/edition-authoring/vendor/yaml/parse/cst.mjs +98 -0
- package/edition-authoring/vendor/yaml/parse/lexer.mjs +722 -0
- package/edition-authoring/vendor/yaml/parse/line-counter.mjs +39 -0
- package/edition-authoring/vendor/yaml/parse/parser.mjs +975 -0
- package/edition-authoring/vendor/yaml/public-api.mjs +102 -0
- package/edition-authoring/vendor/yaml/schema/Schema.mjs +37 -0
- package/edition-authoring/vendor/yaml/schema/common/map.mjs +17 -0
- package/edition-authoring/vendor/yaml/schema/common/null.mjs +15 -0
- package/edition-authoring/vendor/yaml/schema/common/seq.mjs +17 -0
- package/edition-authoring/vendor/yaml/schema/common/string.mjs +14 -0
- package/edition-authoring/vendor/yaml/schema/core/bool.mjs +19 -0
- package/edition-authoring/vendor/yaml/schema/core/float.mjs +43 -0
- package/edition-authoring/vendor/yaml/schema/core/int.mjs +38 -0
- package/edition-authoring/vendor/yaml/schema/core/schema.mjs +23 -0
- package/edition-authoring/vendor/yaml/schema/json/schema.mjs +62 -0
- package/edition-authoring/vendor/yaml/schema/tags.mjs +96 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/binary.mjs +59 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/bool.mjs +26 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/float.mjs +46 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/int.mjs +71 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/merge.mjs +67 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/omap.mjs +74 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/pairs.mjs +78 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/schema.mjs +39 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/set.mjs +93 -0
- package/edition-authoring/vendor/yaml/schema/yaml-1.1/timestamp.mjs +101 -0
- package/edition-authoring/vendor/yaml/stringify/foldFlowLines.mjs +146 -0
- package/edition-authoring/vendor/yaml/stringify/stringify.mjs +130 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyCollection.mjs +155 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyComment.mjs +20 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyDocument.mjs +85 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyNumber.mjs +25 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyPair.mjs +150 -0
- package/edition-authoring/vendor/yaml/stringify/stringifyString.mjs +338 -0
- package/edition-authoring/vendor/yaml/util.mjs +11 -0
- package/edition-authoring/vendor/yaml/visit.mjs +233 -0
- package/edition-authoring/workflow-copies.mjs +125 -0
- package/edition-authoring/workflow-scripts.mjs +112 -0
- package/foundation/runtime/contract-docs.mjs +753 -0
- package/global/CHANGELOG.md +33 -2
- package/modules/demo/declaration.mjs +1 -4
- package/modules/demo/vite.mjs +1 -1
- package/modules/deploy-kit/README.md +1 -1
- package/modules/deploy-kit/templates.mjs +3 -3
- package/onboarding/operator-installer.mjs +2 -2
- package/package.json +1 -1
- package/scripts/publish-check/README.md +6 -0
- package/scripts/publish-check/history_scan.py +5 -3
- package/scripts/publish-check/hygiene_config.py +2 -1
- package/scripts/publish-check/report.py +9 -3
- package/scripts/publish-check/third-party-notices.json +13 -0
- package/scripts/publish-check/third_party_notices.py +38 -0
- package/scripts/publish-check/tree_scan.py +6 -0
- package/scripts/publish-check.mjs +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Generated from Babel v7.29.8 (MIT); see README.md.
|
|
2
|
+
import ScopeHandler, { NameType, Scope } from "../../util/scope.mjs";
|
|
3
|
+
import { BindingFlag } from "../../util/scopeflags.mjs";
|
|
4
|
+
class FlowScope extends Scope {
|
|
5
|
+
declareFunctions = /* @__PURE__ */ new Set();
|
|
6
|
+
}
|
|
7
|
+
class FlowScopeHandler extends ScopeHandler {
|
|
8
|
+
createScope(flags) {
|
|
9
|
+
return new FlowScope(flags);
|
|
10
|
+
}
|
|
11
|
+
declareName(name, bindingType, loc) {
|
|
12
|
+
const scope = this.currentScope();
|
|
13
|
+
if (bindingType & BindingFlag.FLAG_FLOW_DECLARE_FN) {
|
|
14
|
+
this.checkRedeclarationInScope(scope, name, bindingType, loc);
|
|
15
|
+
this.maybeExportDefined(scope, name);
|
|
16
|
+
scope.declareFunctions.add(name);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
super.declareName(name, bindingType, loc);
|
|
20
|
+
}
|
|
21
|
+
isRedeclaredInScope(scope, name, bindingType) {
|
|
22
|
+
if (super.isRedeclaredInScope(scope, name, bindingType)) return true;
|
|
23
|
+
if (bindingType & BindingFlag.FLAG_FLOW_DECLARE_FN && !scope.declareFunctions.has(name)) {
|
|
24
|
+
const type = scope.names.get(name);
|
|
25
|
+
return (type & NameType.Function) > 0 || (type & NameType.Lexical) > 0;
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
checkLocalExport(id) {
|
|
30
|
+
if (!this.scopeStack[0].declareFunctions.has(id.name)) {
|
|
31
|
+
super.checkLocalExport(id);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
FlowScopeHandler as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
// Generated from Babel v7.29.8 (MIT); see README.md.
|
|
2
|
+
import XHTMLEntities from "./xhtml.mjs";
|
|
3
|
+
import { tokenComesBeforeExpression, tokenIsKeyword, tokenLabelName, tt } from "../../tokenizer/types.mjs";
|
|
4
|
+
import { types as tc } from "../../tokenizer/context.mjs";
|
|
5
|
+
import { isIdentifierChar, isIdentifierStart } from "../../util/identifier.mjs";
|
|
6
|
+
import { isNewLine } from "../../util/whitespace.mjs";
|
|
7
|
+
import { Errors, ParseErrorEnum } from "../../parse-error.mjs";
|
|
8
|
+
const JsxErrors = ParseErrorEnum`jsx`({
|
|
9
|
+
AttributeIsEmpty: "JSX attributes must only be assigned a non-empty expression.",
|
|
10
|
+
MissingClosingTagElement: ({
|
|
11
|
+
openingTagName
|
|
12
|
+
}) => `Expected corresponding JSX closing tag for <${openingTagName}>.`,
|
|
13
|
+
MissingClosingTagFragment: "Expected corresponding JSX closing tag for <>.",
|
|
14
|
+
UnexpectedSequenceExpression: "Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",
|
|
15
|
+
UnexpectedToken: ({
|
|
16
|
+
unexpected,
|
|
17
|
+
HTMLEntity
|
|
18
|
+
}) => `Unexpected token \`${unexpected}\`. Did you mean \`${HTMLEntity}\` or \`{'${unexpected}'}\`?`,
|
|
19
|
+
UnsupportedJsxValue: "JSX value should be either an expression or a quoted JSX text.",
|
|
20
|
+
UnterminatedJsxContent: "Unterminated JSX contents.",
|
|
21
|
+
UnwrappedAdjacentJSXElements: "Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"
|
|
22
|
+
});
|
|
23
|
+
function isFragment(object) {
|
|
24
|
+
return object ? object.type === "JSXOpeningFragment" || object.type === "JSXClosingFragment" : false;
|
|
25
|
+
}
|
|
26
|
+
function getQualifiedJSXName(object) {
|
|
27
|
+
if (object.type === "JSXIdentifier") {
|
|
28
|
+
return object.name;
|
|
29
|
+
}
|
|
30
|
+
if (object.type === "JSXNamespacedName") {
|
|
31
|
+
return object.namespace.name + ":" + object.name.name;
|
|
32
|
+
}
|
|
33
|
+
if (object.type === "JSXMemberExpression") {
|
|
34
|
+
return getQualifiedJSXName(object.object) + "." + getQualifiedJSXName(object.property);
|
|
35
|
+
}
|
|
36
|
+
throw new Error("Node had unexpected type: " + object.type);
|
|
37
|
+
}
|
|
38
|
+
var stdin_default = (superClass) => class JSXParserMixin extends superClass {
|
|
39
|
+
jsxReadToken() {
|
|
40
|
+
let out = "";
|
|
41
|
+
let chunkStart = this.state.pos;
|
|
42
|
+
for (; ; ) {
|
|
43
|
+
if (this.state.pos >= this.length) {
|
|
44
|
+
throw this.raise(JsxErrors.UnterminatedJsxContent, this.state.startLoc);
|
|
45
|
+
}
|
|
46
|
+
const ch = this.input.charCodeAt(this.state.pos);
|
|
47
|
+
switch (ch) {
|
|
48
|
+
case 60:
|
|
49
|
+
case 123:
|
|
50
|
+
if (this.state.pos === this.state.start) {
|
|
51
|
+
if (ch === 60 && this.state.canStartJSXElement) {
|
|
52
|
+
++this.state.pos;
|
|
53
|
+
this.finishToken(tt.jsxTagStart);
|
|
54
|
+
} else {
|
|
55
|
+
super.getTokenFromCode(ch);
|
|
56
|
+
}
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
out += this.input.slice(chunkStart, this.state.pos);
|
|
60
|
+
this.finishToken(tt.jsxText, out);
|
|
61
|
+
return;
|
|
62
|
+
case 38:
|
|
63
|
+
out += this.input.slice(chunkStart, this.state.pos);
|
|
64
|
+
out += this.jsxReadEntity();
|
|
65
|
+
chunkStart = this.state.pos;
|
|
66
|
+
break;
|
|
67
|
+
case 62:
|
|
68
|
+
case 125:
|
|
69
|
+
default:
|
|
70
|
+
if (isNewLine(ch)) {
|
|
71
|
+
out += this.input.slice(chunkStart, this.state.pos);
|
|
72
|
+
out += this.jsxReadNewLine(true);
|
|
73
|
+
chunkStart = this.state.pos;
|
|
74
|
+
} else {
|
|
75
|
+
++this.state.pos;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
jsxReadNewLine(normalizeCRLF) {
|
|
81
|
+
const ch = this.input.charCodeAt(this.state.pos);
|
|
82
|
+
let out;
|
|
83
|
+
++this.state.pos;
|
|
84
|
+
if (ch === 13 && this.input.charCodeAt(this.state.pos) === 10) {
|
|
85
|
+
++this.state.pos;
|
|
86
|
+
out = normalizeCRLF ? "\n" : "\r\n";
|
|
87
|
+
} else {
|
|
88
|
+
out = String.fromCharCode(ch);
|
|
89
|
+
}
|
|
90
|
+
++this.state.curLine;
|
|
91
|
+
this.state.lineStart = this.state.pos;
|
|
92
|
+
return out;
|
|
93
|
+
}
|
|
94
|
+
jsxReadString(quote) {
|
|
95
|
+
let out = "";
|
|
96
|
+
let chunkStart = ++this.state.pos;
|
|
97
|
+
for (; ; ) {
|
|
98
|
+
if (this.state.pos >= this.length) {
|
|
99
|
+
throw this.raise(Errors.UnterminatedString, this.state.startLoc);
|
|
100
|
+
}
|
|
101
|
+
const ch = this.input.charCodeAt(this.state.pos);
|
|
102
|
+
if (ch === quote) break;
|
|
103
|
+
if (ch === 38) {
|
|
104
|
+
out += this.input.slice(chunkStart, this.state.pos);
|
|
105
|
+
out += this.jsxReadEntity();
|
|
106
|
+
chunkStart = this.state.pos;
|
|
107
|
+
} else if (isNewLine(ch)) {
|
|
108
|
+
out += this.input.slice(chunkStart, this.state.pos);
|
|
109
|
+
out += this.jsxReadNewLine(false);
|
|
110
|
+
chunkStart = this.state.pos;
|
|
111
|
+
} else {
|
|
112
|
+
++this.state.pos;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
out += this.input.slice(chunkStart, this.state.pos++);
|
|
116
|
+
this.finishToken(tt.string, out);
|
|
117
|
+
}
|
|
118
|
+
jsxReadEntity() {
|
|
119
|
+
const startPos = ++this.state.pos;
|
|
120
|
+
if (this.codePointAtPos(this.state.pos) === 35) {
|
|
121
|
+
++this.state.pos;
|
|
122
|
+
let radix = 10;
|
|
123
|
+
if (this.codePointAtPos(this.state.pos) === 120) {
|
|
124
|
+
radix = 16;
|
|
125
|
+
++this.state.pos;
|
|
126
|
+
}
|
|
127
|
+
const codePoint = this.readInt(radix, void 0, false, "bail");
|
|
128
|
+
if (codePoint !== null && this.codePointAtPos(this.state.pos) === 59) {
|
|
129
|
+
++this.state.pos;
|
|
130
|
+
return String.fromCodePoint(codePoint);
|
|
131
|
+
}
|
|
132
|
+
} else {
|
|
133
|
+
let count = 0;
|
|
134
|
+
let semi = false;
|
|
135
|
+
while (count++ < 10 && this.state.pos < this.length && !(semi = this.codePointAtPos(this.state.pos) === 59)) {
|
|
136
|
+
++this.state.pos;
|
|
137
|
+
}
|
|
138
|
+
if (semi) {
|
|
139
|
+
const desc = this.input.slice(startPos, this.state.pos);
|
|
140
|
+
const entity = XHTMLEntities[desc];
|
|
141
|
+
++this.state.pos;
|
|
142
|
+
if (entity) {
|
|
143
|
+
return entity;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
this.state.pos = startPos;
|
|
148
|
+
return "&";
|
|
149
|
+
}
|
|
150
|
+
jsxReadWord() {
|
|
151
|
+
let ch;
|
|
152
|
+
const start = this.state.pos;
|
|
153
|
+
do {
|
|
154
|
+
ch = this.input.charCodeAt(++this.state.pos);
|
|
155
|
+
} while (isIdentifierChar(ch) || ch === 45);
|
|
156
|
+
this.finishToken(tt.jsxName, this.input.slice(start, this.state.pos));
|
|
157
|
+
}
|
|
158
|
+
jsxParseIdentifier() {
|
|
159
|
+
const node = this.startNode();
|
|
160
|
+
if (this.match(tt.jsxName)) {
|
|
161
|
+
node.name = this.state.value;
|
|
162
|
+
} else if (tokenIsKeyword(this.state.type)) {
|
|
163
|
+
node.name = tokenLabelName(this.state.type);
|
|
164
|
+
} else {
|
|
165
|
+
this.unexpected();
|
|
166
|
+
}
|
|
167
|
+
this.next();
|
|
168
|
+
return this.finishNode(node, "JSXIdentifier");
|
|
169
|
+
}
|
|
170
|
+
jsxParseNamespacedName() {
|
|
171
|
+
const startLoc = this.state.startLoc;
|
|
172
|
+
const name = this.jsxParseIdentifier();
|
|
173
|
+
if (!this.eat(tt.colon)) return name;
|
|
174
|
+
const node = this.startNodeAt(startLoc);
|
|
175
|
+
node.namespace = name;
|
|
176
|
+
node.name = this.jsxParseIdentifier();
|
|
177
|
+
return this.finishNode(node, "JSXNamespacedName");
|
|
178
|
+
}
|
|
179
|
+
jsxParseElementName() {
|
|
180
|
+
const startLoc = this.state.startLoc;
|
|
181
|
+
let node = this.jsxParseNamespacedName();
|
|
182
|
+
if (node.type === "JSXNamespacedName") {
|
|
183
|
+
return node;
|
|
184
|
+
}
|
|
185
|
+
while (this.eat(tt.dot)) {
|
|
186
|
+
const newNode = this.startNodeAt(startLoc);
|
|
187
|
+
newNode.object = node;
|
|
188
|
+
newNode.property = this.jsxParseIdentifier();
|
|
189
|
+
node = this.finishNode(newNode, "JSXMemberExpression");
|
|
190
|
+
}
|
|
191
|
+
return node;
|
|
192
|
+
}
|
|
193
|
+
jsxParseAttributeValue() {
|
|
194
|
+
let node;
|
|
195
|
+
switch (this.state.type) {
|
|
196
|
+
case tt.braceL:
|
|
197
|
+
node = this.startNode();
|
|
198
|
+
this.setContext(tc.brace);
|
|
199
|
+
this.next();
|
|
200
|
+
node = this.jsxParseExpressionContainer(node, tc.j_oTag);
|
|
201
|
+
if (node.expression.type === "JSXEmptyExpression") {
|
|
202
|
+
this.raise(JsxErrors.AttributeIsEmpty, node);
|
|
203
|
+
}
|
|
204
|
+
return node;
|
|
205
|
+
case tt.jsxTagStart:
|
|
206
|
+
case tt.string:
|
|
207
|
+
return this.parseExprAtom();
|
|
208
|
+
default:
|
|
209
|
+
throw this.raise(JsxErrors.UnsupportedJsxValue, this.state.startLoc);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
jsxParseEmptyExpression() {
|
|
213
|
+
const node = this.startNodeAt(this.state.lastTokEndLoc);
|
|
214
|
+
return this.finishNodeAt(node, "JSXEmptyExpression", this.state.startLoc);
|
|
215
|
+
}
|
|
216
|
+
jsxParseSpreadChild(node) {
|
|
217
|
+
this.next();
|
|
218
|
+
node.expression = this.parseExpression();
|
|
219
|
+
this.setContext(tc.j_expr);
|
|
220
|
+
this.state.canStartJSXElement = true;
|
|
221
|
+
this.expect(tt.braceR);
|
|
222
|
+
return this.finishNode(node, "JSXSpreadChild");
|
|
223
|
+
}
|
|
224
|
+
jsxParseExpressionContainer(node, previousContext) {
|
|
225
|
+
if (this.match(tt.braceR)) {
|
|
226
|
+
node.expression = this.jsxParseEmptyExpression();
|
|
227
|
+
} else {
|
|
228
|
+
const expression = this.parseExpression();
|
|
229
|
+
node.expression = expression;
|
|
230
|
+
}
|
|
231
|
+
this.setContext(previousContext);
|
|
232
|
+
this.state.canStartJSXElement = true;
|
|
233
|
+
this.expect(tt.braceR);
|
|
234
|
+
return this.finishNode(node, "JSXExpressionContainer");
|
|
235
|
+
}
|
|
236
|
+
jsxParseAttribute() {
|
|
237
|
+
const node = this.startNode();
|
|
238
|
+
if (this.match(tt.braceL)) {
|
|
239
|
+
this.setContext(tc.brace);
|
|
240
|
+
this.next();
|
|
241
|
+
this.expect(tt.ellipsis);
|
|
242
|
+
node.argument = this.parseMaybeAssignAllowIn();
|
|
243
|
+
this.setContext(tc.j_oTag);
|
|
244
|
+
this.state.canStartJSXElement = true;
|
|
245
|
+
this.expect(tt.braceR);
|
|
246
|
+
return this.finishNode(node, "JSXSpreadAttribute");
|
|
247
|
+
}
|
|
248
|
+
node.name = this.jsxParseNamespacedName();
|
|
249
|
+
node.value = this.eat(tt.eq) ? this.jsxParseAttributeValue() : null;
|
|
250
|
+
return this.finishNode(node, "JSXAttribute");
|
|
251
|
+
}
|
|
252
|
+
jsxParseOpeningElementAt(startLoc) {
|
|
253
|
+
const node = this.startNodeAt(startLoc);
|
|
254
|
+
if (this.eat(tt.jsxTagEnd)) {
|
|
255
|
+
return this.finishNode(node, "JSXOpeningFragment");
|
|
256
|
+
}
|
|
257
|
+
node.name = this.jsxParseElementName();
|
|
258
|
+
return this.jsxParseOpeningElementAfterName(node);
|
|
259
|
+
}
|
|
260
|
+
jsxParseOpeningElementAfterName(node) {
|
|
261
|
+
const attributes = [];
|
|
262
|
+
while (!this.match(tt.slash) && !this.match(tt.jsxTagEnd)) {
|
|
263
|
+
attributes.push(this.jsxParseAttribute());
|
|
264
|
+
}
|
|
265
|
+
node.attributes = attributes;
|
|
266
|
+
node.selfClosing = this.eat(tt.slash);
|
|
267
|
+
this.expect(tt.jsxTagEnd);
|
|
268
|
+
return this.finishNode(node, "JSXOpeningElement");
|
|
269
|
+
}
|
|
270
|
+
jsxParseClosingElementAt(startLoc) {
|
|
271
|
+
const node = this.startNodeAt(startLoc);
|
|
272
|
+
if (this.eat(tt.jsxTagEnd)) {
|
|
273
|
+
return this.finishNode(node, "JSXClosingFragment");
|
|
274
|
+
}
|
|
275
|
+
node.name = this.jsxParseElementName();
|
|
276
|
+
this.expect(tt.jsxTagEnd);
|
|
277
|
+
return this.finishNode(node, "JSXClosingElement");
|
|
278
|
+
}
|
|
279
|
+
jsxParseElementAt(startLoc) {
|
|
280
|
+
const node = this.startNodeAt(startLoc);
|
|
281
|
+
const children = [];
|
|
282
|
+
const openingElement = this.jsxParseOpeningElementAt(startLoc);
|
|
283
|
+
let closingElement = null;
|
|
284
|
+
if (!openingElement.selfClosing) {
|
|
285
|
+
contents: for (; ; ) {
|
|
286
|
+
switch (this.state.type) {
|
|
287
|
+
case tt.jsxTagStart:
|
|
288
|
+
startLoc = this.state.startLoc;
|
|
289
|
+
this.next();
|
|
290
|
+
if (this.eat(tt.slash)) {
|
|
291
|
+
closingElement = this.jsxParseClosingElementAt(startLoc);
|
|
292
|
+
break contents;
|
|
293
|
+
}
|
|
294
|
+
children.push(this.jsxParseElementAt(startLoc));
|
|
295
|
+
break;
|
|
296
|
+
case tt.jsxText:
|
|
297
|
+
children.push(this.parseLiteral(this.state.value, "JSXText"));
|
|
298
|
+
break;
|
|
299
|
+
case tt.braceL: {
|
|
300
|
+
const node2 = this.startNode();
|
|
301
|
+
this.setContext(tc.brace);
|
|
302
|
+
this.next();
|
|
303
|
+
if (this.match(tt.ellipsis)) {
|
|
304
|
+
children.push(this.jsxParseSpreadChild(node2));
|
|
305
|
+
} else {
|
|
306
|
+
children.push(this.jsxParseExpressionContainer(node2, tc.j_expr));
|
|
307
|
+
}
|
|
308
|
+
break;
|
|
309
|
+
}
|
|
310
|
+
default:
|
|
311
|
+
this.unexpected();
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (isFragment(openingElement) && !isFragment(closingElement) && closingElement !== null) {
|
|
315
|
+
this.raise(JsxErrors.MissingClosingTagFragment, closingElement);
|
|
316
|
+
} else if (!isFragment(openingElement) && isFragment(closingElement)) {
|
|
317
|
+
this.raise(JsxErrors.MissingClosingTagElement, closingElement, {
|
|
318
|
+
openingTagName: getQualifiedJSXName(openingElement.name)
|
|
319
|
+
});
|
|
320
|
+
} else if (!isFragment(openingElement) && !isFragment(closingElement)) {
|
|
321
|
+
if (getQualifiedJSXName(closingElement.name) !== getQualifiedJSXName(openingElement.name)) {
|
|
322
|
+
this.raise(JsxErrors.MissingClosingTagElement, closingElement, {
|
|
323
|
+
openingTagName: getQualifiedJSXName(openingElement.name)
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
if (isFragment(openingElement)) {
|
|
329
|
+
node.openingFragment = openingElement;
|
|
330
|
+
node.closingFragment = closingElement;
|
|
331
|
+
} else {
|
|
332
|
+
node.openingElement = openingElement;
|
|
333
|
+
node.closingElement = closingElement;
|
|
334
|
+
}
|
|
335
|
+
node.children = children;
|
|
336
|
+
if (this.match(tt.lt)) {
|
|
337
|
+
throw this.raise(JsxErrors.UnwrappedAdjacentJSXElements, this.state.startLoc);
|
|
338
|
+
}
|
|
339
|
+
return isFragment(openingElement) ? this.finishNode(node, "JSXFragment") : this.finishNode(node, "JSXElement");
|
|
340
|
+
}
|
|
341
|
+
jsxParseElement() {
|
|
342
|
+
const startLoc = this.state.startLoc;
|
|
343
|
+
this.next();
|
|
344
|
+
return this.jsxParseElementAt(startLoc);
|
|
345
|
+
}
|
|
346
|
+
setContext(newContext) {
|
|
347
|
+
const {
|
|
348
|
+
context
|
|
349
|
+
} = this.state;
|
|
350
|
+
context[context.length - 1] = newContext;
|
|
351
|
+
}
|
|
352
|
+
parseExprAtom(refExpressionErrors) {
|
|
353
|
+
if (this.match(tt.jsxTagStart)) {
|
|
354
|
+
return this.jsxParseElement();
|
|
355
|
+
} else if (this.match(tt.lt) && this.input.charCodeAt(this.state.pos) !== 33) {
|
|
356
|
+
this.replaceToken(tt.jsxTagStart);
|
|
357
|
+
return this.jsxParseElement();
|
|
358
|
+
} else {
|
|
359
|
+
return super.parseExprAtom(refExpressionErrors);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
skipSpace() {
|
|
363
|
+
const curContext = this.curContext();
|
|
364
|
+
if (!curContext.preserveSpace) super.skipSpace();
|
|
365
|
+
}
|
|
366
|
+
getTokenFromCode(code) {
|
|
367
|
+
const context = this.curContext();
|
|
368
|
+
if (context === tc.j_expr) {
|
|
369
|
+
this.jsxReadToken();
|
|
370
|
+
return;
|
|
371
|
+
}
|
|
372
|
+
if (context === tc.j_oTag || context === tc.j_cTag) {
|
|
373
|
+
if (isIdentifierStart(code)) {
|
|
374
|
+
this.jsxReadWord();
|
|
375
|
+
return;
|
|
376
|
+
}
|
|
377
|
+
if (code === 62) {
|
|
378
|
+
++this.state.pos;
|
|
379
|
+
this.finishToken(tt.jsxTagEnd);
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
if ((code === 34 || code === 39) && context === tc.j_oTag) {
|
|
383
|
+
this.jsxReadString(code);
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
if (code === 60 && this.state.canStartJSXElement && this.input.charCodeAt(this.state.pos + 1) !== 33) {
|
|
388
|
+
++this.state.pos;
|
|
389
|
+
this.finishToken(tt.jsxTagStart);
|
|
390
|
+
return;
|
|
391
|
+
}
|
|
392
|
+
super.getTokenFromCode(code);
|
|
393
|
+
}
|
|
394
|
+
updateContext(prevType) {
|
|
395
|
+
const {
|
|
396
|
+
context,
|
|
397
|
+
type
|
|
398
|
+
} = this.state;
|
|
399
|
+
if (type === tt.slash && prevType === tt.jsxTagStart) {
|
|
400
|
+
context.splice(-2, 2, tc.j_cTag);
|
|
401
|
+
this.state.canStartJSXElement = false;
|
|
402
|
+
} else if (type === tt.jsxTagStart) {
|
|
403
|
+
context.push(tc.j_oTag);
|
|
404
|
+
} else if (type === tt.jsxTagEnd) {
|
|
405
|
+
const out = context[context.length - 1];
|
|
406
|
+
if (out === tc.j_oTag && prevType === tt.slash || out === tc.j_cTag) {
|
|
407
|
+
context.pop();
|
|
408
|
+
this.state.canStartJSXElement = context[context.length - 1] === tc.j_expr;
|
|
409
|
+
} else {
|
|
410
|
+
this.setContext(tc.j_expr);
|
|
411
|
+
this.state.canStartJSXElement = true;
|
|
412
|
+
}
|
|
413
|
+
} else {
|
|
414
|
+
this.state.canStartJSXElement = tokenComesBeforeExpression(type);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
export {
|
|
419
|
+
stdin_default as default
|
|
420
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
// Generated from Babel v7.29.8 (MIT); see README.md.
|
|
2
|
+
const entities = {
|
|
3
|
+
__proto__: null,
|
|
4
|
+
quot: '"',
|
|
5
|
+
amp: "&",
|
|
6
|
+
apos: "'",
|
|
7
|
+
lt: "<",
|
|
8
|
+
gt: ">",
|
|
9
|
+
nbsp: "\xA0",
|
|
10
|
+
iexcl: "\xA1",
|
|
11
|
+
cent: "\xA2",
|
|
12
|
+
pound: "\xA3",
|
|
13
|
+
curren: "\xA4",
|
|
14
|
+
yen: "\xA5",
|
|
15
|
+
brvbar: "\xA6",
|
|
16
|
+
sect: "\xA7",
|
|
17
|
+
uml: "\xA8",
|
|
18
|
+
copy: "\xA9",
|
|
19
|
+
ordf: "\xAA",
|
|
20
|
+
laquo: "\xAB",
|
|
21
|
+
not: "\xAC",
|
|
22
|
+
shy: "\xAD",
|
|
23
|
+
reg: "\xAE",
|
|
24
|
+
macr: "\xAF",
|
|
25
|
+
deg: "\xB0",
|
|
26
|
+
plusmn: "\xB1",
|
|
27
|
+
sup2: "\xB2",
|
|
28
|
+
sup3: "\xB3",
|
|
29
|
+
acute: "\xB4",
|
|
30
|
+
micro: "\xB5",
|
|
31
|
+
para: "\xB6",
|
|
32
|
+
middot: "\xB7",
|
|
33
|
+
cedil: "\xB8",
|
|
34
|
+
sup1: "\xB9",
|
|
35
|
+
ordm: "\xBA",
|
|
36
|
+
raquo: "\xBB",
|
|
37
|
+
frac14: "\xBC",
|
|
38
|
+
frac12: "\xBD",
|
|
39
|
+
frac34: "\xBE",
|
|
40
|
+
iquest: "\xBF",
|
|
41
|
+
Agrave: "\xC0",
|
|
42
|
+
Aacute: "\xC1",
|
|
43
|
+
Acirc: "\xC2",
|
|
44
|
+
Atilde: "\xC3",
|
|
45
|
+
Auml: "\xC4",
|
|
46
|
+
Aring: "\xC5",
|
|
47
|
+
AElig: "\xC6",
|
|
48
|
+
Ccedil: "\xC7",
|
|
49
|
+
Egrave: "\xC8",
|
|
50
|
+
Eacute: "\xC9",
|
|
51
|
+
Ecirc: "\xCA",
|
|
52
|
+
Euml: "\xCB",
|
|
53
|
+
Igrave: "\xCC",
|
|
54
|
+
Iacute: "\xCD",
|
|
55
|
+
Icirc: "\xCE",
|
|
56
|
+
Iuml: "\xCF",
|
|
57
|
+
ETH: "\xD0",
|
|
58
|
+
Ntilde: "\xD1",
|
|
59
|
+
Ograve: "\xD2",
|
|
60
|
+
Oacute: "\xD3",
|
|
61
|
+
Ocirc: "\xD4",
|
|
62
|
+
Otilde: "\xD5",
|
|
63
|
+
Ouml: "\xD6",
|
|
64
|
+
times: "\xD7",
|
|
65
|
+
Oslash: "\xD8",
|
|
66
|
+
Ugrave: "\xD9",
|
|
67
|
+
Uacute: "\xDA",
|
|
68
|
+
Ucirc: "\xDB",
|
|
69
|
+
Uuml: "\xDC",
|
|
70
|
+
Yacute: "\xDD",
|
|
71
|
+
THORN: "\xDE",
|
|
72
|
+
szlig: "\xDF",
|
|
73
|
+
agrave: "\xE0",
|
|
74
|
+
aacute: "\xE1",
|
|
75
|
+
acirc: "\xE2",
|
|
76
|
+
atilde: "\xE3",
|
|
77
|
+
auml: "\xE4",
|
|
78
|
+
aring: "\xE5",
|
|
79
|
+
aelig: "\xE6",
|
|
80
|
+
ccedil: "\xE7",
|
|
81
|
+
egrave: "\xE8",
|
|
82
|
+
eacute: "\xE9",
|
|
83
|
+
ecirc: "\xEA",
|
|
84
|
+
euml: "\xEB",
|
|
85
|
+
igrave: "\xEC",
|
|
86
|
+
iacute: "\xED",
|
|
87
|
+
icirc: "\xEE",
|
|
88
|
+
iuml: "\xEF",
|
|
89
|
+
eth: "\xF0",
|
|
90
|
+
ntilde: "\xF1",
|
|
91
|
+
ograve: "\xF2",
|
|
92
|
+
oacute: "\xF3",
|
|
93
|
+
ocirc: "\xF4",
|
|
94
|
+
otilde: "\xF5",
|
|
95
|
+
ouml: "\xF6",
|
|
96
|
+
divide: "\xF7",
|
|
97
|
+
oslash: "\xF8",
|
|
98
|
+
ugrave: "\xF9",
|
|
99
|
+
uacute: "\xFA",
|
|
100
|
+
ucirc: "\xFB",
|
|
101
|
+
uuml: "\xFC",
|
|
102
|
+
yacute: "\xFD",
|
|
103
|
+
thorn: "\xFE",
|
|
104
|
+
yuml: "\xFF",
|
|
105
|
+
OElig: "\u0152",
|
|
106
|
+
oelig: "\u0153",
|
|
107
|
+
Scaron: "\u0160",
|
|
108
|
+
scaron: "\u0161",
|
|
109
|
+
Yuml: "\u0178",
|
|
110
|
+
fnof: "\u0192",
|
|
111
|
+
circ: "\u02C6",
|
|
112
|
+
tilde: "\u02DC",
|
|
113
|
+
Alpha: "\u0391",
|
|
114
|
+
Beta: "\u0392",
|
|
115
|
+
Gamma: "\u0393",
|
|
116
|
+
Delta: "\u0394",
|
|
117
|
+
Epsilon: "\u0395",
|
|
118
|
+
Zeta: "\u0396",
|
|
119
|
+
Eta: "\u0397",
|
|
120
|
+
Theta: "\u0398",
|
|
121
|
+
Iota: "\u0399",
|
|
122
|
+
Kappa: "\u039A",
|
|
123
|
+
Lambda: "\u039B",
|
|
124
|
+
Mu: "\u039C",
|
|
125
|
+
Nu: "\u039D",
|
|
126
|
+
Xi: "\u039E",
|
|
127
|
+
Omicron: "\u039F",
|
|
128
|
+
Pi: "\u03A0",
|
|
129
|
+
Rho: "\u03A1",
|
|
130
|
+
Sigma: "\u03A3",
|
|
131
|
+
Tau: "\u03A4",
|
|
132
|
+
Upsilon: "\u03A5",
|
|
133
|
+
Phi: "\u03A6",
|
|
134
|
+
Chi: "\u03A7",
|
|
135
|
+
Psi: "\u03A8",
|
|
136
|
+
Omega: "\u03A9",
|
|
137
|
+
alpha: "\u03B1",
|
|
138
|
+
beta: "\u03B2",
|
|
139
|
+
gamma: "\u03B3",
|
|
140
|
+
delta: "\u03B4",
|
|
141
|
+
epsilon: "\u03B5",
|
|
142
|
+
zeta: "\u03B6",
|
|
143
|
+
eta: "\u03B7",
|
|
144
|
+
theta: "\u03B8",
|
|
145
|
+
iota: "\u03B9",
|
|
146
|
+
kappa: "\u03BA",
|
|
147
|
+
lambda: "\u03BB",
|
|
148
|
+
mu: "\u03BC",
|
|
149
|
+
nu: "\u03BD",
|
|
150
|
+
xi: "\u03BE",
|
|
151
|
+
omicron: "\u03BF",
|
|
152
|
+
pi: "\u03C0",
|
|
153
|
+
rho: "\u03C1",
|
|
154
|
+
sigmaf: "\u03C2",
|
|
155
|
+
sigma: "\u03C3",
|
|
156
|
+
tau: "\u03C4",
|
|
157
|
+
upsilon: "\u03C5",
|
|
158
|
+
phi: "\u03C6",
|
|
159
|
+
chi: "\u03C7",
|
|
160
|
+
psi: "\u03C8",
|
|
161
|
+
omega: "\u03C9",
|
|
162
|
+
thetasym: "\u03D1",
|
|
163
|
+
upsih: "\u03D2",
|
|
164
|
+
piv: "\u03D6",
|
|
165
|
+
ensp: "\u2002",
|
|
166
|
+
emsp: "\u2003",
|
|
167
|
+
thinsp: "\u2009",
|
|
168
|
+
zwnj: "\u200C",
|
|
169
|
+
zwj: "\u200D",
|
|
170
|
+
lrm: "\u200E",
|
|
171
|
+
rlm: "\u200F",
|
|
172
|
+
ndash: "\u2013",
|
|
173
|
+
mdash: "\u2014",
|
|
174
|
+
lsquo: "\u2018",
|
|
175
|
+
rsquo: "\u2019",
|
|
176
|
+
sbquo: "\u201A",
|
|
177
|
+
ldquo: "\u201C",
|
|
178
|
+
rdquo: "\u201D",
|
|
179
|
+
bdquo: "\u201E",
|
|
180
|
+
dagger: "\u2020",
|
|
181
|
+
Dagger: "\u2021",
|
|
182
|
+
bull: "\u2022",
|
|
183
|
+
hellip: "\u2026",
|
|
184
|
+
permil: "\u2030",
|
|
185
|
+
prime: "\u2032",
|
|
186
|
+
Prime: "\u2033",
|
|
187
|
+
lsaquo: "\u2039",
|
|
188
|
+
rsaquo: "\u203A",
|
|
189
|
+
oline: "\u203E",
|
|
190
|
+
frasl: "\u2044",
|
|
191
|
+
euro: "\u20AC",
|
|
192
|
+
image: "\u2111",
|
|
193
|
+
weierp: "\u2118",
|
|
194
|
+
real: "\u211C",
|
|
195
|
+
trade: "\u2122",
|
|
196
|
+
alefsym: "\u2135",
|
|
197
|
+
larr: "\u2190",
|
|
198
|
+
uarr: "\u2191",
|
|
199
|
+
rarr: "\u2192",
|
|
200
|
+
darr: "\u2193",
|
|
201
|
+
harr: "\u2194",
|
|
202
|
+
crarr: "\u21B5",
|
|
203
|
+
lArr: "\u21D0",
|
|
204
|
+
uArr: "\u21D1",
|
|
205
|
+
rArr: "\u21D2",
|
|
206
|
+
dArr: "\u21D3",
|
|
207
|
+
hArr: "\u21D4",
|
|
208
|
+
forall: "\u2200",
|
|
209
|
+
part: "\u2202",
|
|
210
|
+
exist: "\u2203",
|
|
211
|
+
empty: "\u2205",
|
|
212
|
+
nabla: "\u2207",
|
|
213
|
+
isin: "\u2208",
|
|
214
|
+
notin: "\u2209",
|
|
215
|
+
ni: "\u220B",
|
|
216
|
+
prod: "\u220F",
|
|
217
|
+
sum: "\u2211",
|
|
218
|
+
minus: "\u2212",
|
|
219
|
+
lowast: "\u2217",
|
|
220
|
+
radic: "\u221A",
|
|
221
|
+
prop: "\u221D",
|
|
222
|
+
infin: "\u221E",
|
|
223
|
+
ang: "\u2220",
|
|
224
|
+
and: "\u2227",
|
|
225
|
+
or: "\u2228",
|
|
226
|
+
cap: "\u2229",
|
|
227
|
+
cup: "\u222A",
|
|
228
|
+
int: "\u222B",
|
|
229
|
+
there4: "\u2234",
|
|
230
|
+
sim: "\u223C",
|
|
231
|
+
cong: "\u2245",
|
|
232
|
+
asymp: "\u2248",
|
|
233
|
+
ne: "\u2260",
|
|
234
|
+
equiv: "\u2261",
|
|
235
|
+
le: "\u2264",
|
|
236
|
+
ge: "\u2265",
|
|
237
|
+
sub: "\u2282",
|
|
238
|
+
sup: "\u2283",
|
|
239
|
+
nsub: "\u2284",
|
|
240
|
+
sube: "\u2286",
|
|
241
|
+
supe: "\u2287",
|
|
242
|
+
oplus: "\u2295",
|
|
243
|
+
otimes: "\u2297",
|
|
244
|
+
perp: "\u22A5",
|
|
245
|
+
sdot: "\u22C5",
|
|
246
|
+
lceil: "\u2308",
|
|
247
|
+
rceil: "\u2309",
|
|
248
|
+
lfloor: "\u230A",
|
|
249
|
+
rfloor: "\u230B",
|
|
250
|
+
lang: "\u2329",
|
|
251
|
+
rang: "\u232A",
|
|
252
|
+
loz: "\u25CA",
|
|
253
|
+
spades: "\u2660",
|
|
254
|
+
clubs: "\u2663",
|
|
255
|
+
hearts: "\u2665",
|
|
256
|
+
diams: "\u2666"
|
|
257
|
+
};
|
|
258
|
+
var stdin_default = entities;
|
|
259
|
+
export {
|
|
260
|
+
stdin_default as default
|
|
261
|
+
};
|