ExpansionTreePrettyPrinter

gapt.proofs.expansion.ExpansionTreePrettyPrinter

Attributes

Source
pretty.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

case object Bare extends IdentShowMode

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait IdentShowMode

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Bare.type
object Safe.type
object WithParams.type
object WithType.type
case class Parenable(prec: Int, doc: Doc)

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object Safe extends IdentShowMode

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object WithParams extends IdentShowMode

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object WithType extends IdentShowMode

Attributes

Inherited from:
BabelExporter
Source
export.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

Attributes

Source
pretty.scala

Attributes

Source
pretty.scala

Inherited methods

def addPol(doc: Doc, pol: Polarity): Doc

Attributes

Inherited from:
ETtPrettyPrinter
Source
ETtPrettyPrinter.scala
def export(et: ETt): Doc

Attributes

Inherited from:
ETtPrettyPrinter
Source
ETtPrettyPrinter.scala
def export(ty: Ty): String

Attributes

Inherited from:
BabelExporter
Source
export.scala
def export(sequent: HOLSequent): String

Attributes

Inherited from:
BabelExporter
Source
export.scala
def export(expr: Expr): String

Attributes

Inherited from:
BabelExporter
Source
export.scala
def exportRaw(expr: Expr): String

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala
def nest(doc: Doc, j: Int): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala
def sepByComma(args: List[Doc]): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
ETtPrettyPrinter
Source
ETtPrettyPrinter.scala
def show(ty: Ty, needParens: Boolean): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala
def show(ident: VarOrConst, mode: IdentShowMode): Parenable

Attributes

Inherited from:
BabelExporter
Source
export.scala
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.

Value parameters

bound

Names bound by enclosing binders.

expr

The lambda expression to convert.

knownType

Whether we already know the type of this expression.

t0

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

Attributes

Returns

Pretty-printed document and the free identifiers.

Inherited from:
BabelExporter
Source
export.scala
def show(sequent: HOLSequent, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Doc, Map[String, VarOrConst])

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showApps(expr: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showFakeBin(expr: Expr, fakeConst: ConstName, a: Expr, b: Expr, knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (Parenable, Map[String, VarOrConst])

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showName(name: String): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showName(token: Token)(implicit dummyImplicit: DummyImplicit): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showNameWithParams(name: String, params: List[Ty]): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showNonOpName(name: String): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showRaw(expr: Expr): Parenable

Attributes

Inherited from:
BabelExporter
Source
export.scala
def showTyParams(params: List[Ty], always: Boolean): Doc

Attributes

Inherited from:
BabelExporter
Source
export.scala
def shows(exprs: List[Expr], knownType: Boolean, bound: Map[String, Var], t0: Map[String, VarOrConst]): (List[Parenable], Map[String, VarOrConst])

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala

Inherited fields

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala
val lineWidth: Int

Attributes

Inherited from:
BabelExporter
Source
export.scala

Attributes

Inherited from:
BabelExporter
Source
export.scala