Skip to content

Commit cb23e5e

Browse files
committed
Add whitespace for readability
1 parent 7a82a78 commit cb23e5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared/src/main/scala/scala/util/parsing/combinator/JavaTokenParsers.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ trait JavaTokenParsers extends RegexParsers {
3737
/** An integer, without sign or with a negative sign. */
3838
def wholeNumber: Parser[String] =
3939
"""-?\d+""".r
40+
4041
/** Number following one of these rules:
4142
*
4243
* - An integer. For example: `13`
@@ -46,6 +47,7 @@ trait JavaTokenParsers extends RegexParsers {
4647
*/
4748
def decimalNumber: Parser[String] =
4849
"""(\d+(\.\d*)?|\d*\.\d+)""".r
50+
4951
/** Double quotes (`"`) enclosing a sequence of:
5052
*
5153
* - Any character except double quotes, control characters or backslash (`\`)
@@ -56,6 +58,7 @@ trait JavaTokenParsers extends RegexParsers {
5658
@migration("`stringLiteral` allows escaping single and double quotes, but not forward slashes any longer.", "2.10.0")
5759
def stringLiteral: Parser[String] =
5860
("\""+"""([^"\x00-\x1F\x7F\\]|\\[\\'"bfnrt]|\\u[a-fA-F0-9]{4})*"""+"\"").r
61+
5962
/** A number following the rules of `decimalNumber`, with the following
6063
* optional additions:
6164
*

0 commit comments

Comments
 (0)