class IMPSImportTask extends Logger with MMTTask
- Source
- IMPSImportTask.scala
- Alphabetic
- By Inheritance
- IMPSImportTask
- MMTTask
- Killable
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IMPSImportTask(controller: Controller, bt: BuildTask, tState: TranslationState, toplevelDoc: Document, index: (Document) ⇒ Unit)
Type Members
- class IMPSTypeEqualityRule extends TypeBasedEqualityRule
- class SubtypeJudgRule extends SubtypingRule
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addListener(l: MMTTaskProgressListener): Unit
- Definition Classes
- MMTTask
- def addSortEqualityRule(sort1: Term, sort2: Term, theory: Theory, praesSort1: String = "", praesSort2: String = ""): Unit
- def addSubtypingRule(subsort: Term, supersort: Term, theory: Theory, origin: GlobalName, subname: String = "", supname: String = ""): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val controller: Controller
- def curry(srt: IMPSSort): IMPSSort
- def curryIMPSforall(f: IMPSForAll): IMPSForAll
- def curryIMPSforsome(f: IMPSForSome): IMPSForSome
- def curryIMPSlambda(l: IMPSLambda): IMPSLambda
-
def
diesWith(implicit that: Killable): IMPSImportTask.this.type
gives a killable object the same kill button as one that is already around
gives a killable object the same kill button as one that is already around
For example, when processing a task, generates a subtask, this should be called on the subtask to ensure killing the overall task also kills the subtask.
- Definition Classes
- Killable
- def doDeclaration(d: DefForm, uri: URI): Unit
- def doDocument(es: List[DefForm], uri: URI): BuildResult
- def doIMPSForall(forall: IMPSForAll, thy: Theory, cntxt: List[(IMPSVar, IMPSSort)]): Term
- def doIMPSForsome(forsome: IMPSForSome, thy: Theory, cntxt: List[(IMPSVar, IMPSSort)]): Term
- def doIMPSLambda(lambda: IMPSLambda, thy: Theory, cntxt: List[(IMPSVar, IMPSSort)]): Term
- def doLanguage(l: DFLanguage, docPath: DPath, ns: DPath, uri: URI): Unit
- def doLiteral(s: String): Term
- def doMathExp(d: IMPSMathExp, thy: Theory, cntxt: List[(IMPSVar, IMPSSort)]): Term
- def doMetaData(d: Declaration, metaVerb: String, metaObject: String): Unit
- def doName(s: String): LocalName
- def doQuasiConstructor(d: IMPSMathExp, thy: Theory, cntxt: List[(IMPSVar, IMPSSort)]): Term
- def doSort(d: IMPSSort, t: Theory): Term
- def doSourceRefD(d: Declaration, s: SourceInfo, uri: URI): Unit
- def doSourceRefT(t: Term, s: SourceInfo, uri: URI): Unit
- def doSubsort(subsort: IMPSSort, supersort: IMPSSort, thy: Theory, src: SourceInfo, uri: URI): Unit
- def doTheory(t: DFTheory, docPath: DPath, ns: DPath, uri: URI): Unit
- def doTransitiveSubtyping(the_subsort: Term, known_supersorts: List[Term], theory: Theory): Unit
- def doTranslation(d: DFTranslation, docPath: DPath, uri: URI): Unit
- def doUsages(d: Declaration, usages: List[Usage.Usage]): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def findConstant(name: String, thy: Theory): Constant
- def findKind(sort: IMPSSort): Term
- def findLangOrTheory(name: Any): Option[Theory]
- def findLanguage(name: Any): Option[Theory]
- def findSortFromContext(exp: IMPSMathExp, context: List[(IMPSVar, IMPSSort)]): Option[IMPSSort]
- def findTheory(name: Any): Option[Theory]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConstant(name: String, thy: Theory): Constant
- def getConstantOption(name: String, thy: Theory): Option[Constant]
-
def
getReports: List[MMTTaskProgress]
get all reports in reverse chronological order
get all reports in reverse chronological order
- Definition Classes
- MMTTask
- def getTheory(name: String): Theory
- def getTheoryOption(name: String): Option[Theory]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isDecLiteral(s: String): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIntLiteral(s: String): Boolean
-
def
isKilled: Boolean
processing should be aborted gracefully if true
processing should be aborted gracefully if true
- Definition Classes
- Killable
- def isOctLiteral(s: String): Boolean
- def isRatLiteral(s: String): Boolean
- def isSubtheoryOf(sup: Theory, sub: Theory): Boolean
- def isSupportedLiteral(s: String): Boolean
-
def
kill: Unit
signals aborting of processing
signals aborting of processing
- Definition Classes
- Killable
- def locateMathSymbolHome(s: String, thy: Theory): Option[Theory]
- def locateMathSymbolHomePrime(s: String, thy: Theory): Option[Theory]
-
def
log(e: Error): Unit
logs an error - always logged
logs an error - always logged
- Attributes
- protected
- Definition Classes
- Logger
-
def
log(s: ⇒ String, subgroup: Option[String] = None): Unit
logs a message with this logger's logprefix
logs a message with this logger's logprefix
- Attributes
- protected
- Definition Classes
- Logger
-
def
logError(s: ⇒ String): Unit
log as an error message
log as an error message
- Attributes
- protected
- Definition Classes
- Logger
-
def
logGroup[A](a: ⇒ A): A
wraps around a group to create nested logging
wraps around a group to create nested logging
- Attributes
- protected
- Definition Classes
- Logger
-
def
logPrefix: String
- Definition Classes
- IMPSImportTask → Logger
-
def
logTemp(s: ⇒ String): Unit
temporary logging - always logged
temporary logging - always logged
- Attributes
- protected
- Definition Classes
- Logger
- def makeReadable(str: String): String
- def makeReplica(base: Theory, docPath: DPath, ns: DPath, renamer: (String) ⇒ String): Theory
- def matchSort(e: IMPSSort, t: Theory): Term
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def recursiveIncludes(ts: List[Theory]): List[Theory]
-
def
removeListener(l: MMTTaskProgressListener): Unit
- Definition Classes
- MMTTask
-
def
report: Report
- Attributes
- protected
- Definition Classes
- IMPSImportTask → Logger
-
def
reportProgress(a: MMTTaskProgress): Unit
adds a report and forwards it to all listeners
adds a report and forwards it to all listeners
- Definition Classes
- MMTTask
-
def
setTimeout[A](millisec: Int)(f: () ⇒ Unit): IMPSImportTask.this.type
presses the kill button after the specified number of milli seconds
presses the kill button after the specified number of milli seconds
- Definition Classes
- Killable
- def strCaseEq(ying: Any, yang: Any): Boolean
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()