preExpr
gapt.expr.preExpr
object preExpr
Intermediate representation for expressions without explicit types.
The main application is during parsing: the gapt.formats.babel.BabelParser produces pre-expressions.
This representation is intended to be as simple as possible, all higher-level constructs (such as <-> or ∀) are already desugared into simply-typed lambda terms.
It differs from the "real" lambda calculus in gapt.expr in three major ways:
- There are type meta-variables.
- There are type annotations.
- Free variables, bound variables, and constants are not distinguished; they are all stored as "identifiers".
Attributes
- Source
- preExpr.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
preExpr.type
Members list
Type members
Classlikes
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Companion
- object
- Source
- preExpr.scala
- Supertypes
object ElabError
Attributes
- Companion
- class
- Source
- preExpr.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ElabError.type
Attributes
- Source
- preExpr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Absclass Appclass FlatOpsclass Identclass LocAnnotationclass Quotedclass TypeAnnotationShow all
case class FlatOps(children: List[FlatOpsChild]) extends Expr
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
case class LocAnnotation(expr: Expr, loc: Location) extends Expr
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
case class MetaType(idx: MetaTypeIdx) extends Type
Attributes
- Source
- preExpr.scala
- Supertypes
class MetaTypeIdx
Attributes
- Source
- preExpr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
case class Mismatch(t1: Type, t2: Type, assg: Assg) extends UnificationError
Attributes
- Source
- preExpr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait UnificationErrorclass Objecttrait Matchableclass AnyShow all
case class OccursCheck(t1: MetaType, t2: Type, assg: Assg) extends UnificationError
Attributes
- Source
- preExpr.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait UnificationErrorclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- preExpr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
case class TypeAnnotation(expr: Expr, ty: Type) extends Expr
Attributes
- Source
- preExpr.scala
- Supertypes
Attributes
- Source
- preExpr.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Mismatchclass OccursCheck
Types
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Value members
Concrete methods
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
def parseFlatOpFirst(flatOpsChildren: List[FlatOpsChild], env: Env, minPrec: Int)(implicit loc: Option[Location], sig: BabelSignature): Elab[(Expr, List[FlatOpsChild])]
Attributes
- Source
- preExpr.scala
def parseFlatOpRest(flatOpsChildren: List[FlatOpsChild], lhsExpr: Expr, env: Env, minPrec: Int)(implicit loc: Option[Location], sig: BabelSignature): Elab[(Expr, List[FlatOpsChild])]
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
Attributes
- Source
- preExpr.scala
In this article