summaryrefslogtreecommitdiff
path: root/src/library/scala/util/parsing/combinator/RegexParsers.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/util/parsing/combinator/RegexParsers.scala')
-rw-r--r--src/library/scala/util/parsing/combinator/RegexParsers.scala16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/library/scala/util/parsing/combinator/RegexParsers.scala b/src/library/scala/util/parsing/combinator/RegexParsers.scala
index 134e7e6323..83155470e8 100644
--- a/src/library/scala/util/parsing/combinator/RegexParsers.scala
+++ b/src/library/scala/util/parsing/combinator/RegexParsers.scala
@@ -69,10 +69,10 @@ trait RegexParsers extends Parsers {
}
}
- /** `positioned' decorates a parser's result with the start position of the input it consumed.
+ /** `positioned` decorates a parser's result with the start position of the input it consumed.
* If whitespace is being skipped, then it is skipped before the start position is recorded.
*
- * @param p a `Parser' whose result conforms to `Positional'.
+ * @param p a `Parser` whose result conforms to `Positional'.
* @return A parser that has the same behaviour as `p', but which marks its result with the
* start position of the input it consumed after whitespace has been skipped, if it
* didn't already have a position.
@@ -91,27 +91,27 @@ trait RegexParsers extends Parsers {
override def phrase[T](p: Parser[T]): Parser[T] =
super.phrase(p <~ opt("""\z""".r))
- /** Parse some prefix of reader `in' with parser `p' */
+ /** Parse some prefix of reader `in` with parser `p`. */
def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T] =
p(in)
- /** Parse some prefix of character sequence `in' with parser `p' */
+ /** Parse some prefix of character sequence `in` with parser `p`. */
def parse[T](p: Parser[T], in: java.lang.CharSequence): ParseResult[T] =
p(new CharSequenceReader(in))
- /** Parse some prefix of reader `in' with parser `p' */
+ /** Parse some prefix of reader `in` with parser `p`. */
def parse[T](p: Parser[T], in: java.io.Reader): ParseResult[T] =
p(new PagedSeqReader(PagedSeq.fromReader(in)))
- /** Parse all of reader `in' with parser `p' */
+ /** Parse all of reader `in` with parser `p`. */
def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T] =
parse(phrase(p), in)
- /** Parse all of reader `in' with parser `p' */
+ /** Parse all of reader `in` with parser `p`. */
def parseAll[T](p: Parser[T], in: java.io.Reader): ParseResult[T] =
parse(phrase(p), in)
- /** Parse all of character sequence `in' with parser `p' */
+ /** Parse all of character sequence `in` with parser `p`. */
def parseAll[T](p: Parser[T], in: java.lang.CharSequence): ParseResult[T] =
parse(phrase(p), in)
}