Lift0

parsley.syntax.lift.Lift0
final implicit class Lift0[R](x: R) extends AnyVal

This class enables the lift syntax on any value, which functions as pure as a postfix method.

Value parameters

x

the value to lift to the parser level.

Attributes

Constructor

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

Source
lift.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def lift: Parsley[R]

This combinator injects a value into the parser level without consuming input.

This combinator injects a value into the parser level without consuming input.

This acts as a postfix verion of the pure combinator, this exists for consistency with the other arity lifters.

Attributes

Returns
See also
Source
lift.scala