Scala Compiler2.12.2-20170504-135222-21d12e9 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package backend
  Definition Classes
    nsc
-  package jvm
  Definition Classes
    backend
-  object BackendReporting

  Utilities for error reporting.

  Utilities for error reporting.

  Defines some utility methods to make error reporting with Either easier.

  Definition Classes
    jvm
- CalleeInfoWarning
- CalleeNotFinal
- CannotInlineWarning
- ClassInlineInfoWarning
- ClassNotFound
- ClassNotFoundWhenBuildingInlineInfoFromSymbol
- ClassSymbolInfoFailureSI9111
- FieldNotFound
- IllegalAccessCheckFailed
- IllegalAccessInstruction
- Invalid
- MethodInlineInfoError
- MethodInlineInfoIncomplete
- MethodInlineInfoMissing
- MethodNotFound
- MethodWithHandlerCalledOnNonEmptyStack
- MissingBytecodeWarning
- NoClassBTypeInfo
- NoClassBTypeInfoClassSymbolInfoFailedSI9111
- NoClassBTypeInfoMissingBytecode
- NoInlineInfoAttribute
- OptimizerWarning
- ResultingMethodTooLarge
- RewriteClosureAccessCheckFailed
- RewriteClosureApplyToClosureBodyFailed
- RewriteClosureIllegalAccess
- RightBiasedEither
- StrictfpMismatch
- SynchronizedMethod
- UnknownInvokeDynamicInstruction
- UnknownScalaInlineInfoVersion
- emptyOptimizerWarning

c

scala.tools.nsc.backend.jvm.BackendReporting

# RightBiasedEither 

###

#### implicit final class RightBiasedEither[A, B] extends AnyVal

Source
  BackendReporting.scala

Linear Supertypes
AnyVal, Any
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. RightBiasedEither
2. AnyVal
3. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new RightBiasedEither(v: Either[A, B])

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     Any
2.  final def ##(): Int
   Definition Classes
     Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from RightBiasedEither[A, B] to any2stringadd[RightBiasedEither[A, B]] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (RightBiasedEither[A, B], B)
   Implicit
     This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
   Implicit
     This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
8.  def ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean): RightBiasedEither[A, B]
   Implicit
     This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
9.  def ensuring(cond: Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
   Implicit
     This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: Boolean): RightBiasedEither[A, B]
    Implicit
      This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from RightBiasedEither[A, B] to StringFormat[RightBiasedEither[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
12.  def get: B

    Get the value, fail with an assertion if this is an error.

13.  def getClass(): Class[_ <: AnyVal]
    Definition Classes
      AnyVal → Any
14.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
15.  def orThrow: B

    Get the right value of an `Either` by throwing a potential error message.

    Get the right value of an `Either` by throwing a potential error message. Can simplify the implementation of methods that act on multiple `Either` instances. Instead of flat-mapping, the first error can be collected as

    tryEither { eitherOne.orThrow .... eitherTwo.orThrow ... eitherThree.orThrow }

16.  def toString(): String
    Definition Classes
      Any
17.  val v: Either[A, B]
18.  def withFilter(f: (B) ⇒ Boolean)(implicit empty: A): Either[A, B]
19.  def →[B](y: B): (RightBiasedEither[A, B], B)
    Implicit
      This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from AnyVal

### Inherited from Any

### Inherited by implicit conversion any2stringadd from RightBiasedEither[A, B] to any2stringadd[RightBiasedEither[A, B]]

### Inherited by implicit conversion StringFormat from RightBiasedEither[A, B] to StringFormat[RightBiasedEither[A, B]]

### Inherited by implicit conversion Ensuring from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]]

### Inherited by implicit conversion ArrowAssoc from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]]

### Ungrouped