Class

smtlib.trees

TreeTransformer

Related Doc: package trees

Permalink

abstract class TreeTransformer extends AnyRef

Transformer for any tree

This is our most general transformer for trees, it can be extended for specific needs by overriding the context type C and the result type R, along with the combine and transform methods.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TreeTransformer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TreeTransformer()

    Permalink

Type Members

  1. abstract type C

    Permalink

    Context computed while recursing down the trees

  2. abstract type R

    Permalink

    Result type computed at each tree

Abstract Value Members

  1. abstract def combine(tree: Tree, context: C, results: Seq[R]): R

    Permalink

    Combine the context with the results from subtrees

    Combine the context with the results from subtrees

    combine is used after recursively transforming the subtrees, to combine the multiple results into one result to use in the post operation. The order of the context is from left to right in the tree structure.

    Combine is always invoked, even on a single element sublist or on an empty list. The tree argument is the current tree, before applying the recursive transformation. Same for the context argument, it is the current context at that transformation step. So combine can be used to apply some function to each tree element.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. def transform(resp: CommandResponse, context: C): (CommandResponse, R)

    Permalink
  18. def transform(cmd: Command, context: C): (Command, R)

    Permalink
  19. def transform(sexpr: SExpr, context: C): (SExpr, R)

    Permalink
  20. def transform(sv: SortedVar, context: C): (SortedVar, R)

    Permalink
  21. def transform(vb: VarBinding, context: C): (VarBinding, R)

    Permalink
  22. def transform(option: SMTOption, context: C): (SMTOption, R)

    Permalink
  23. def transform(attr: Attribute, context: C): (Attribute, R)

    Permalink
  24. def transform(id: Identifier, context: C): (Identifier, R)

    Permalink
  25. def transform(sort: Sort, context: C): (Sort, R)

    Permalink
  26. def transform(term: Term, context: C): (Term, R)

    Permalink
  27. def transformQualifiedIdentifier(qid: QualifiedIdentifier, context: C): (QualifiedIdentifier, R)

    Permalink
  28. def transformSymbol(symbol: SSymbol, context: C): (SSymbol, R)

    Permalink
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped