unsafe

object unsafe

This module contains various things that shouldn't be used without care and caution

Since

1.6.0

class Object
trait Matchable
class Any

Type members

Classlikes

final
class Context
implicit
class ErrorLabel[P, A](p: => P)(implicit con: P => Parsley[A])

This class enables faster, but potentially misleading error behaviour

This class enables faster, but potentially misleading error behaviour

Since

2.6.0

implicit
class FastRun[A](p: Parsley[A])(implicit ctx: Context)

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

Since

1.6.0

Value members

Concrete methods

This function returns a fresh Context. Contexts are used by the parsers to store their state. You should only need to use this if you are using parseFastUnsafe and you need separate execution contexts due to multi-threaded parsing.

This function returns a fresh Context. Contexts are used by the parsers to store their state. You should only need to use this if you are using parseFastUnsafe and you need separate execution contexts due to multi-threaded parsing.

Returns

A fresh execution context for parsers

Since

1.6.0

Implicits

Implicits

final implicit
def ErrorLabel[P, A](p: => P)(implicit con: P => Parsley[A]): ErrorLabel[P, A]

This class enables faster, but potentially misleading error behaviour

This class enables faster, but potentially misleading error behaviour

Since

2.6.0

final implicit
def FastRun[A](p: Parsley[A])(implicit ctx: Context): FastRun[A]

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

This class enables a bunch of unsafe running functionality on parsers, which makes them run faster at the cost of thread-safety. Use at your own risk.

Since

1.6.0