class LeanParser extends AnyRef
- Alphabetic
- By Inheritance
- LeanParser
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LeanParser(initMods: Seq[Modification], defTaskMap: Map[Name, Task[Term]] = Map(), indTaskMap: Map[Name, Task[TermIndMod]] = Map(), log: Logger = LeanParser.Logger.nop)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from LeanParser toany2stringadd[LeanParser] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (LeanParser, B)
- Implicit
- This member is added by an implicit conversion from LeanParser toArrowAssoc[LeanParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addMods(m: Seq[Modification]): Unit
- def allIndNames: ArrayBuffer[Name]
- val allIntros: ArrayBuffer[(Name, Expr)]
- def allNames(init: String = ""): ArrayBuffer[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def codeFromInd(ind: TermIndMod): Term
- def codeGen: CodeGen
- def defFromMod(name: Name): Option[Task[Term]]
- def defNames: ArrayBuffer[Name]
- def defnCode: ArrayBuffer[(Name, Term)]
- val defnMap: Map[Name, Term]
- def ensuring(cond: (LeanParser) => Boolean, msg: => Any): LeanParser
- Implicit
- This member is added by an implicit conversion from LeanParser toEnsuring[LeanParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (LeanParser) => Boolean): LeanParser
- Implicit
- This member is added by an implicit conversion from LeanParser toEnsuring[LeanParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): LeanParser
- Implicit
- This member is added by an implicit conversion from LeanParser toEnsuring[LeanParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): LeanParser
- Implicit
- This member is added by an implicit conversion from LeanParser toEnsuring[LeanParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findChildren(name: Name): Option[Vector[Expr]]
- def findDef(s: String): Option[DefMod]
- def findDefMod(name: Name): Option[DefMod]
- def findInd(s: String): Option[IndMod]
- def findIndMod(name: Name): Option[IndMod]
- def findIntro(name: Name): Option[Expr]
- def findMod(name: Name, mods: Seq[Modification]): Option[Modification]
- def findRecChildren(name: Name): Option[Vector[Expr]]
- def foldAxiomSeq(accum: Vector[Term], axs: Vector[(Name, Expr)]): Task[Vector[Term]]
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from LeanParser toStringFormat[LeanParser] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def get(name: String): Term
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getError(name: String): Option[ParseException]
- def getFut(name: String): CancelableFuture[Term]
- def getInd(s: String): TermIndMod
- def getIndTask(s: String): Task[TermIndMod]
- def getMemTermIndMod(name: Name, exp: Expr): Task[TermIndMod]
- def getNamed(name: Name): Option[Task[Term]]
- def getTask(name: String): Task[Term]
- def getTermIndMod(name: Name): Option[Task[TermIndMod]]
- def getTry(name: String): Try[Term]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def indModFromMod(name: Name): Option[Task[TermIndMod]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maxIndex(exp: Expr): Int
- def modNames(mod: Modification): Vector[Name]
- val mods: ArrayBuffer[Modification]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def parse(exp: Expr, vars: Vector[Term] = Vector()): Task[Term]
- val parseMemo: Map[(Expr, Vector[Term]), Term]
- def parseOptVec(vec: Vector[(Expr, Int)], vars: Vector[Term], indices: Set[Int]): Task[Vector[Option[Term]]]
- def parseVec(vec: Vector[Expr], vars: Vector[Term]): Task[Vector[Term]]
- def recApp(name: Name, args: Vector[Expr], exp: Expr, vars: Vector[Term]): Task[Term]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val termIndModMap: Map[Name, TermIndMod]
- def toString(): String
- Definition Classes
- AnyRef → Any
- def topNames(init: String = ""): ArrayBuffer[String]
- def update(): Unit
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAxiom(name: Name, ty: Expr): Task[Unit]
- def withAxiomSeq(axs: Vector[(Name, Expr)]): Task[Unit]
- def withDefn(name: Name, exp: Expr): Task[Unit]
- def withMod(mod: Modification): Task[Unit]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (LeanParser, B)
- Implicit
- This member is added by an implicit conversion from LeanParser toArrowAssoc[LeanParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.