BabelParser

gapt.formats.babel.BabelParser
object BabelParser

Attributes

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

Members list

Value members

Concrete methods

def parse(text: String)(implicit sig: BabelSignature): Expr

Parses text as a lambda expression, or throws an exception.

Parses text as a lambda expression, or throws an exception.

Attributes

Source
BabelParser.scala
def parseFormula(text: String)(implicit sig: BabelSignature): Formula

Parses text as a formula, or throws an exception.

Parses text as a formula, or throws an exception.

Attributes

Source
BabelParser.scala
def tryParse(text: String, astTransformer: Expr => Expr)(implicit sig: BabelSignature): Either[BabelParseError, Expr]

Parses text as a lambda expression, or returns a parse error.

Parses text as a lambda expression, or returns a parse error.

Value parameters

astTransformer

Function to apply to the Babel AST before type inference.

sig

Babel signature that specifies which free variables are constants.

Attributes

Source
BabelParser.scala
def tryParseLabelledSequent(text: String, astTransformer: Expr => Expr)(implicit sig: BabelSignature): Either[BabelParseError, Sequent[(String, Formula)]]

Attributes

Source
BabelParser.scala
def tryParseSequent(text: String, astTransformer: Expr => Expr)(implicit sig: BabelSignature): Either[BabelParseError, Sequent[Expr]]

Attributes

Source
BabelParser.scala

Attributes

Source
BabelParser.scala