Class/Object

scala.meta.contrib.equality

Structurally

Related Docs: object Structurally | package equality

Permalink

class Structurally[+A <: Tree] extends TreeEquality[A]

Represents structural equality between trees

Two trees are structurally equal if their .show[Structure] is equal. This implementation is however more efficient that doing a.structure == b.structure.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Structurally
  2. TreeEquality
  3. AnyRef
  4. Any
Implicitly
  1. by XtensionShow
  2. by XtensionStructure
  3. by XtensionSyntax
  4. by XtensionClassifiable
  5. by XtensionTokenizeInputLike
  6. by XtensionParseInputLike
  7. by any2stringadd
  8. by StringFormat
  9. by Ensuring
  10. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Structurally(tree: A)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to any2stringadd[Structurally[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Structurally[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to ArrowAssoc[Structurally[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (Structurally[A]) ⇒ Boolean, msg: ⇒ Any): Structurally[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to Ensuring[Structurally[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (Structurally[A]) ⇒ Boolean): Structurally[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to Ensuring[Structurally[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): Structurally[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to Ensuring[Structurally[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): Structurally[A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to Ensuring[Structurally[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(obj: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to StringFormat[Structurally[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Structurally → AnyRef → Any
  18. def is[U](implicit classifier: Classifier[Structurally[A], U]): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionClassifiable[Structurally[A]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Structurally[A]] is in scope.
    Definition Classes
    XtensionClassifiable
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isNot[U](implicit classifier: Classifier[Structurally[A], U]): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionClassifiable[Structurally[A]] performed by method XtensionClassifiable in scala.meta.classifiers.Api. This conversion will take place only if an implicit value of type Classifiable[Structurally[A]] is in scope.
    Definition Classes
    XtensionClassifiable
  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. def parse[U](implicit convert: Convert[Structurally[A], inputs.Input], parse: Parse[U], dialect: Dialect): parsers.Parsed[U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionParseInputLike[Structurally[A]] performed by method XtensionParseInputLike in scala.meta.parsers.Api.
    Definition Classes
    XtensionParseInputLike
  25. def show[Style[X] <: Show[X]](implicit style: Style[Structurally[A]]): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionShow[Structurally[A]] performed by method XtensionShow in scala.meta.prettyprinters.Api.
    Definition Classes
    XtensionShow
  26. def structure: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionStructure[Structurally[A]] performed by method XtensionStructure in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Structure[Structurally[A]] is in scope.
    Definition Classes
    XtensionStructure
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def syntax: String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionSyntax[Structurally[A]] performed by method XtensionSyntax in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Syntax[Structurally[A]] is in scope.
    Definition Classes
    XtensionSyntax
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def tokenize(implicit convert: Convert[Structurally[A], inputs.Input], tokenize: Tokenize, dialect: Dialect): tokenizers.Tokenized

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to meta.XtensionTokenizeInputLike[Structurally[A]] performed by method XtensionTokenizeInputLike in scala.meta.tokenizers.Api.
    Definition Classes
    XtensionTokenizeInputLike
  31. val tree: A

    Permalink
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (Structurally[A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Structurally[A] to ArrowAssoc[Structurally[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from TreeEquality[A]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionShow from Structurally[A] to meta.XtensionShow[Structurally[A]]

Inherited by implicit conversion XtensionStructure from Structurally[A] to meta.XtensionStructure[Structurally[A]]

Inherited by implicit conversion XtensionSyntax from Structurally[A] to meta.XtensionSyntax[Structurally[A]]

Inherited by implicit conversion XtensionClassifiable from Structurally[A] to meta.XtensionClassifiable[Structurally[A]]

Inherited by implicit conversion XtensionTokenizeInputLike from Structurally[A] to meta.XtensionTokenizeInputLike[Structurally[A]]

Inherited by implicit conversion XtensionParseInputLike from Structurally[A] to meta.XtensionParseInputLike[Structurally[A]]

Inherited by implicit conversion any2stringadd from Structurally[A] to any2stringadd[Structurally[A]]

Inherited by implicit conversion StringFormat from Structurally[A] to StringFormat[Structurally[A]]

Inherited by implicit conversion Ensuring from Structurally[A] to Ensuring[Structurally[A]]

Inherited by implicit conversion ArrowAssoc from Structurally[A] to ArrowAssoc[Structurally[A]]

Ungrouped