gapt.formats.babel

Members list

Type members

Classlikes

case class BabelElabError(reason: String) extends BabelParseError

Attributes

Source
BabelParser.scala
Supertypes
trait Product
trait Equals
class IllegalArgumentException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class BabelExporter(unicode: Boolean, sig: BabelSignature, omitTypes: Boolean)

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.

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
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BabelLexical

Attributes

Source
BabelParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class BabelParseError(message: String) extends IllegalArgumentException

Attributes

Source
BabelParser.scala
Supertypes
class IllegalArgumentException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
object BabelParser

Attributes

Source
BabelParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
BabelParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class BabelParsingError(parseError: Failure) extends BabelParseError

Attributes

Source
BabelParser.scala
Supertypes
trait Product
trait Equals
class IllegalArgumentException
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

A signature for the Babel parser. This class decides whether a free identifier is a variable or a constant.

A signature for the Babel parser. This class decides whether a free identifier is a variable or a constant.

Attributes

Companion
object
Source
BabelSignature.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Contains various methods for generating signatures.

Contains various methods for generating signatures.

Attributes

Companion
trait
Source
BabelSignature.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class MapBabelSignature(map: Map[String, Const]) extends BabelSignature

A signature based on a map: The identifiers for which the map is defined are constants, the rest are variables.

A signature based on a map: The identifiers for which the map is defined are constants, the rest are variables.

Value parameters

map

A map from strings to types.

Attributes

Companion
object
Source
BabelSignature.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Source
BabelSignature.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait Notation extends Update

Attributes

Companion
object
Source
BabelSignature.scala
Supertypes
trait Update
class Object
trait Matchable
class Any
Known subtypes
class Alias
class Infix
class Postfix
class Prefix
class Quantifier
object Notation

Attributes

Companion
trait
Source
BabelSignature.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Notation.type
case class Notations(byToken: Map[Token, Notation], byConst: Map[ConstName, List[Notation]])

Attributes

Companion
object
Source
BabelSignature.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Notations

Attributes

Companion
class
Source
BabelSignature.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Notations.type
object Precedence

Attributes

Source
BabelParser.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Precedence.type