object Rewriter extends Rewriter with RewriterSyntax
- Alphabetic
- By Inheritance
- Rewriter
- RewriterSyntax
- Rewriter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
Rewrite
[G] extends AnyRef
- Definition Classes
- RewriterSyntax
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
modify[G, T](f: (T) ⇒ T, graph: G)(implicit arg0: ClassTag[T]): G
Modify with a given function
Modify with a given function
- Definition Classes
- Rewriter
-
def
modifyWith[G, T](f: PartialFunction[T, T], graph: G)(implicit arg0: ClassTag[T]): G
Modify with a given Partial function
Modify with a given Partial function
- Definition Classes
- Rewriter
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
replace[S, G](s: S, graph: G)(implicit arg0: ClassTag[S]): G
Replace all values of type S with the same value
Replace all values of type S with the same value
- Definition Classes
- Rewriter
-
def
replaceFirst[S, G](s: S, graph: G)(implicit arg0: ClassTag[S]): G
Replace the first value of type S (topdown, with another value
Replace the first value of type S (topdown, with another value
- Definition Classes
- Rewriter
-
def
replaceStrategy[S](s: S)(implicit arg0: ClassTag[S]): Strategy
- Definition Classes
- Rewriter
-
def
replaceWith[G, T](s: PartialFunction[T, Option[T]], graph: G): G
Replace with a given partial function
Replace with a given partial function
- Definition Classes
- Rewriter
-
def
replacedWith[S, G](s: S, graph: G)(implicit arg0: ClassTag[S]): Option[G]
Replace all values of type S with the same value, returning None if nothing was replaced, or the rewritten graph otherwise.
Replace all values of type S with the same value, returning None if nothing was replaced, or the rewritten graph otherwise.
- Definition Classes
- Rewriter
-
def
rewriteFirstWithStrategy[G](strategy: Strategy, graph: G): G
Replace with a given strategy (breadth first)
Replace with a given strategy (breadth first)
- Definition Classes
- Rewriter
-
def
rewriteWithStrategy[G](strategy: Strategy, graph: G): G
Replace with a given strategy (top down)
Replace with a given strategy (top down)
- Definition Classes
- Rewriter
-
def
singleton[S, G](graph: G)(implicit arg0: ClassTag[S]): G
Take the first value of a given type (approximated with a ClassTag) and replace it everywhere in the graph
Take the first value of a given type (approximated with a ClassTag) and replace it everywhere in the graph
- Definition Classes
- Rewriter
-
def
singletonStrategy[S](implicit tag: ClassTag[S]): Strategy
- Definition Classes
- Rewriter
-
def
singletons[G](predicate: (Any) ⇒ Boolean)(graph: G): G
Make singletons of all components, except the ones not accepted by the predicate
Make singletons of all components, except the ones not accepted by the predicate
- Definition Classes
- Rewriter
-
def
singletons[G](graph: G): G
Make singletons of all components
Make singletons of all components
- Definition Classes
- Rewriter
-
def
singletonsBy[G](by: PartialFunction[Any, Any], bys: PartialFunction[Any, Any]*)(graph: G): G
Make singletons of all components, based on the class name of the component by default and on the class name + the result of the by function
Make singletons of all components, based on the class name of the component by default and on the class name + the result of the by function
- Definition Classes
- Rewriter
-
def
singletonsByStrategy(by: PartialFunction[Any, Any], bys: PartialFunction[Any, Any]*): Strategy
- Definition Classes
- Rewriter
-
def
startAll[G](graph: G): Eval[List[StartResult]]
start components from the bottom up
start components from the bottom up
- Definition Classes
- Rewriter
-
def
stopAll[G](graph: G): Eval[List[StopResult]]
stop components from the top down we try to stop components even if previous components fail to stop
stop components from the top down we try to stop components even if previous components fail to stop
- Definition Classes
- Rewriter
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
topBreadthfirst(s: Strategy): Strategy
- Definition Classes
- Rewriter
-
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( ... )