unsafe

object unsafe

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

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
class ErrorLabel[P, A](p: => P)(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

class FastRun[A](p: Parsley[A])(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 runParserFastUnsafe 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 runParserFastUnsafe and you need separate execution contexts due to multi-threaded parsing.

Returns

A fresh execution context for parsers

Since

1.6.0