Skip to content

Commit 0713d34

Browse files
committed
More formatting glitches
1 parent 6092ddd commit 0713d34

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed
55 Bytes
Binary file not shown.

doc/spec.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4284,8 +4284,8 @@ Note that the construct signatures in the constructor function types have the sa
42844284
A constructor declaration declares the constructor function of a class.
42854285
42864286
  *ConstructorDeclaration:*
4287-
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`{`&emsp;*FunctionBody*&emsp;`}
4288-
&emsp;&emsp;&emsp;`*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`;`
4287+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`{`&emsp;*FunctionBody*&emsp;`}`
4288+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`;`
42894289
42904290
Constructor declarations that specify a body are called ***constructor implementations*** and constructor declarations without a body are called ***constructor overloads***. It is possible to specify multiple constructor overloads in a class, but a class can have at most one constructor implementation. All constructor declarations in a class must specify the same set of modifiers. Only public constructors are supported and private or protected constructors result in an error.
42914291
@@ -4467,8 +4467,8 @@ class Employee {
44674467
A member function declaration declares an instance member function or a static member function.
44684468
44694469
&emsp;&emsp;*MemberFunctionDeclaration:*
4470-
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`{`&emsp;*FunctionBody*&emsp;`}
4471-
&emsp;&emsp;&emsp;`*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`;`
4470+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`{`&emsp;*FunctionBody*&emsp;`}`
4471+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`;`
44724472
44734473
A member function declaration is processed in the same manner as an ordinary function declaration (section [6](#6)), except that in a member function `this` has a known type.
44744474
@@ -5768,9 +5768,9 @@ Ambient declarations are written using the `declare` keyword and can declare var
57685768
An ambient variable declaration introduces a variable in the containing declaration space.
57695769
57705770
&emsp;&emsp;*AmbientVariableDeclaration:*
5771-
&emsp;&emsp;&emsp;`var`&emsp;*AmbientBindingList*&emsp;`;
5772-
&emsp;&emsp;&emsp;let`&emsp;*AmbientBindingList*&emsp;`;
5773-
&emsp;&emsp;&emsp;const`&emsp;*AmbientBindingList*&emsp;`;`
5771+
&emsp;&emsp;&emsp;`var`&emsp;*AmbientBindingList*&emsp;`;`
5772+
&emsp;&emsp;&emsp;`let`&emsp;*AmbientBindingList*&emsp;`;`
5773+
&emsp;&emsp;&emsp;`const`&emsp;*AmbientBindingList*&emsp;`;`
57745774
57755775
&emsp;&emsp;*AmbientBindingList:*
57765776
&emsp;&emsp;&emsp;*AmbientBinding*
@@ -6184,8 +6184,8 @@ This appendix contains a summary of the grammar found in the main document. As d
61846184
&emsp;&emsp;&emsp;*IndexMemberDeclaration*
61856185
61866186
&emsp;&emsp;*ConstructorDeclaration:*
6187-
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`{`&emsp;*FunctionBody*&emsp;`}
6188-
&emsp;&emsp;&emsp;`*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`;`
6187+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`{`&emsp;*FunctionBody*&emsp;`}`
6188+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`constructor`&emsp;`(`&emsp;*ParameterList<sub>opt</sub>*&emsp;`)`&emsp;`;`
61896189
61906190
&emsp;&emsp;*PropertyMemberDeclaration:*
61916191
&emsp;&emsp;&emsp;*MemberVariableDeclaration*
@@ -6196,8 +6196,8 @@ This appendix contains a summary of the grammar found in the main document. As d
61966196
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*TypeAnnotation<sub>opt</sub>*&emsp;*Initializer<sub>opt</sub>*&emsp;`;`
61976197
61986198
&emsp;&emsp;*MemberFunctionDeclaration:*
6199-
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`{`&emsp;*FunctionBody*&emsp;`}
6200-
&emsp;&emsp;&emsp;`*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`;`
6199+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`{`&emsp;*FunctionBody*&emsp;`}`
6200+
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*PropertyName*&emsp;*CallSignature*&emsp;`;`
62016201
62026202
&emsp;&emsp;*MemberAccessorDeclaration:*
62036203
&emsp;&emsp;&emsp;*AccessibilityModifier<sub>opt</sub>*&emsp;`static`*<sub>opt</sub>*&emsp;*GetAccessor*
@@ -6415,9 +6415,9 @@ This appendix contains a summary of the grammar found in the main document. As d
64156415
&emsp;&emsp;&emsp;`declare`&emsp;*AmbientNamespaceDeclaration*
64166416
64176417
&emsp;&emsp;*AmbientVariableDeclaration:*
6418-
&emsp;&emsp;&emsp;`var`&emsp;*AmbientBindingList*&emsp;`;
6419-
&emsp;&emsp;&emsp;let`&emsp;*AmbientBindingList*&emsp;`;
6420-
&emsp;&emsp;&emsp;const`&emsp;*AmbientBindingList*&emsp;`;`
6418+
&emsp;&emsp;&emsp;`var`&emsp;*AmbientBindingList*&emsp;`;`
6419+
&emsp;&emsp;&emsp;`let`&emsp;*AmbientBindingList*&emsp;`;`
6420+
&emsp;&emsp;&emsp;`const`&emsp;*AmbientBindingList*&emsp;`;`
64216421
64226422
&emsp;&emsp;*AmbientBindingList:*
64236423
&emsp;&emsp;&emsp;*AmbientBinding*

0 commit comments

Comments
 (0)