File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ StringValue ::
100
100
101
101
- ` "" ` [ lookahead != ` " ` ]
102
102
- ` " ` StringCharacter+ ` " `
103
- - ` """ ` BlockStringCharacter \* ` """ `
103
+ - BlockString
104
104
105
105
StringCharacter ::
106
106
@@ -121,6 +121,8 @@ HexDigit :: one of
121
121
122
122
EscapedCharacter :: one of ` " ` ` \ ` ` / ` ` b ` ` f ` ` n ` ` r ` ` t `
123
123
124
+ BlockString :: ` """ ` BlockStringCharacter\* ` """ `
125
+
124
126
BlockStringCharacter ::
125
127
126
128
- SourceCharacter but not ` """ ` or ` \""" `
Original file line number Diff line number Diff line change @@ -806,7 +806,7 @@ StringValue ::
806
806
807
807
- ` "" ` [ lookahead != ` " ` ]
808
808
- ` " ` StringCharacter+ ` " `
809
- - ` """ ` BlockStringCharacter \* ` """ `
809
+ - BlockString
810
810
811
811
StringCharacter ::
812
812
@@ -827,6 +827,8 @@ HexDigit :: one of
827
827
828
828
EscapedCharacter :: one of ` " ` ` \ ` ` / ` ` b ` ` f ` ` n ` ` r ` ` t `
829
829
830
+ BlockString :: ` """ ` BlockStringCharacter\* ` """ `
831
+
830
832
BlockStringCharacter ::
831
833
832
834
- SourceCharacter but not ` """ ` or ` \""" `
@@ -1007,7 +1009,11 @@ StringCharacter :: `\` EscapedCharacter
1007
1009
| {` r ` } | U+000D | carriage return |
1008
1010
| {` t ` } | U+0009 | horizontal tab |
1009
1011
1010
- StringValue :: ` """ ` BlockStringCharacter\* ` """ `
1012
+ StringValue :: BlockString
1013
+
1014
+ - Return the _ Unicode text_ by evaluating the {BlockString}.
1015
+
1016
+ BlockString :: ` """ ` BlockStringCharacter\* ` """ `
1011
1017
1012
1018
- Let {rawValue} be the _ Unicode text_ by concatenating the evaluation of all
1013
1019
{BlockStringCharacter} (which may be an empty sequence).
You can’t perform that action at this time.
0 commit comments