/
uppercase.js
executable file
路260 lines (258 loc) 路 10.2 KB
/
uppercase.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/*
* This file is auto-generated! Do not modify it directly.
* To re-generate run 'make build'
*/
/**
* This file is written in JavaScript and not TypeScript because uppercase builders
* conflict with AST types. TypeScript reads the uppercase.d.ts file instead.
*/
export {
arrayExpression as ArrayExpression,
assignmentExpression as AssignmentExpression,
binaryExpression as BinaryExpression,
interpreterDirective as InterpreterDirective,
directive as Directive,
directiveLiteral as DirectiveLiteral,
blockStatement as BlockStatement,
breakStatement as BreakStatement,
callExpression as CallExpression,
catchClause as CatchClause,
conditionalExpression as ConditionalExpression,
continueStatement as ContinueStatement,
debuggerStatement as DebuggerStatement,
doWhileStatement as DoWhileStatement,
emptyStatement as EmptyStatement,
expressionStatement as ExpressionStatement,
file as File,
forInStatement as ForInStatement,
forStatement as ForStatement,
functionDeclaration as FunctionDeclaration,
functionExpression as FunctionExpression,
identifier as Identifier,
ifStatement as IfStatement,
labeledStatement as LabeledStatement,
stringLiteral as StringLiteral,
numericLiteral as NumericLiteral,
nullLiteral as NullLiteral,
booleanLiteral as BooleanLiteral,
regExpLiteral as RegExpLiteral,
logicalExpression as LogicalExpression,
memberExpression as MemberExpression,
newExpression as NewExpression,
program as Program,
objectExpression as ObjectExpression,
objectMethod as ObjectMethod,
objectProperty as ObjectProperty,
restElement as RestElement,
returnStatement as ReturnStatement,
sequenceExpression as SequenceExpression,
parenthesizedExpression as ParenthesizedExpression,
switchCase as SwitchCase,
switchStatement as SwitchStatement,
thisExpression as ThisExpression,
throwStatement as ThrowStatement,
tryStatement as TryStatement,
unaryExpression as UnaryExpression,
updateExpression as UpdateExpression,
variableDeclaration as VariableDeclaration,
variableDeclarator as VariableDeclarator,
whileStatement as WhileStatement,
withStatement as WithStatement,
assignmentPattern as AssignmentPattern,
arrayPattern as ArrayPattern,
arrowFunctionExpression as ArrowFunctionExpression,
classBody as ClassBody,
classExpression as ClassExpression,
classDeclaration as ClassDeclaration,
exportAllDeclaration as ExportAllDeclaration,
exportDefaultDeclaration as ExportDefaultDeclaration,
exportNamedDeclaration as ExportNamedDeclaration,
exportSpecifier as ExportSpecifier,
forOfStatement as ForOfStatement,
importDeclaration as ImportDeclaration,
importDefaultSpecifier as ImportDefaultSpecifier,
importNamespaceSpecifier as ImportNamespaceSpecifier,
importSpecifier as ImportSpecifier,
metaProperty as MetaProperty,
classMethod as ClassMethod,
objectPattern as ObjectPattern,
spreadElement as SpreadElement,
super as Super,
taggedTemplateExpression as TaggedTemplateExpression,
templateElement as TemplateElement,
templateLiteral as TemplateLiteral,
yieldExpression as YieldExpression,
awaitExpression as AwaitExpression,
import as Import,
bigIntLiteral as BigIntLiteral,
exportNamespaceSpecifier as ExportNamespaceSpecifier,
optionalMemberExpression as OptionalMemberExpression,
optionalCallExpression as OptionalCallExpression,
anyTypeAnnotation as AnyTypeAnnotation,
arrayTypeAnnotation as ArrayTypeAnnotation,
booleanTypeAnnotation as BooleanTypeAnnotation,
booleanLiteralTypeAnnotation as BooleanLiteralTypeAnnotation,
nullLiteralTypeAnnotation as NullLiteralTypeAnnotation,
classImplements as ClassImplements,
declareClass as DeclareClass,
declareFunction as DeclareFunction,
declareInterface as DeclareInterface,
declareModule as DeclareModule,
declareModuleExports as DeclareModuleExports,
declareTypeAlias as DeclareTypeAlias,
declareOpaqueType as DeclareOpaqueType,
declareVariable as DeclareVariable,
declareExportDeclaration as DeclareExportDeclaration,
declareExportAllDeclaration as DeclareExportAllDeclaration,
declaredPredicate as DeclaredPredicate,
existsTypeAnnotation as ExistsTypeAnnotation,
functionTypeAnnotation as FunctionTypeAnnotation,
functionTypeParam as FunctionTypeParam,
genericTypeAnnotation as GenericTypeAnnotation,
inferredPredicate as InferredPredicate,
interfaceExtends as InterfaceExtends,
interfaceDeclaration as InterfaceDeclaration,
interfaceTypeAnnotation as InterfaceTypeAnnotation,
intersectionTypeAnnotation as IntersectionTypeAnnotation,
mixedTypeAnnotation as MixedTypeAnnotation,
emptyTypeAnnotation as EmptyTypeAnnotation,
nullableTypeAnnotation as NullableTypeAnnotation,
numberLiteralTypeAnnotation as NumberLiteralTypeAnnotation,
numberTypeAnnotation as NumberTypeAnnotation,
objectTypeAnnotation as ObjectTypeAnnotation,
objectTypeInternalSlot as ObjectTypeInternalSlot,
objectTypeCallProperty as ObjectTypeCallProperty,
objectTypeIndexer as ObjectTypeIndexer,
objectTypeProperty as ObjectTypeProperty,
objectTypeSpreadProperty as ObjectTypeSpreadProperty,
opaqueType as OpaqueType,
qualifiedTypeIdentifier as QualifiedTypeIdentifier,
stringLiteralTypeAnnotation as StringLiteralTypeAnnotation,
stringTypeAnnotation as StringTypeAnnotation,
symbolTypeAnnotation as SymbolTypeAnnotation,
thisTypeAnnotation as ThisTypeAnnotation,
tupleTypeAnnotation as TupleTypeAnnotation,
typeofTypeAnnotation as TypeofTypeAnnotation,
typeAlias as TypeAlias,
typeAnnotation as TypeAnnotation,
typeCastExpression as TypeCastExpression,
typeParameter as TypeParameter,
typeParameterDeclaration as TypeParameterDeclaration,
typeParameterInstantiation as TypeParameterInstantiation,
unionTypeAnnotation as UnionTypeAnnotation,
variance as Variance,
voidTypeAnnotation as VoidTypeAnnotation,
enumDeclaration as EnumDeclaration,
enumBooleanBody as EnumBooleanBody,
enumNumberBody as EnumNumberBody,
enumStringBody as EnumStringBody,
enumSymbolBody as EnumSymbolBody,
enumBooleanMember as EnumBooleanMember,
enumNumberMember as EnumNumberMember,
enumStringMember as EnumStringMember,
enumDefaultedMember as EnumDefaultedMember,
indexedAccessType as IndexedAccessType,
jsxAttribute as JSXAttribute,
jsxClosingElement as JSXClosingElement,
jsxElement as JSXElement,
jsxEmptyExpression as JSXEmptyExpression,
jsxExpressionContainer as JSXExpressionContainer,
jsxSpreadChild as JSXSpreadChild,
jsxIdentifier as JSXIdentifier,
jsxMemberExpression as JSXMemberExpression,
jsxNamespacedName as JSXNamespacedName,
jsxOpeningElement as JSXOpeningElement,
jsxSpreadAttribute as JSXSpreadAttribute,
jsxText as JSXText,
jsxFragment as JSXFragment,
jsxOpeningFragment as JSXOpeningFragment,
jsxClosingFragment as JSXClosingFragment,
noop as Noop,
placeholder as Placeholder,
v8IntrinsicIdentifier as V8IntrinsicIdentifier,
argumentPlaceholder as ArgumentPlaceholder,
bindExpression as BindExpression,
classProperty as ClassProperty,
pipelineTopicExpression as PipelineTopicExpression,
pipelineBareFunction as PipelineBareFunction,
pipelinePrimaryTopicReference as PipelinePrimaryTopicReference,
classPrivateProperty as ClassPrivateProperty,
classPrivateMethod as ClassPrivateMethod,
importAttribute as ImportAttribute,
decorator as Decorator,
doExpression as DoExpression,
exportDefaultSpecifier as ExportDefaultSpecifier,
privateName as PrivateName,
recordExpression as RecordExpression,
tupleExpression as TupleExpression,
decimalLiteral as DecimalLiteral,
staticBlock as StaticBlock,
moduleExpression as ModuleExpression,
tsParameterProperty as TSParameterProperty,
tsDeclareFunction as TSDeclareFunction,
tsDeclareMethod as TSDeclareMethod,
tsQualifiedName as TSQualifiedName,
tsCallSignatureDeclaration as TSCallSignatureDeclaration,
tsConstructSignatureDeclaration as TSConstructSignatureDeclaration,
tsPropertySignature as TSPropertySignature,
tsMethodSignature as TSMethodSignature,
tsIndexSignature as TSIndexSignature,
tsAnyKeyword as TSAnyKeyword,
tsBooleanKeyword as TSBooleanKeyword,
tsBigIntKeyword as TSBigIntKeyword,
tsIntrinsicKeyword as TSIntrinsicKeyword,
tsNeverKeyword as TSNeverKeyword,
tsNullKeyword as TSNullKeyword,
tsNumberKeyword as TSNumberKeyword,
tsObjectKeyword as TSObjectKeyword,
tsStringKeyword as TSStringKeyword,
tsSymbolKeyword as TSSymbolKeyword,
tsUndefinedKeyword as TSUndefinedKeyword,
tsUnknownKeyword as TSUnknownKeyword,
tsVoidKeyword as TSVoidKeyword,
tsThisType as TSThisType,
tsFunctionType as TSFunctionType,
tsConstructorType as TSConstructorType,
tsTypeReference as TSTypeReference,
tsTypePredicate as TSTypePredicate,
tsTypeQuery as TSTypeQuery,
tsTypeLiteral as TSTypeLiteral,
tsArrayType as TSArrayType,
tsTupleType as TSTupleType,
tsOptionalType as TSOptionalType,
tsRestType as TSRestType,
tsNamedTupleMember as TSNamedTupleMember,
tsUnionType as TSUnionType,
tsIntersectionType as TSIntersectionType,
tsConditionalType as TSConditionalType,
tsInferType as TSInferType,
tsParenthesizedType as TSParenthesizedType,
tsTypeOperator as TSTypeOperator,
tsIndexedAccessType as TSIndexedAccessType,
tsMappedType as TSMappedType,
tsLiteralType as TSLiteralType,
tsExpressionWithTypeArguments as TSExpressionWithTypeArguments,
tsInterfaceDeclaration as TSInterfaceDeclaration,
tsInterfaceBody as TSInterfaceBody,
tsTypeAliasDeclaration as TSTypeAliasDeclaration,
tsAsExpression as TSAsExpression,
tsTypeAssertion as TSTypeAssertion,
tsEnumDeclaration as TSEnumDeclaration,
tsEnumMember as TSEnumMember,
tsModuleDeclaration as TSModuleDeclaration,
tsModuleBlock as TSModuleBlock,
tsImportType as TSImportType,
tsImportEqualsDeclaration as TSImportEqualsDeclaration,
tsExternalModuleReference as TSExternalModuleReference,
tsNonNullExpression as TSNonNullExpression,
tsExportAssignment as TSExportAssignment,
tsNamespaceExportDeclaration as TSNamespaceExportDeclaration,
tsTypeAnnotation as TSTypeAnnotation,
tsTypeParameterInstantiation as TSTypeParameterInstantiation,
tsTypeParameterDeclaration as TSTypeParameterDeclaration,
tsTypeParameter as TSTypeParameter,
numberLiteral as NumberLiteral,
regexLiteral as RegexLiteral,
restProperty as RestProperty,
spreadProperty as SpreadProperty,
} from "./index";