implicit final class InvariantOps[In, Out] extends AnyVal
- Source
- Parser.scala
- Grouped
- Alphabetic
- By Inheritance
- InvariantOps
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toany2stringadd[InvariantOps[In, Out]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (InvariantOps[In, Out], B)
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toArrowAssoc[InvariantOps[In, Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (InvariantOps[In, Out]) => Boolean, msg: => Any): InvariantOps[In, Out]
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toEnsuring[InvariantOps[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (InvariantOps[In, Out]) => Boolean): InvariantOps[In, Out]
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toEnsuring[InvariantOps[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): InvariantOps[In, Out]
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toEnsuring[InvariantOps[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): InvariantOps[In, Out]
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toEnsuring[InvariantOps[In, Out]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toStringFormat[InvariantOps[In, Out]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def parseF[F[_], S](source: S)(implicit S: Parsable[F, S, In], pos: CallerPos): F[Out]
Interpret the given
source
as a data stream of typeIn
, using this parser to produce a result of typeOut
.Interpret the given
source
as a data stream of typeIn
, using this parser to produce a result of typeOut
. In this version of theparse
method, the data-pull and handler logic is run in theF
context. Exceptions thrown by the underlying parser logic will be raised in the F context instead of thrown.- F
An effect type in which the data-pull and handler logic will be run
- S
The source type. Will typically be a
File
or aList[In]
.- source
The source of a data stream
- S
Typeclass instance that provides the logic for feeding values from
source
into this parser- pos
Captures the caller filename and line number, used to fill in the 'spac trace' if the parser throws an exception
- returns
An effect which, when evaluated, will consume data events from the
source
using this parser to produce a result. Note that if theF
type isn't "lazy", the actual evaluation of the stream may happen as part of the *construction* of theF[Out]
, rather than during the *evaluation*.
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def →[B](y: B): (InvariantOps[In, Out], B)
- Implicit
- This member is added by an implicit conversion from InvariantOps[In, Out] toArrowAssoc[InvariantOps[In, Out]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.