ParserSingletonBridge

parsley.generic.ParserSingletonBridge

Generic bridge trait enabling the <#/from combinator on this type: this is useful when the constructor is not applied immediately, like when using precedence. It does not track any metadata.

Attributes

Since

4.0.0

Source
generic.scala
Graph
Supertypes
trait ErrorBridge
class Object
trait Matchable
class Any
Known subtypes
trait ParserBridge0[R]
trait ParserBridge1[T1, R]
trait ParserBridge10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]
trait ParserBridge11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, R]
trait ParserBridge12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, R]
trait ParserBridge13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, R]
trait ParserBridge14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, R]
trait ParserBridge15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, R]
trait ParserBridge16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, R]
trait ParserBridge17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, R]
trait ParserBridge18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, R]
trait ParserBridge19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, R]
trait ParserBridge2[T1, T2, R]
trait ParserBridge20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R]
trait ParserBridge21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, R]
trait ParserBridge22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, R]
trait ParserBridge3[T1, T2, T3, R]
trait ParserBridge4[T1, T2, T3, T4, R]
trait ParserBridge5[T1, T2, T3, T4, T5, R]
trait ParserBridge6[T1, T2, T3, T4, T5, T6, R]
trait ParserBridge7[T1, T2, T3, T4, T5, T6, T7, R]
trait ParserBridge8[T1, T2, T3, T4, T5, T6, T7, T8, R]
trait ParserBridge9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
Show all

Members list

Value members

Abstract methods

def con: A

The abstract hook method: what value is the singleton representing?

The abstract hook method: what value is the singleton representing?

Attributes

Since

4.0.0

Source
generic.scala

Concrete methods

final def <#(op: Parsley[_]): Parsley[A]

The syntax on this implementing type that performs the parser and returns con.

The syntax on this implementing type that performs the parser and returns con.

Value parameters

op

the parser that should be parsed before returning con.

Attributes

Note

equivalent to from.

Source
generic.scala
final def from(op: Parsley[_]): Parsley[A]

The combinator on this implementing type that performs the parser and returns con.

The combinator on this implementing type that performs the parser and returns con.

Value parameters

op

the parser that should be parsed before returning con.

Attributes

Source
generic.scala

Inherited methods

final protected def error[T](p: Parsley[T]): Parsley[T]

Applies the error components described by labels and reason to the given parser.

Applies the error components described by labels and reason to the given parser.

Attributes

Note

this should be used within a bridge's apply and the from combinator.

Inherited from:
ErrorBridge
Source
generic.scala

The labels that should be associated with a failure to parse this bridge.

The labels that should be associated with a failure to parse this bridge.

The default, Nil, will not affect the labelling of the original error.

Attributes

Inherited from:
ErrorBridge
Source
generic.scala

The reason that should be associated with a failure to parse this bridge.

The reason that should be associated with a failure to parse this bridge.

The default, None, will not add any reasons.

Attributes

Inherited from:
ErrorBridge
Source
generic.scala