Packages

c

slick.ast

NodeOps

final class NodeOps extends AnyVal

Extra methods for Nodes.

Source
Util.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NodeOps
  2. AnyVal
  3. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NodeOps(tree: Node)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ->[B](y: B): (NodeOps, B)
    Implicit
    This member is added by an implicit conversion from NodeOps toArrowAssoc[NodeOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def collect[T](pf: PartialFunction[Node, T], stopOnMatch: Boolean = false): ConstArray[T]
  7. def collectAll[T](pf: PartialFunction[Node, ConstArray[T]]): ConstArray[T]
  8. def ensuring(cond: (NodeOps) => Boolean, msg: => Any): NodeOps
    Implicit
    This member is added by an implicit conversion from NodeOps toEnsuring[NodeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (NodeOps) => Boolean): NodeOps
    Implicit
    This member is added by an implicit conversion from NodeOps toEnsuring[NodeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): NodeOps
    Implicit
    This member is added by an implicit conversion from NodeOps toEnsuring[NodeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): NodeOps
    Implicit
    This member is added by an implicit conversion from NodeOps toEnsuring[NodeOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def findNode(p: (Node) => Boolean): Option[Node]
  13. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def replace(f: PartialFunction[Node, Node], keepType: Boolean = false, bottomUp: Boolean = false): Node
  16. def replaceInvalidate(f: PartialFunction[Node, (Node, TypeSymbol)]): Node

    Replace nodes in a bottom-up traversal while invalidating TypeSymbols.

    Replace nodes in a bottom-up traversal while invalidating TypeSymbols. Any later references to the invalidated TypeSymbols have their types unassigned, so that the whole tree can be retyped afterwards to get the correct new TypeSymbols in. The PartialFunction may return null, which is considered the same as not matching.

  17. def select(field: TermSymbol): Node
  18. def toString(): String
    Definition Classes
    Any
  19. val tree: Node
  20. def untypeReferences(invalid: Set[TypeSymbol]): Node

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from NodeOps toStringFormat[NodeOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (NodeOps, B)
    Implicit
    This member is added by an implicit conversion from NodeOps toArrowAssoc[NodeOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion StringFormat fromNodeOps to StringFormat[NodeOps]

Inherited by implicit conversion Ensuring fromNodeOps to Ensuring[NodeOps]

Inherited by implicit conversion ArrowAssoc fromNodeOps to ArrowAssoc[NodeOps]

Ungrouped