c

at.logic.gapt.proofs.expansion

ExpansionTreePrettyPrinter

class ExpansionTreePrettyPrinter extends BabelExporter

Source
pretty.scala
Linear Supertypes
BabelExporter, PrettyPrinter, PrettyPrinterBase, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExpansionTreePrettyPrinter
  2. BabelExporter
  3. PrettyPrinter
  4. PrettyPrinterBase
  5. AnyRef
  6. 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. type Buffer = Seq[Entry]
    Definition Classes
    PrettyPrinter
  2. class Doc extends DocCont with org.bitbucket.inkytonik.kiama.output.PrettyPrinter.DocOps
    Definition Classes
    PrettyPrinter
  3. type DocCont = (IW) ⇒ (TreeCont) ⇒ Trampoline[TreeCont]
    Definition Classes
    PrettyPrinter
  4. trait DocOps extends AnyRef
    Definition Classes
    PrettyPrinterBase
  5. type Dq = Queue[(PPosition, OutGroup)]
    Definition Classes
    PrettyPrinter
  6. type Effect = (Buffer) ⇒ Buffer
    Definition Classes
    PrettyPrinter
  7. sealed abstract class Entry extends AnyRef
    Definition Classes
    PrettyPrinter
  8. case class Finish extends Entry with Product with Serializable
    Definition Classes
    PrettyPrinter
  9. type Horizontal = Boolean
    Definition Classes
    PrettyPrinter
  10. type IW = (Indent, Width)
    Definition Classes
    PrettyPrinter
  11. type Out = (Remaining) ⇒ Trampoline[Buffer]
    Definition Classes
    PrettyPrinter
  12. type OutGroup = (Horizontal) ⇒ (Out) ⇒ Trampoline[Out]
    Definition Classes
    PrettyPrinter
  13. type PPosition = Int
    Definition Classes
    PrettyPrinter
  14. type Remaining = Int
    Definition Classes
    PrettyPrinter
  15. case class Start extends Entry with Product with Serializable
    Definition Classes
    PrettyPrinter
  16. case class Text extends Entry with Product with Serializable
    Definition Classes
    PrettyPrinter
  17. type TreeCont = (PPosition, Dq) ⇒ Trampoline[Out]
    Definition Classes
    PrettyPrinter

Value Members

  1. object prio
    Definition Classes
    BabelExporter
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##(): Int
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to any2stringadd[ExpansionTreePrettyPrinter] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (ExpansionTreePrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to ArrowAssoc[ExpansionTreePrettyPrinter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def addPol(doc: Doc, pol: Polarity): Doc
  8. def align(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  9. def ampersand: Doc
    Definition Classes
    PrettyPrinterBase
  10. def angles(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  11. def any(a: Any): Doc
    Definition Classes
    PrettyPrinterBase
  12. def arguments[T](l: Seq[T], elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinterBase
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. val asciiUnquotName: Regex
    Definition Classes
    BabelExporter
  15. def asterisk: Doc
    Definition Classes
    PrettyPrinterBase
  16. def atsign: Doc
    Definition Classes
    PrettyPrinterBase
  17. def backquote: Doc
    Definition Classes
    PrettyPrinterBase
  18. def backslash: Doc
    Definition Classes
    PrettyPrinterBase
  19. def braces(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  20. def brackets(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  21. def caret: Doc
    Definition Classes
    PrettyPrinterBase
  22. def cat(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  23. implicit def char(c: Char): Doc
    Definition Classes
    PrettyPrinterBase
  24. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def colon: Doc
    Definition Classes
    PrettyPrinterBase
  26. def column(f: (Int) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  27. def comma: Doc
    Definition Classes
    PrettyPrinterBase
  28. val defaultIndent: Int
    Definition Classes
    BabelExporter → PrettyPrinterBase
  29. val defaultWidth: Int
    Definition Classes
    PrettyPrinterBase
  30. def dollar: Doc
    Definition Classes
    PrettyPrinterBase
  31. def dot: Doc
    Definition Classes
    PrettyPrinterBase
  32. def dquote: Doc
    Definition Classes
    PrettyPrinterBase
  33. def dquotes(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  34. def emptyDoc: Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  35. def enclose(l: Doc, d: Doc, r: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  36. def ensuring(cond: (ExpansionTreePrettyPrinter) ⇒ Boolean, msg: ⇒ Any): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  37. def ensuring(cond: (ExpansionTreePrettyPrinter) ⇒ Boolean): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  38. def ensuring(cond: Boolean, msg: ⇒ Any): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  39. def ensuring(cond: Boolean): ExpansionTreePrettyPrinter
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equal: Doc
    Definition Classes
    PrettyPrinterBase
  42. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  43. def exclamation: Doc
    Definition Classes
    PrettyPrinterBase
  44. def export(et: ExpansionTree): String
  45. def export(ty: Ty): String
    Definition Classes
    BabelExporter
  46. def export(sequent: HOLSequent): String
    Definition Classes
    BabelExporter
  47. def export(expr: LambdaExpression): String
    Definition Classes
    BabelExporter
  48. def fillcat(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  49. def fillsep(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  50. def fillsep(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  51. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  52. def folddoc(ds: Seq[Doc], f: (Doc, Doc) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinterBase
  53. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to StringFormat[ExpansionTreePrettyPrinter] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  54. def forwslash: Doc
    Definition Classes
    PrettyPrinterBase
  55. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  56. def group(d: Doc): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  57. def hang(d: Doc, i: Indent): Doc
    Definition Classes
    PrettyPrinterBase
  58. def hash: Doc
    Definition Classes
    PrettyPrinterBase
  59. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  60. def hcat(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  61. def hsep(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  62. def hsep(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  63. def indent(d: Doc, i: Indent): Doc
    Definition Classes
    PrettyPrinterBase
  64. val infixRel: Set[String]
    Definition Classes
    BabelExporter
  65. def insert(len: Int, entry: Entry): Doc
    Definition Classes
    PrettyPrinter
  66. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  67. def knownConstantTypesFromSig(consts: Iterable[Const]): Iterable[(String, Const)]
    Definition Classes
    BabelExporter
  68. def langle: Doc
    Definition Classes
    PrettyPrinterBase
  69. def layout(d: Doc, w: Width): Layout
    Definition Classes
    PrettyPrinterBase
  70. def lbrace: Doc
    Definition Classes
    PrettyPrinterBase
  71. def lbracket: Doc
    Definition Classes
    PrettyPrinterBase
  72. def leave(c: TreeCont): TreeCont
    Definition Classes
    PrettyPrinter
  73. def line: Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  74. def line(repl: Layout): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  75. def linebreak: Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  76. def link(n: AnyRef, d: Doc): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  77. def links(d: Doc, w: Width): Links
    Definition Classes
    PrettyPrinterBase
  78. def list[T](l: List[T], prefix: String, elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinterBase
  79. def lparen: Doc
    Definition Classes
    PrettyPrinterBase
  80. def lsep(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  81. def lsep2(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  82. def lterm(ds: Seq[Doc], term: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  83. def minus: Doc
    Definition Classes
    PrettyPrinterBase
  84. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  85. def nest(doc: Doc, j: Indent = defaultIndent): Doc
    Definition Classes
    BabelExporter → PrettyPrinter → PrettyPrinterBase
  86. def nesting(f: (Int) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  87. final def notify(): Unit
    Definition Classes
    AnyRef
  88. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  89. def output(o: Out, r: Int, entry: Entry): More[Buffer]
    Definition Classes
    PrettyPrinter
  90. def padto(p: Int, d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  91. def padtobreak(p: Int, d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  92. def parenIf(enclosingPrio: Int, currentPrio: Int, doc: Doc): Doc
    Definition Classes
    BabelExporter
  93. def parens(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  94. def percent: Doc
    Definition Classes
    PrettyPrinterBase
  95. def plus: Doc
    Definition Classes
    PrettyPrinterBase
  96. def pretty(d: Doc, w: Width): Document
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  97. def prune(c1: TreeCont): TreeCont
    Definition Classes
    PrettyPrinter
  98. def question: Doc
    Definition Classes
    PrettyPrinterBase
  99. def rangle: Doc
    Definition Classes
    PrettyPrinterBase
  100. def rbrace: Doc
    Definition Classes
    PrettyPrinterBase
  101. def rbracket: Doc
    Definition Classes
    PrettyPrinterBase
  102. def rparen: Doc
    Definition Classes
    PrettyPrinterBase
  103. val safeChars: Regex
    Definition Classes
    BabelExporter
  104. def scan(l: Width, out: OutGroup)(c: TreeCont): Trampoline[TreeCont]
    Definition Classes
    PrettyPrinter
  105. def semi: Doc
    Definition Classes
    PrettyPrinterBase
  106. def sep(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  107. def seq[T](l: Seq[T], prefix: String, elemToDoc: (T) ⇒ Doc, sep: Doc, sepfn: (Seq[Doc], Doc) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinterBase
  108. def show(et: ExpansionTree, t0: Map[String, VarOrConst], p: Int): (Doc, Map[String, VarOrConst])
  109. def show(ty: Ty, needParens: Boolean): Doc
    Definition Classes
    BabelExporter
  110. def show(expr: LambdaExpression, knownType: Boolean, bound: Set[String], t0: Map[String, VarOrConst], p: Int): (Doc, 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 used free identifiers, together with the variable or constant they represent.

    p

    The priority of the enclosing operator.

    returns

    Pretty-printed document and the free identifiers.

    Definition Classes
    BabelExporter
  111. def show(sequent: HOLSequent, bound: Set[String], t0: Map[String, VarOrConst]): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  112. def showApps(expr: LambdaExpression, knownType: Boolean, bound: Set[String], t0: Map[String, VarOrConst], p: Int): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  113. def showBin(sym: String, prio: Int, leftPrioBias: Int, rightPrioBias: Int, a: LambdaExpression, b: LambdaExpression, knownType: Boolean, bound: Set[String], t0: Map[String, VarOrConst], p: Int): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  114. def showBinOp(c: Const, prio: Int, leftPrioBias: Int, rightPrioBias: Int, a: LambdaExpression, b: LambdaExpression, knownType: Boolean, bound: Set[String], t0: Map[String, VarOrConst], p: Int): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  115. def showName(name: String): Doc
    Definition Classes
    BabelExporter
  116. def showQuant(sym: String, v: Var, e: LambdaExpression, bound: Set[String], t0: Map[String, VarOrConst], p: Int): (Doc, Map[String, VarOrConst])
    Definition Classes
    BabelExporter
  117. def softbreak: Doc
    Definition Classes
    PrettyPrinterBase
  118. def softline: Doc
    Definition Classes
    PrettyPrinterBase
  119. def space: Doc
    Definition Classes
    PrettyPrinterBase
  120. def spaces(n: Int): Doc
    Definition Classes
    PrettyPrinterBase
  121. def squote: Doc
    Definition Classes
    PrettyPrinterBase
  122. def squotes(d: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  123. def ssep(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  124. def sterm(ds: Seq[Doc], term: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  125. def string(s: String): Doc
    Definition Classes
    PrettyPrinterBase
  126. def surround(d: Doc, b: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  127. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  128. implicit def text(t: String): Doc
    Definition Classes
    PrettyPrinter → PrettyPrinterBase
  129. def tilde: Doc
    Definition Classes
    PrettyPrinterBase
  130. def toString(): String
    Definition Classes
    AnyRef → Any
  131. def underscore: Doc
    Definition Classes
    PrettyPrinterBase
  132. def value(v: Any): Doc
    Definition Classes
    PrettyPrinterBase
  133. def vcat(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  134. def verticalbar: Doc
    Definition Classes
    PrettyPrinterBase
  135. def vsep(ds: Seq[Doc], sep: Doc): Doc
    Definition Classes
    PrettyPrinterBase
  136. def vsep(ds: Seq[Doc]): Doc
    Definition Classes
    PrettyPrinterBase
  137. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  138. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  139. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  140. def width(d: Doc, f: (Int) ⇒ Doc): Doc
    Definition Classes
    PrettyPrinterBase
  141. def [B](y: B): (ExpansionTreePrettyPrinter, B)
    Implicit
    This member is added by an implicit conversion from ExpansionTreePrettyPrinter to ArrowAssoc[ExpansionTreePrettyPrinter] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from BabelExporter

Inherited from PrettyPrinter

Inherited from PrettyPrinterBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ExpansionTreePrettyPrinter to any2stringadd[ExpansionTreePrettyPrinter]

Inherited by implicit conversion StringFormat from ExpansionTreePrettyPrinter to StringFormat[ExpansionTreePrettyPrinter]

Inherited by implicit conversion Ensuring from ExpansionTreePrettyPrinter to Ensuring[ExpansionTreePrettyPrinter]

Inherited by implicit conversion ArrowAssoc from ExpansionTreePrettyPrinter to ArrowAssoc[ExpansionTreePrettyPrinter]

Ungrouped