c

gapt.proofs.expansion

ETtPrettyPrinter

class ETtPrettyPrinter extends BabelExporter

Source
ETtPrettyPrinter.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ETtPrettyPrinter
  2. BabelExporter
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ETtPrettyPrinter(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 ETtPrettyPrinter toany2stringadd[ETtPrettyPrinter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  8. def ->[B](y: B): (ETtPrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toArrowAssoc[ETtPrettyPrinter] 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
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. val asciiUnquotName: Regex
    Definition Classes
    BabelExporter
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  14. val defaultIndent: Int
    Definition Classes
    BabelExporter
  15. def ensuring(cond: (ETtPrettyPrinter) => Boolean, msg: => Any): ETtPrettyPrinter
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toEnsuring[ETtPrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (ETtPrettyPrinter) => Boolean): ETtPrettyPrinter
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toEnsuring[ETtPrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: => Any): ETtPrettyPrinter
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toEnsuring[ETtPrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): ETtPrettyPrinter
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toEnsuring[ETtPrettyPrinter] 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: ETt): Doc
  22. def export(ty: Ty): String
    Definition Classes
    BabelExporter
  23. def export(sequent: HOLSequent): String
    Definition Classes
    BabelExporter
  24. def export(expr: Expr): String
    Definition Classes
    BabelExporter
  25. def exportRaw(expr: Expr): String
    Definition Classes
    BabelExporter
  26. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toStringFormat[ETtPrettyPrinter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  28. def getIdentShowMode(expr: VarOrConst, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (IdentShowMode, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  29. def group(doc: Doc): Doc
    Attributes
    protected
    Definition Classes
    BabelExporter
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. val lineWidth: Int
    Definition Classes
    BabelExporter
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def nest(doc: Doc, j: Int = defaultIndent): Doc
    Definition Classes
    BabelExporter
  35. def notationForConst(const: ConstName): Option[Notation]
    Definition Classes
    BabelExporter
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  38. def paramsNecessary(sigC: Const): Boolean
    Definition Classes
    BabelExporter
  39. def parens(doc: Doc): Doc
    Attributes
    protected
    Definition Classes
    BabelExporter
  40. val safeChars: Regex
    Definition Classes
    BabelExporter
  41. def safeMatching(c1: Const, c2: Const): Option[Substitution]
    Definition Classes
    BabelExporter
  42. def safeMatching(c1: Const, c2: Expr): Option[Substitution]
    Definition Classes
    BabelExporter
  43. def sepByComma(args: List[Doc]): Doc
    Definition Classes
    BabelExporter
  44. def show(et: ETt, t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
  45. def show(ty: Ty, needParens: Boolean): Doc
    Definition Classes
    BabelExporter
  46. def show(ident: VarOrConst, mode: IdentShowMode): Parenable
    Definition Classes
    BabelExporter
  47. 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
  48. def show(sequent: HOLSequent, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  49. def showApps(expr: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  50. 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
  51. def showName(name: String): Doc
    Definition Classes
    BabelExporter
  52. def showName(token: Token)(implicit dummyImplicit: DummyImplicit): Doc
    Definition Classes
    BabelExporter
  53. def showNameFollowableByOp(name: String): Doc
    Definition Classes
    BabelExporter
  54. def showNameWithParams(name: String, params: List[Ty]): Doc
    Definition Classes
    BabelExporter
  55. def showNonOpName(name: String): Doc
    Definition Classes
    BabelExporter
  56. def showRaw(expr: Expr): Parenable
    Definition Classes
    BabelExporter
  57. def showTyParams(params: List[Ty], always: Boolean = false): Doc
    Definition Classes
    BabelExporter
  58. def shows(exprs: List[Expr], knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (List[Parenable], Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def toString(): String
    Definition Classes
    AnyRef → Any
  61. def unicodeSafe(n: Token): Boolean
    Definition Classes
    BabelExporter
  62. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def [B](y: B): (ETtPrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ETtPrettyPrinter toArrowAssoc[ETtPrettyPrinter] 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 BabelExporter

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromETtPrettyPrinter to any2stringadd[ETtPrettyPrinter]

Inherited by implicit conversion StringFormat fromETtPrettyPrinter to StringFormat[ETtPrettyPrinter]

Inherited by implicit conversion Ensuring fromETtPrettyPrinter to Ensuring[ETtPrettyPrinter]

Inherited by implicit conversion ArrowAssoc fromETtPrettyPrinter to ArrowAssoc[ETtPrettyPrinter]

Ungrouped