ParserBridge0
Generic bridge trait for singleton objects that simply return themselves after running the parser provided to <#
.
Attributes
- Since
-
4.0.0
- Source
- generic.scala
- Graph
-
- Supertypes
- Self type
-
R
Members list
Value members
Concrete methods
The abstract hook method: what value is the singleton representing?
The abstract hook method: what value is the singleton representing?
Attributes
- Definition Classes
- Source
- generic.scala
Inherited methods
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
. - Inherited from:
- ParserSingletonBridge
- Source
- generic.scala
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 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
- Inherited from:
- ParserSingletonBridge
- 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