o

info.kwarc.mmt.sequences

LengthAwareApplyTerm

object LengthAwareApplyTerm extends GenericApplyTerm

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LengthAwareApplyTerm
  2. GenericApplyTerm
  3. InferenceAndTypingRule
  4. InferenceRule
  5. MaytriggerBacktrack
  6. SingleTermBasedCheckingRule
  7. CheckingRule
  8. SyntaxDrivenRule
  9. Rule
  10. SemanticObject
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DelayJudgment(msg: String) extends Throwable with Product with Serializable

    may be thrown to indicate that the judgment that the rules was called on should be delayed

    may be thrown to indicate that the judgment that the rules was called on should be delayed

    Definition Classes
    CheckingRule
  2. case class Backtrack(msg: String) extends Throwable with Product with Serializable
    Definition Classes
    MaytriggerBacktrack

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alternativeHeads: List[GlobalName]

    additional heads that can trigger the rule, e.g., arrow for a rule with head Pi

    additional heads that can trigger the rule, e.g., arrow for a rule with head Pi

    Definition Classes
    CheckingRule
  5. def applicable(t: Term): Boolean
    Definition Classes
    SingleTermBasedCheckingRule
  6. def apply(solver: Solver, tm: Term, tpO: Option[Term], covered: Boolean)(implicit stack: Stack, history: History): (Option[Term], Option[Boolean])

    covered

    whether tm is covered (if true and tp provided, typing is covered too)

    returns

    the inferred type and the result of type-checking post: if the latter is Some(true), typing is covered wrt to the provided and the returned type

    Definition Classes
    GenericApplyTermInferenceAndTypingRule
  7. def apply(solver: Solver)(tm: Term, covered: Boolean)(implicit stack: Stack, history: History): Option[Term]

    solver

    provides callbacks to the currently solved system of judgments

    tm

    the term

    covered

    if true, well-formedness may be assumed

    stack

    its context

    history

    the history so far

    returns

    the inferred type if inference was possible

    Definition Classes
    InferenceAndTypingRuleInferenceRule
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val head: GlobalName

    an MMT URI that is used to indicate when the Rule is applicable

    an MMT URI that is used to indicate when the Rule is applicable

    Definition Classes
    InferenceRuleSyntaxDrivenRule
  16. def heads: List[GlobalName]
    Definition Classes
    CheckingRule
  17. def init: Unit

    errors in Java initializers are hard to debug; therefore, objects should put initialization code here, which will be called by MMT empty by default, may throw errors

    errors in Java initializers are hard to debug; therefore, objects should put initialization code here, which will be called by MMT empty by default, may throw errors

    Definition Classes
    SemanticObject
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. lazy val mpath: MPath

    the MMT URI of this object, derived from its Scala name: scala://package?name

    the MMT URI of this object, derived from its Scala name: scala://package?name

    Definition Classes
    SemanticObject
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def priority: Int

    when multiple rules are applicable, rules with higher priorities are preferred

    when multiple rules are applicable, rules with higher priorities are preferred

    creating a new rule with higher priority can be used to effectively drop imported rules

    Definition Classes
    Rule
  24. def providedRules: List[Rule]

    normally the singleton list of this rule; but rules may bundle additional rules as well

    normally the singleton list of this rule; but rules may bundle additional rules as well

    Definition Classes
    Rule
  25. def shadowedRules: List[ApplyTerm.type]

    LF's rule must be shadowed because it would allow not-length-matching inference

    LF's rule must be shadowed because it would allow not-length-matching inference

    Definition Classes
    LengthAwareApplyTermRule
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    SyntaxDrivenRuleRule → AnyRef → Any
  28. val typOp: GlobalName
    Definition Classes
    InferenceRule
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from GenericApplyTerm

Inherited from InferenceAndTypingRule

Inherited from InferenceRule

Inherited from MaytriggerBacktrack

Inherited from CheckingRule

Inherited from SyntaxDrivenRule

Inherited from Rule

Inherited from SemanticObject

Inherited from AnyRef

Inherited from Any

Ungrouped