io

parsley.io$
object io

This module contains utilities to have parsers interact with IO, including the very useful parseFromFile method (exposed by ParseFromIO)

Attributes

Since

3.0.0

Source
io.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
io.type

Members list

Type members

Classlikes

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

This class exposes a method of running parsers from a file.

This class exposes a method of running parsers from a file.

This extension class operates on values that are convertible to parsers. It enables the use of the parseFromFile method, which can be used to run a parser on the contents of a file.

Type parameters

P

the type of base value that this class is used on (the conversion to Parsley) is summoned automatically.

Value parameters

con

a conversion that allows values convertible to parsers to be used.

p

the value that this class is enabling methods on.

Attributes

Constructor

This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.

Version

3.0.0

Source
io.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

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

This class exposes a method of running parsers from a file.

This class exposes a method of running parsers from a file.

This extension class operates on values that are convertible to parsers. It enables the use of the parseFromFile method, which can be used to run a parser on the contents of a file.

Type parameters

P

the type of base value that this class is used on (the conversion to Parsley) is summoned automatically.

Value parameters

con

a conversion that allows values convertible to parsers to be used.

p

the value that this class is enabling methods on.

Attributes

Constructor

This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.

Version

3.0.0

Source
io.scala