sealed case class RewriteConstantError(originalDecl: Constant, attemptedDecl: Option[Declaration], blamableTerms: scala.Predef.Map[ComponentKey, Seq[Term]]) extends RewriteError with Product with Serializable
- originalDecl
The original declaration, which was supposed to be rewritten.
- attemptedDecl
In case any attempt was made to rewrite the declaration, this option contains it. For example, when you received a RewriteError from LinkInverter.invertLink for a constant declaration, then the type or definiens component might still contain references to the theory S which was supposed to be generalized. However, in cases where the declarations wasn't known to LinkInverter.invertLink at all (e.g. proper structures - not inclusions), this might be None.
- blamableTerms
In case the declaration was a constant declaration and could not be fully rewritten due to some left over terms referring to things in the theory S, which was supposed to be generalized, this map contains it grouped by their occurrence in the term's component.
- Source
- LinkInverter.scala
- Alphabetic
- By Inheritance
- RewriteConstantError
- Serializable
- Serializable
- Product
- Equals
- RewriteError
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
RewriteConstantError(originalDecl: Constant, attemptedDecl: Option[Declaration], blamableTerms: scala.Predef.Map[ComponentKey, Seq[Term]])
- originalDecl
The original declaration, which was supposed to be rewritten.
- attemptedDecl
In case any attempt was made to rewrite the declaration, this option contains it. For example, when you received a RewriteError from LinkInverter.invertLink for a constant declaration, then the type or definiens component might still contain references to the theory S which was supposed to be generalized. However, in cases where the declarations wasn't known to LinkInverter.invertLink at all (e.g. proper structures - not inclusions), this might be None.
- blamableTerms
In case the declaration was a constant declaration and could not be fully rewritten due to some left over terms referring to things in the theory S, which was supposed to be generalized, this map contains it grouped by their occurrence in the term's component.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attemptedDecl: Option[Declaration]
- val blamableTerms: scala.Predef.Map[ComponentKey, Seq[Term]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
- val originalDecl: Constant
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- RewriteConstantError → 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()