trait LinkInversionRulesProvider extends AnyRef
Provider for inverse rewrite rules for links.
Initially, the LinkInverter starts with the rules returned by LinkInversionRulesProvider.getInverseRewritingRules() and starts rewriting declarations.
Different implementations may consider different "equality rules".
- The simplest LinkInversionRulesProvider would return AbbrevRule instances
for links which are renamings. Namely, those rules would rewrite the RHS of the
renaming to the LHS.
- A more complex implementation could in addition provide rules for link mappings
d = d'
where d' = OMBINDC(_, _, _)
. Namely, the rule would rewrite terms
t'
, which are the same as d'
modulo a renaming of the binding context, to d
.
- An even more complex implementation would also match terms, e.g. when t'
is the
body (scope) of the OMBINDC of d'
with instantiated variables for the bound
context, it woud rewrite t'
to d [arguments for the instantiation]
.
See LFLinkInversionRulesProvider.
- Source
- LinkInverter.scala
- Alphabetic
- By Inheritance
- LinkInversionRulesProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
getInverseRewritingRules(link: Link): RuleSet
Provide rewrite rules for the inverted link.
Provide rewrite rules for the inverted link.
- link
The link.
- returns
Rewrite rules.
- See also
LinkInversionRulesProvider for more documentation.
Concrete 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- 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()
-
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()