BabelExporter
Exports lambda expressions in the Babel format. You probably do not want to use this class, use one of expression.toString, .toSigRelativeString, or .toAsciiString instead. These are all implemented using this class.
Value parameters
- sig
-
The Babel signature, to decide whether we need to escape constants because they do not fit the naming convention.
- unicode
-
Whether to output logical connectives using Unicode symbols.
Attributes
- Source
- export.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ETtPrettyPrinter
Members list
Type members
Classlikes
Attributes
- Source
- export.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait IdentShowModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
Bare.type
Attributes
- Source
- export.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- export.scala
- Supertypes
Attributes
- Source
- export.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait IdentShowModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
Safe.type
Attributes
- Source
- export.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait IdentShowModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
WithParams.type
Attributes
- Source
- export.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait IdentShowModeclass Objecttrait Matchableclass AnyShow all
- Self type
-
WithType.type
Value members
Concrete methods
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Converts a lambda expression into a document.
Converts a lambda expression into a document.
At every point in the conversion, we keep track of:
- Whether the parser will already know the type of this expression (by inference)
- What type the free identifiers have.
- 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.
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Concrete fields
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala
Attributes
- Source
- export.scala