scala.tools.nsc.typechecker.PatternMatching

OptimizingMatchTranslator

class OptimizingMatchTranslator extends MatchTranslation with TreeMakers with MatchOptimizations

Source
PatternMatching.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OptimizingMatchTranslator
  2. MatchOptimizations
  3. DPLLSolver
  4. CNF
  5. SymbolicMatchAnalysis
  6. Logic
  7. OptimizedCodegen
  8. CodegenCore
  9. SwitchEmission
  10. OptimizedMatchMonadInterface
  11. DeadCodeElimination
  12. CommonSubconditionElimination
  13. TreeMakerApproximation
  14. Prettification
  15. TreeMakers
  16. TypedSubstitution
  17. MatchTranslation
  18. MatchMonadInterface
  19. AnyRef
  20. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OptimizingMatchTranslator(typer: Typer)

Type Members

  1. trait AbsCodegen extends AnyRef

  2. trait AbsConst extends AnyRef

  3. trait AbsVar extends AnyRef

  4. case class AlternativesTreeMaker(prevBinder: Symbol, altss: List[List[TreeMaker]], pos: Position) extends TreeMaker with NoNewBinders with Product with Serializable

  5. case class And(a: Prop, b: Prop) extends Prop with Product with Serializable

  6. case class AndCond(a: Cond, b: Cond) extends Cond with Product with Serializable

  7. case class BodyTreeMaker(body: Tree, matchPt: Type) extends TreeMaker with NoNewBinders with Product with Serializable

  8. class CNFBudgetExceeded extends RuntimeException

  9. trait Casegen extends AbsCodegen

  10. type Clause = Set[Lit]

    Definition Classes
    CNF
  11. abstract class CommonCodegen extends AbsCodegen

  12. abstract class Cond extends AnyRef

  13. abstract class CondTreeMaker extends FunTreeMaker

  14. sealed abstract class Const extends AbsConst

    Definition Classes
    SymbolicMatchAnalysisLogic
  15. case class ConstructorExample(cls: Symbol, ctorArgs: List[CounterExample]) extends CounterExample with Product with Serializable

  16. class CounterExample extends AnyRef

  17. case class Eq(p: Var, q: Const) extends Prop with Product with Serializable

  18. class EqualityCond extends Cond

  19. case class EqualityTestTreeMaker(prevBinder: Symbol, patTree: Tree, pos: Position) extends CondTreeMaker with Product with Serializable

  20. abstract class ExtractorCall extends AnyRef

  21. class ExtractorCallProd extends ExtractorCall

  22. class ExtractorCallRegular extends ExtractorCall

  23. case class ExtractorTreeMaker(extractor: Tree, extraCond: Option[Tree], nextBinder: Symbol, localSubstitution: Substitution, extractorReturnsBoolean: Boolean, checkedLength: Option[Int], prevBinder: Symbol) extends FunTreeMaker with Product with Serializable

    Make a TreeMaker that will result in an extractor call specified by extractor the next TreeMaker (here, we don't know which it'll be) is chained after this one by flatMap'ing a function with binder nextBinder over our extractor's result the function's body is determined by the next TreeMaker in this function's body, and all the subsequent ones, references to the symbols in from will be replaced by the corresponding tree in to

  24. type Formula = Array[Clause]

    Definition Classes
    CNFLogic
  25. abstract class FunTreeMaker extends TreeMaker

  26. case class GuardTreeMaker(guardTree: Tree) extends TreeMaker with NoNewBinders with Product with Serializable

  27. case class ListExample(ctorArgs: List[CounterExample]) extends CounterExample with Product with Serializable

  28. class Lit extends AnyRef

    Definition Classes
    DPLLSolverCNF
  29. type Model = Map[Sym, Boolean]

    Definition Classes
    Logic
  30. case class NegativeExample(nonTrivialNonEqualTo: List[Const]) extends CounterExample with Product with Serializable

  31. trait NoNewBinders extends TreeMaker

  32. class NonNullCond extends Cond

  33. case class Not(a: Prop) extends Prop with Product with Serializable

  34. case class Or(a: Prop, b: Prop) extends Prop with Product with Serializable

  35. case class OrCond(a: Cond, b: Cond) extends Cond with Product with Serializable

  36. case class ProductExtractorTreeMaker(prevBinder: Symbol, extraCond: Option[Tree], localSubstitution: Substitution) extends FunTreeMaker with Product with Serializable

  37. class Prop extends AnyRef

  38. trait PropMap extends AnyRef

  39. trait PropTraverser extends AnyRef

  40. class RegularSwitchMaker extends SwitchMaker

  41. class ReusedCondTreeMaker extends TreeMaker

  42. case class ReusingCondTreeMaker(sharedPrefix: List[Test], toReused: (TreeMaker) ⇒ TreeMaker) extends TreeMaker with Product with Serializable

  43. case class SubstOnlyTreeMaker(prevBinder: Symbol, nextBinder: Symbol) extends TreeMaker with Product with Serializable

  44. class Substitution extends AnyRef

  45. abstract class SwitchMaker extends AnyRef

  46. case class Sym(variable: Var, const: Const) extends Prop with Product with Serializable

  47. case class Test(cond: Cond, treeMaker: TreeMaker) extends Product with Serializable

  48. abstract class TreeMaker extends AnyRef

  49. abstract class TreeMakersToConds extends AnyRef

  50. case class TrivialTreeMaker(tree: Tree) extends TreeMaker with NoNewBinders with Product with Serializable

  51. case class TupleExample(ctorArgs: List[CounterExample]) extends CounterExample with Product with Serializable

  52. class TypeCond extends Cond

  53. sealed class TypeConst extends Const

  54. case class TypeExample(c: Const) extends CounterExample with Product with Serializable

  55. case class TypeTestTreeMaker(prevBinder: Symbol, testedBinder: Symbol, expectedTp: Type, nextBinderTp: Type, pos: Position, extractorArgTypeTest: Boolean) extends CondTreeMaker with Product with Serializable

    implements the run-time aspects of (§8.

  56. sealed class ValueConst extends Const

  57. case class ValueExample(c: ValueConst) extends CounterExample with Product with Serializable

  58. class Var extends AbsVar

    Definition Classes
    SymbolicMatchAnalysisLogic

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (OptimizingMatchTranslator, B)

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to ArrowAssoc[OptimizingMatchTranslator] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def /\(props: Iterable[Prop]): Prop

    Definition Classes
    Logic
    Annotations
    @inline()
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. object Bound extends AnyRef

  10. object Cond extends AnyRef

  11. object Const extends AnyRef

  12. object CounterExample extends AnyRef

  13. val EmptyModel: Map[Sym, Boolean]

    Definition Classes
    DPLLSolverLogic
  14. object EmptySubstitution extends Substitution

  15. object EqualityCond extends AnyRef

  16. object ExtractorCall extends AnyRef

  17. object False extends Prop with Product with Serializable

  18. object Havoc extends Cond with Product with Serializable

  19. def Lit(sym: Sym, pos: Boolean = true): Lit

    Definition Classes
    DPLLSolverCNF
  20. object NoExample extends CounterExample with Product with Serializable

  21. val NoModel: Model

    Definition Classes
    DPLLSolverLogic
  22. object NonNullCond extends AnyRef

  23. object NullConst extends Const with Product with Serializable

  24. lazy val NullTp: ConstantType

    Definition Classes
    SymbolicMatchAnalysis
  25. object ReusedCondTreeMaker extends AnyRef

  26. object Substitution extends AnyRef

  27. object Test extends Serializable

  28. object Top extends Cond with Product with Serializable

  29. object True extends Prop with Product with Serializable

  30. object TypeCond extends AnyRef

  31. object TypeConst extends AnyRef

  32. object TypeTestTreeMaker extends Serializable

  33. object ValueConst extends AnyRef

  34. object Var extends AnyRef

  35. object WildcardExample extends CounterExample with Product with Serializable

  36. object WildcardPattern extends AnyRef

    A conservative approximation of which patterns do not discern anything.

  37. def \/(props: Iterable[Prop]): Prop

    Definition Classes
    Logic
    Annotations
    @inline()
  38. def alignAcrossRows(xss: List[List[AnyRef]], sep: String, lineSep: String = "\n"): String

    Definition Classes
    Prettification
  39. def alignedColumns(cols: Seq[AnyRef]): Seq[String]

    Definition Classes
    Prettification
  40. def andFormula(a: Formula, b: Formula): Formula

    Definition Classes
    CNFLogic
  41. def approximateMatch(root: Symbol, cases: List[List[TreeMaker]]): List[List[Test]]

    Definition Classes
    TreeMakerApproximation
  42. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  43. def checkableType(tp: Type): Type

    Definition Classes
    SymbolicMatchAnalysis
  44. def clause(l: Lit*): Clause

    Definition Classes
    CNF
  45. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def cnfString(f: Formula): String

    Definition Classes
    DPLLSolverLogic
  47. def codegen: AbsCodegen

    Definition Classes
    OptimizedCodegenCodegenCore
  48. def combineCases(scrut: Tree, scrutSym: Symbol, casesRaw: List[List[TreeMaker]], pt: Type, owner: Symbol, matchFailGenOverride: Option[(Tree) ⇒ Tree]): Tree

    Definition Classes
    TreeMakers
  49. def combineCasesNoSubstOnly(scrut: Tree, scrutSym: Symbol, casesNoSubstOnly: List[List[TreeMaker]], pt: Type, owner: Symbol, matchFailGenOverride: Option[(Tree) ⇒ Tree]): Tree

    Definition Classes
    TreeMakers
  50. def combineExtractors(treeMakers: List[TreeMaker])(casegen: Casegen): Tree

    Definition Classes
    TreeMakers
  51. def doCSE(prevBinder: Symbol, cases: List[List[TreeMaker]], pt: Type): List[List[TreeMaker]]

    a flow-sensitive, generalised, common sub-expression elimination reuse knowledge from performed tests the only sub-expressions we consider are the conditions and results of the three tests (type, type&equality, equality) when a sub-expression is shared, it is stored in a mutable variable the variable is floated up so that its scope includes all of the program that shares it we generalize sharing to implication, where b reuses a if a => b and priors(a) => priors(b) (the priors of a sub expression form the path through the decision tree)

    a flow-sensitive, generalised, common sub-expression elimination reuse knowledge from performed tests the only sub-expressions we consider are the conditions and results of the three tests (type, type&equality, equality) when a sub-expression is shared, it is stored in a mutable variable the variable is floated up so that its scope includes all of the program that shares it we generalize sharing to implication, where b reuses a if a => b and priors(a) => priors(b) (the priors of a sub expression form the path through the decision tree)

    Definition Classes
    CommonSubconditionElimination
  52. def doDCE(prevBinder: Symbol, cases: List[List[TreeMaker]], pt: Type): List[List[TreeMaker]]

    Definition Classes
    DeadCodeElimination
  53. def emitSwitch(scrut: Tree, scrutSym: Symbol, cases: List[List[TreeMaker]], pt: Type, matchFailGenOverride: Option[(Tree) ⇒ Tree]): Option[Tree]

    Definition Classes
    SwitchEmissionTreeMakers
  54. def emitTypeSwitch(bindersAndCases: List[(Symbol, List[TreeMaker])], pt: Type): Option[List[CaseDef]]

    Definition Classes
    SwitchEmissionTreeMakers
  55. def ensuring(cond: (OptimizingMatchTranslator) ⇒ Boolean, msg: ⇒ Any): OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  56. def ensuring(cond: (OptimizingMatchTranslator) ⇒ Boolean): OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  57. def ensuring(cond: Boolean, msg: ⇒ Any): OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  58. def ensuring(cond: Boolean): OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  59. def enumerateSubtypes(tp: Type): Option[List[Type]]

    Definition Classes
    SymbolicMatchAnalysis
  60. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  61. def eqFreePropToSolvable(p: Prop): Formula

    Definition Classes
    CNFLogic
  62. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  63. def exhaustive(prevBinder: Symbol, cases: List[List[TreeMaker]], pt: Type): List[String]

    Definition Classes
    SymbolicMatchAnalysis
  64. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  65. def findAllModelsFor(f: Formula): List[Model]

    Definition Classes
    DPLLSolverLogic
  66. def findModelFor(f: Formula): Model

    Definition Classes
    DPLLSolverLogic
  67. def fixerUpper(origOwner: Symbol, pos: Position): Traverser

    Attributes
    protected
    Definition Classes
    TreeMakers
  68. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  69. def formula(c: Clause*): Formula

    Definition Classes
    CNF
  70. def freshName(prefix: String): TermName

    Definition Classes
    CodegenCore
  71. def freshSym(pos: Position, tp: Type = NoType, prefix: String = "x"): TermSymbol

    Definition Classes
    CodegenCore
  72. def gatherVariables(p: Prop): Set[Var]

    Definition Classes
    Logic
  73. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  74. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  75. def inMatchMonad(tp: Type): Type

  76. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  77. final def matchMonadResult(tp: Type): Type

    Definition Classes
    MatchMonadInterface
  78. def matchMonadSym: ClassSymbol

    Attributes
    protected
    Definition Classes
    OptimizedMatchMonadInterfaceMatchMonadInterface
  79. val matchOwner: Symbol

    Definition Classes
    MatchMonadInterface
  80. def modelString(model: Model): String

    Definition Classes
    SymbolicMatchAnalysis
  81. def modelToCounterExample(scrutVar: Var)(model: Model): CounterExample

    Definition Classes
    SymbolicMatchAnalysis
  82. def modelToVarAssignment(model: Model): Map[Var, (Seq[Const], Seq[Const])]

    Definition Classes
    SymbolicMatchAnalysis
    Annotations
    @inline()
  83. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  84. def needsTypeTest(tp: Type, pt: Type): Boolean

    Definition Classes
    TreeMakers
  85. final def notify(): Unit

    Definition Classes
    AnyRef
  86. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  87. def optimizeCases(prevBinder: Symbol, cases: List[List[TreeMaker]], pt: Type, unchecked: Boolean): (List[List[TreeMaker]], List[Tree])

    Definition Classes
    MatchOptimizationsTreeMakers
  88. object optimizedCodegen extends CommonCodegen

  89. def prepareNewAnalysis(): Unit

    Definition Classes
    SymbolicMatchAnalysis
  90. def propToSolvable(p: Prop): Formula

    Definition Classes
    Logic
  91. def propagateSubstitution(treeMakers: List[TreeMaker], initial: Substitution): List[TreeMaker]

    Definition Classes
    TreeMakers
  92. def pureType(tp: Type): Type

  93. def removeSubstOnly(makers: List[TreeMaker]): List[TreeMaker]

    Definition Classes
    TreeMakers
  94. def removeVarEq(props: List[Prop], considerNull: Boolean = false): (Prop, List[Prop])

    Definition Classes
    Logic
  95. def sameValue(a: Tree, b: Tree): Boolean

    Definition Classes
    TreeMakerApproximation
  96. val self: Any

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  97. val self: Any

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  98. def showTests(testss: List[List[Test]]): Unit

    Definition Classes
    TreeMakerApproximation
  99. def showTreeMakers(cases: List[List[TreeMaker]]): Unit

    Definition Classes
    TreeMakerApproximation
  100. def symbolicCase(tests: List[Test], modelNull: Boolean = false): Prop

    Definition Classes
    SymbolicMatchAnalysis
  101. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  102. def toString(): String

    Definition Classes
    AnyRef → Any
  103. def translateBody(body: Tree, matchPt: Type): TreeMaker

    Definition Classes
    MatchTranslation
  104. def translateCase(scrutSym: Symbol, pt: Type)(caseDef: CaseDef): List[TreeMaker]

    The translation of pat if guard => body has two aspects: 1) the substitution due to the variables bound by patterns 2) the combination of the extractor calls using flatMap.

    The translation of pat if guard => body has two aspects: 1) the substitution due to the variables bound by patterns 2) the combination of the extractor calls using flatMap.

    2) is easy -- it looks like: translatePattern_1.flatMap(translatePattern_2....flatMap(translatePattern_N.flatMap(translateGuard.flatMap((x_i) => success(Xbody(x_i)))))...) this must be right-leaning tree, as can be seen intuitively by considering the scope of bound variables: variables bound by pat_1 must be visible from the function inside the left-most flatMap right up to Xbody all the way on the right 1) is tricky because translatePattern_i determines the shape of translatePattern_i+1: zoom in on translatePattern_1.flatMap(translatePattern_2) for example -- it actually looks more like: translatePattern_1(x_scrut).flatMap((x_1) => {y_i -> x_1._i}translatePattern_2)

    x_1 references the result (inside the monad) of the extractor corresponding to pat_1, this result holds the values for the constructor arguments, which translatePattern_1 has extracted from the object pointed to by x_scrut. The y_i are the symbols bound by pat_1 (in order) in the scope of the remainder of the pattern, and they must thus be replaced by:

    • (for 1-ary unapply) x_1
    • (for n-ary unapply, n > 1) selection of the i'th tuple component of x_1
    • (for unapplySeq) x_1.apply(i)

    in the treemakers,

    Thus, the result type of translatePattern_i's extractor must conform to M[(T_1,..., T_n)].

    Operationally, phase 1) is a foldLeft, since we must consider the depth-first-flattening of the transformed patterns from left to right. For every pattern ast node, it produces a transformed ast and a function that will take care of binding and substitution of the next ast (to the right).

    Definition Classes
    MatchTranslation
  105. def translateGuard(guard: Tree): List[TreeMaker]

    Definition Classes
    MatchTranslation
  106. def translateMatch(match_: Match): Tree

    Implement a pattern match by turning its cases (including the implicit failure case) into the corresponding (monadic) extractors, and combining them with the orElse combinator.

    Implement a pattern match by turning its cases (including the implicit failure case) into the corresponding (monadic) extractors, and combining them with the orElse combinator.

    For scrutinee match { case1 ... caseN }, the resulting tree has the shape runOrElse(scrutinee)(x => translateCase1(x).orElse(translateCase2(x)).....orElse(zero))

    NOTE: the resulting tree is not type checked, nor are nested pattern matches transformed thus, you must typecheck the result (and that will in turn translate nested matches) this could probably optimized... (but note that the matchStrategy must be solved for each nested patternmatch)

    Definition Classes
    MatchTranslation
  107. def translatePattern(patBinder: Symbol, patTree: Tree): List[TreeMaker]

    Definition Classes
    MatchTranslation
  108. def translateTry(caseDefs: List[CaseDef], pt: Type, pos: Position): List[CaseDef]

    Definition Classes
    MatchTranslation
  109. val typer: Typer

  110. def typesConform(tp: Type, pt: Type): Boolean

    Definition Classes
    CodegenCore
  111. def uncheckableType(tp: Type): Boolean

    Definition Classes
    SymbolicMatchAnalysis
  112. def unreachableCase(prevBinder: Symbol, cases: List[List[TreeMaker]], pt: Type): Option[Int]

    Definition Classes
    SymbolicMatchAnalysis
  113. def varAssignmentString(varAssignment: Map[Var, (Seq[Const], Seq[Const])]): String

    Definition Classes
    SymbolicMatchAnalysis
  114. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  115. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  116. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  117. def [B](y: B): (OptimizingMatchTranslator, B)

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to ArrowAssoc[OptimizingMatchTranslator] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to ArrowAssoc[OptimizingMatchTranslator] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: OptimizingMatchTranslator

    Implicit information
    This member is added by an implicit conversion from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from MatchOptimizations

Inherited from DPLLSolver

Inherited from CNF

Inherited from SymbolicMatchAnalysis

Inherited from Logic

Inherited from OptimizedCodegen

Inherited from CodegenCore

Inherited from SwitchEmission

Inherited from DeadCodeElimination

Inherited from TreeMakerApproximation

Inherited from Prettification

Inherited from TreeMakers

Inherited from TypedSubstitution

Inherited from MatchTranslation

Inherited from MatchMonadInterface

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from OptimizingMatchTranslator to StringAdd

Inherited by implicit conversion any2stringfmt from OptimizingMatchTranslator to StringFormat

Inherited by implicit conversion any2ArrowAssoc from OptimizingMatchTranslator to ArrowAssoc[OptimizingMatchTranslator]

Inherited by implicit conversion any2Ensuring from OptimizingMatchTranslator to Ensuring[OptimizingMatchTranslator]