Packages

implicit class TypeLens[UpperPB] extends ObjectLens[UpperPB, Type]

Linear Supertypes
ObjectLens[UpperPB, Type], Lens[UpperPB, Type], Serializable, Serializable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeLens
  2. ObjectLens
  3. Lens
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeLens(_l: Lens[UpperPB, Type])

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def :=(a: Type): Mutation[UpperPB]

    alias to set

    alias to set

    Definition Classes
    Lens
  4. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def compose[B](other: Lens[Type, B]): Lens[UpperPB, B]

    Composes two lenses, this enables nesting.

    Composes two lenses, this enables nesting.

    If our field of type A has a sub-field of type B, then given a lens for it (other: Lens[A, B]) we can create a single lens from Container to B.

    Definition Classes
    Lens
  8. def edition: Lens[UpperPB, String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def field[A](getter: (Type) ⇒ A)(setter: (Type, A) ⇒ Type): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

    Definition Classes
    ObjectLens
  12. def field[A](lens: Lens[Type, A]): Lens[UpperPB, A]

    Creates a sub-lens

    Creates a sub-lens

    Definition Classes
    ObjectLens
  13. def fields: Lens[UpperPB, Seq[Field]]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def get(u: UpperPB): Type

    get knows how to extract some field of type A from a container

    get knows how to extract some field of type A from a container

    Definition Classes
    ObjectLensLens
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def modify(f: (Type) ⇒ Type): Mutation[UpperPB]

    Represent an update operator (like x.y += 1 )

    Represent an update operator (like x.y += 1 )

    Definition Classes
    Lens
  20. def name: Lens[UpperPB, String]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def oneofs: Lens[UpperPB, Seq[String]]
  25. def optionalSourceContext: Lens[UpperPB, scala.Option[source_context.SourceContext]]
  26. def options: Lens[UpperPB, Seq[OptionProto]]
  27. def set(c: Type): Mutation[UpperPB]

    Represents an assignment operator.

    Represents an assignment operator.

    Given a value of type A, sets knows how to transform a container such that a is assigned to the field.

    We must have get(set(a)(c)) == a

    Definition Classes
    ObjectLensLens
  28. def setIfDefined(aOpt: scala.Option[Type]): Mutation[UpperPB]

    Optional assignment.

    Optional assignment.

    Given a Some[A], assign the Some's value to the field. Given None, the container is unchanged.

    Definition Classes
    Lens
  29. def sourceContext: Lens[UpperPB, source_context.SourceContext]
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def syntax: Lens[UpperPB, Syntax]
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def update(ms: (Lens[Type, Type]) ⇒ Mutation[Type]*): Mutation[UpperPB]
    Definition Classes
    ObjectLens
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (Type, B)]

    Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

    Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

    Definition Classes
    Lens

Inherited from ObjectLens[UpperPB, Type]

Inherited from Lens[UpperPB, Type]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped