Merge pull request #4560 from eatkins/unseal-parser

Unseal Parser
This commit is contained in:
eugene yokota 2019-03-17 21:19:13 -04:00 committed by GitHub
commit 7e3327bff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ import sbt.internal.util.Util.{ makeList, separate }
* The methods in this trait are what must be implemented to define a new Parser implementation, but are not typically useful for common usage.
* Instead, most useful methods for combining smaller parsers into larger parsers are implicitly added by the [[RichParser]] type.
*/
sealed trait Parser[+T] {
trait Parser[+T] {
def derive(i: Char): Parser[T]
def resultEmpty: Result[T]
def result: Option[T]