trait If extends Term with WithCond with WithMods with Product

Annotations
@astClass() @leafClass()
Linear Supertypes
WithMods, WithCond, Term, Stat, Tree, java.io.Serializable, Ast, Adt, InternalTree, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. If
  2. WithMods
  3. WithCond
  4. Term
  5. Stat
  6. Tree
  7. Serializable
  8. Ast
  9. Adt
  10. InternalTree
  11. Product
  12. Equals
  13. AnyRef
  14. Any
Implicitly
  1. by ImplicitTree
  2. by XtensionTreesStat
  3. by XtensionTreesTerm
  4. by ImplicitTree
  5. by any2stringadd
  6. by StringFormat
  7. by Ensuring
  8. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def children: List[Tree]
    Definition Classes
    Tree
  2. abstract def cond: Term
    Definition Classes
    IfWithCond
    Annotations
    @astField()
  3. abstract def copy(cond: Term = this.cond, thenp: Term = this.thenp, elsep: Term = this.elsep, mods: List[Mod] = this.mods): If
  4. abstract def elsep: Term
    Annotations
    @astField()
  5. abstract def mods: List[Mod]
    Definition Classes
    IfWithMods
    Annotations
    @astField() @newField("4.4.0")
  6. abstract def origin: Origin
    Definition Classes
    IfInternalTree
    Annotations
    @privateField()
  7. abstract def productArity: Int
    Definition Classes
    Product
  8. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  9. abstract def productFields: List[String]
    Definition Classes
    InternalTree
  10. abstract def thenp: Term
    Annotations
    @astField()
  11. abstract def copy(cond: Term, thenp: Term, elsep: Term): If
    Annotations
    @deprecated
    Deprecated

    4.4.0

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from If toany2stringadd[If] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (If, B)
    Implicit
    This member is added by an implicit conversion from If toArrowAssoc[If] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def canEqual(that: Any): Boolean
    Definition Classes
    IfTree → Equals
  8. def checkField(field: Tree, requirement: Boolean): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  9. def checkFields(x: Any): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  10. def checkParent(x: Any): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def ensuring(cond: (If) => Boolean, msg: => Any): If
    Implicit
    This member is added by an implicit conversion from If toEnsuring[If] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (If) => Boolean): If
    Implicit
    This member is added by an implicit conversion from If toEnsuring[If] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): If
    Implicit
    This member is added by an implicit conversion from If toEnsuring[If] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): If
    Implicit
    This member is added by an implicit conversion from If toEnsuring[If] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def equals(that: Any): Boolean
    Definition Classes
    IfTree → Equals → AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def hashCode(): Int
    Definition Classes
    IfTree → AnyRef → Any
  21. def isBlockStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  22. def isEarlyStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  23. def isExistentialStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  24. def isExtractor: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesTerm performed by method XtensionTreesTerm in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesTerm
    Annotations
    @tailrec()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isRefineStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  27. def isTemplateStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  28. def isTopLevelStat: Boolean
    Implicit
    This member is added by an implicit conversion from If toXtensionTreesStat performed by method XtensionTreesStat in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesStat
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def parent: Option[Tree]
    Definition Classes
    InternalTree
  33. def pos: Position
    Definition Classes
    InternalTree
  34. def printSyntaxFor(dialect: Dialect): String
    Definition Classes
    InternalTree
  35. def productElementName(n: Int): String
    Definition Classes
    Product
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. def productIterator: Iterator[Any]
    Definition Classes
    Product
  38. def productPrefix: String
    Definition Classes
    Product
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def text: String
    Definition Classes
    InternalTree
  41. final def toString(): String
    Definition Classes
    IfTree → AnyRef → Any
  42. def tokenizeFor(dialect: Dialect): Tokens
    Definition Classes
    InternalTree
  43. def tokens: Tokens
    Definition Classes
    InternalTree
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Shadowed Implicit Value Members

  1. def ancestor(level: Int): Option[Tree]
    Implicit
    This member is added by an implicit conversion from If toImplicitTree[If] performed by method ImplicitTree in scala.meta.Tree.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (if: ImplicitTree[If]).ancestor(level)
    Definition Classes
    ImplicitTree
  2. def ancestor(level: Int): Option[Tree]
    Implicit
    This member is added by an implicit conversion from If toImplicitTree[If] performed by method ImplicitTree in scala.meta.Tree.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (if: ImplicitTree[If]).ancestor(level)
    Definition Classes
    ImplicitTree

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from If toStringFormat[If] 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. final def tokens(dialect: Dialect): Tokens
    Definition Classes
    InternalTree
    Annotations
    @deprecated
    Deprecated

    (Since version 4.9.0) dialect is ignored, use parameterless tokens method

  3. def [B](y: B): (If, B)
    Implicit
    This member is added by an implicit conversion from If toArrowAssoc[If] 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 WithMods

Inherited from WithCond

Inherited from Term

Inherited from Stat

Inherited from Tree

Inherited from java.io.Serializable

Inherited from Ast

Inherited from Adt

Inherited from InternalTree

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion ImplicitTree fromIf to ImplicitTree[If]

Inherited by implicit conversion XtensionTreesStat fromIf to XtensionTreesStat

Inherited by implicit conversion XtensionTreesTerm fromIf to XtensionTreesTerm

Inherited by implicit conversion ImplicitTree fromIf to ImplicitTree[If]

Inherited by implicit conversion any2stringadd fromIf to any2stringadd[If]

Inherited by implicit conversion StringFormat fromIf to StringFormat[If]

Inherited by implicit conversion Ensuring fromIf to Ensuring[If]

Inherited by implicit conversion ArrowAssoc fromIf to ArrowAssoc[If]

Ungrouped