Skip to content

Commit

Permalink
fixed some defunct names
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Apr 15, 2024
1 parent 9e0d86e commit 768c7e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private [parsley] final class Put[S](val ref: Ref[S], _p: LazyParsley[S]) extend
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[Unit] = visitor.visit(this, context)(ref, _p)

override private[parsley] def prettyName = "Reg.put"
override private[parsley] def prettyName = "Ref.set"
// $COVERAGE-ON$
}
private [parsley] final class NewReg[S, A](val ref: Ref[S], init: LazyParsley[S], body: =>LazyParsley[A]) extends Binary[S, A, A](init, body) with UsesRef {
Expand All @@ -53,7 +53,7 @@ private [parsley] final class NewReg[S, A](val ref: Ref[S], init: LazyParsley[S]
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(ref, init, body)

override private[parsley] def prettyName = "fillReg"
override private[parsley] def prettyName = "fillRef"
// $COVERAGE-ON$
}
private [parsley] final class Span(p: LazyParsley[_]) extends Unary[Any, String](p) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private [parsley] final class CharTok[A](private val c: Char, private val x: A,
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(c, x, expected)

override private[parsley] def prettyName: String = "charTok"
override private[parsley] def prettyName: String = "char"
// $COVERAGE-ON$
}

Expand All @@ -40,7 +40,7 @@ private [parsley] final class SupplementaryCharTok[A](private val codepoint: Int
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(codepoint, x, expected)

override private[parsley] def prettyName: String = "supplementaryCharTok"
override private[parsley] def prettyName: String = "char"
// $COVERAGE-ON$
}

Expand All @@ -58,7 +58,7 @@ private [parsley] final class StringTok[A](private val s: String, private val x:
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[A] = visitor.visit(this, context)(s, x, expected)

override private[parsley] def prettyName: String = "stringTok"
override private[parsley] def prettyName: String = "string"
// $COVERAGE-ON$
}

Expand Down Expand Up @@ -106,7 +106,7 @@ private [parsley] final class Modify[S](val ref: Ref[S], f: S => S) extends Sing
// $COVERAGE-OFF$
override def visit[T, U[+_]](visitor: LazyParsleyIVisitor[T, U], context: T): U[Unit] = visitor.visit(this, context)(ref, f)

override private[parsley] def prettyName = "Reg.modify"
override private[parsley] def prettyName = "Ref.update"
// $COVERAGE-ON$
}

Expand Down

0 comments on commit 768c7e4

Please sign in to comment.