c

gapt.proofs.expansion

ExpansionTreePrettyPrinter

class ExpansionTreePrettyPrinter extends ETtPrettyPrinter

Source
pretty.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpansionTreePrettyPrinter
  2. ETtPrettyPrinter
  3. BabelExporter
  4. AnyRef
  5. 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 ExpansionTreePrettyPrinter(sig: BabelSignature)

Type Members

  1. sealed trait IdentShowMode extends AnyRef
    Definition Classes
    BabelExporter
  2. case class Parenable(prec: Int, doc: Doc) extends Product with Serializable
    Definition Classes
    BabelExporter

Value Members

  1. object Bare extends IdentShowMode with Product with Serializable
    Definition Classes
    BabelExporter
  2. object Safe extends IdentShowMode with Product with Serializable
    Definition Classes
    BabelExporter
  3. object WithParams extends IdentShowMode with Product with Serializable
    Definition Classes
    BabelExporter
  4. object WithType extends IdentShowMode with Product with Serializable
    Definition Classes
    BabelExporter
  5. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def ##(): Int
    Definition Classes
    AnyRef → Any
  7. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toany2stringadd[ExpansionTreePrettyPrinter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  8. def ->[B](y: B): (ExpansionTreePrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toArrowAssoc[ExpansionTreePrettyPrinter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def addPol(doc: Doc, pol: Polarity): Doc
    Definition Classes
    ETtPrettyPrinter
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val asciiUnquotName: Regex
    Definition Classes
    BabelExporter
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  14. val defaultIndent: Int
    Definition Classes
    BabelExporter
  15. def ensuring(cond: (ExpansionTreePrettyPrinter) => Boolean, msg: => Any): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toEnsuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (ExpansionTreePrettyPrinter) => Boolean): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toEnsuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toEnsuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toEnsuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def export(et: ExpansionTree): Doc
  22. def export(et: ETt): Doc
    Definition Classes
    ETtPrettyPrinter
  23. def export(ty: Ty): String
    Definition Classes
    BabelExporter
  24. def export(sequent: HOLSequent): String
    Definition Classes
    BabelExporter
  25. def export(expr: Expr): String
    Definition Classes
    BabelExporter
  26. def exportRaw(expr: Expr): String
    Definition Classes
    BabelExporter
  27. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  28. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toStringFormat[ExpansionTreePrettyPrinter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def getIdentShowMode(expr: VarOrConst, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (IdentShowMode, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  31. def group(doc: Doc): Doc
    Attributes
    protected
    Definition Classes
    BabelExporter
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. val lineWidth: Int
    Definition Classes
    BabelExporter
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def nest(doc: Doc, j: Int = defaultIndent): Doc
    Definition Classes
    BabelExporter
  37. def notationForConst(const: ConstName): Option[Notation]
    Definition Classes
    BabelExporter
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def paramsNecessary(sigC: Const): Boolean
    Definition Classes
    BabelExporter
  41. def parens(doc: Doc): Doc
    Attributes
    protected
    Definition Classes
    BabelExporter
  42. val safeChars: Regex
    Definition Classes
    BabelExporter
  43. def safeMatching(c1: Const, c2: Const): Option[Substitution]
    Definition Classes
    BabelExporter
  44. def safeMatching(c1: Const, c2: Expr): Option[Substitution]
    Definition Classes
    BabelExporter
  45. def sepByComma(args: List[Doc]): Doc
    Definition Classes
    BabelExporter
  46. def show(et: ExpansionTree, t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
  47. def show(et: ETt, t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
    Definition Classes
    ETtPrettyPrinter
  48. def show(ty: Ty, needParens: Boolean): Doc
    Definition Classes
    BabelExporter
  49. def show(ident: VarOrConst, mode: IdentShowMode): Parenable
    Definition Classes
    BabelExporter
  50. def show(expr: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])

    Converts a lambda expression into a document.

    Converts a lambda expression into a document.

    At every point in the conversion, we keep track of:

    1. Whether the parser will already know the type of this expression (by inference)
    2. What type the free identifiers have.
    3. What priority the enclosing operator has.
    expr

    The lambda expression to convert.

    knownType

    Whether we already know the type of this expression.

    bound

    Names bound by enclosing binders.

    t0

    Already known free identifiers, together with the variable or constant they represent.

    returns

    Pretty-printed document and the free identifiers.

    Definition Classes
    BabelExporter
  51. def show(sequent: HOLSequent, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  52. def showApps(expr: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  53. def showFakeBin(expr: Expr, fakeConst: ConstName, a: Expr, b: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  54. def showName(name: String): Doc
    Definition Classes
    BabelExporter
  55. def showName(token: Token)(implicit dummyImplicit: DummyImplicit): Doc
    Definition Classes
    BabelExporter
  56. def showNameFollowableByOp(name: String): Doc
    Definition Classes
    BabelExporter
  57. def showNameWithParams(name: String, params: List[Ty]): Doc
    Definition Classes
    BabelExporter
  58. def showNonOpName(name: String): Doc
    Definition Classes
    BabelExporter
  59. def showRaw(expr: Expr): Parenable
    Definition Classes
    BabelExporter
  60. def showTyParams(params: List[Ty], always: Boolean = false): Doc
    Definition Classes
    BabelExporter
  61. def shows(exprs: List[Expr], knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (List[Parenable], Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. def unicodeSafe(n: Token): Boolean
    Definition Classes
    BabelExporter
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def [B](y: B): (ExpansionTreePrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter toArrowAssoc[ExpansionTreePrettyPrinter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from ETtPrettyPrinter

Inherited from BabelExporter

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromExpansionTreePrettyPrinter to any2stringadd[ExpansionTreePrettyPrinter]

Inherited by implicit conversion StringFormat fromExpansionTreePrettyPrinter to StringFormat[ExpansionTreePrettyPrinter]

Inherited by implicit conversion Ensuring fromExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter]

Inherited by implicit conversion ArrowAssoc fromExpansionTreePrettyPrinter to ArrowAssoc[ExpansionTreePrettyPrinter]

Ungrouped