object FindUsedTheories extends Traverser[HashSet[MPath]]
Traverser finding used theories
This object is a traverser and searches a theory for all theories that are used
- Attributes
- protected
- Source
- GraphOptimizationTool.scala
- Alphabetic
- By Inheritance
- FindUsedTheories
- Traverser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 apply(se: StructuralElement): State
- def apply(vw: View): State
-
def
apply(dt: Theory): State
Applies to Theory
Applies to Theory
Searches a Theory for its used theories, adds them to state
- dt
This is the Theory to be searched
- returns
This is a Set of used theories (as MPaths)
-
def
apply(decl: Declaration, state: State): Unit
Applies to Declaration
Applies to Declaration
Searches a Declaration for its used theories, adds them to state
- decl
This is the Declaration to be searched
- state
This is the traverser's state
- def apply(t: Term, state: State): Term
-
def
apply(t: Term, init: State, con: Context = Context()): Term
the main method to call the traverser, context defaults to empty
the main method to call the traverser, context defaults to empty
- Definition Classes
- Traverser
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compose(that: Traverser[HashSet[MPath]]): Traverser[HashSet[MPath]]
diagrammatic composition (first this, then that)
diagrammatic composition (first this, then that)
- Definition Classes
- Traverser
-
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
-
def
toTranslator(newInit: () ⇒ HashSet[MPath]): UniformTranslator
this traverser as a translator
-
def
traverse(t: Term)(implicit con: Context, state: State): Term
Traverses terms
Traverses terms
Traverses over terms, finding any used theories
- t
This is the current subterm
- con
This is the current context
- state
This is the traverser's state
- Definition Classes
- FindUsedTheories → Traverser
-
def
traverseContext(cont: Context)(implicit con: Context, state: State): Context
- Definition Classes
- Traverser
-
def
traverseObject(obj: Obj)(implicit con: Context, state: State): ThisType
traverses any object by mapping all the terms in it
traverses any object by mapping all the terms in it
- Definition Classes
- Traverser
-
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()