Trait

inox.ast

Extractors

Related Doc: package ast

Permalink

trait Extractors extends AnyRef

Provides extraction capabilities to Trees based on a TreeDeconstructor instance.

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

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. object Container

    Permalink
  5. object FunctionContainerType

    Permalink
  6. object IsTyped

    Permalink
  7. object Operator extends TreeExtractor

    Permalink

    Operator Extractor to extract any Expression in a consistent way.

    Operator Extractor to extract any Expression in a consistent way.

    You can match on any Inox Expr, and then get both a Seq[Expr] of subterms and a builder function that takes a Seq of subterms (of same length) and rebuild the original node.

    Those extractors do not perform any syntactic simplifications. They rebuild the node using the case class (not the constructor, that performs simplifications). The rational behind this decision is to have core tools for performing tree transformations that are very predictable, if one need to simplify the tree, it is easy to write/call a simplification function that would simply apply the corresponding constructor for each node.

  8. object RecordType

    Permalink
  9. object TopLevelAnds

    Permalink
  10. object TopLevelOrs

    Permalink
  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. val deconstructor: TreeDeconstructor { ... /* 2 definitions in type refinement */ }

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getDeconstructor(that: Trees): TreeDeconstructor { ... /* 2 definitions in type refinement */ }

    Permalink
  19. def hashCode(): Int

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unwrapTuple(e: Trees.Expr, expectedSize: Int)(implicit s: Trees.Symbols): Seq[Trees.Expr]

    Permalink
  27. def unwrapTuple(e: Trees.Expr, isTuple: Boolean)(implicit s: Trees.Symbols): Seq[Trees.Expr]

    Permalink
  28. def unwrapTupleType(tp: Trees.Type, expectedSize: Int): Seq[Trees.Type]

    Permalink
  29. def unwrapTupleType(tp: Trees.Type, isTuple: Boolean): Seq[Trees.Type]

    Permalink
  30. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped