trait Name extends meta.Name with Ref with Product

Annotations
@astClass() @leafClass()
Linear Supertypes
Ref, Type, meta.Name, meta.Ref, Tree, java.io.Serializable, Ast, Adt, InternalTree, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Name
  2. Ref
  3. Type
  4. Name
  5. Ref
  6. Tree
  7. Serializable
  8. Ast
  9. Adt
  10. InternalTree
  11. Product
  12. Equals
  13. AnyRef
  14. Any
Implicitly
  1. by ImplicitTree
  2. by XtensionTreesType
  3. by XtensionTreesName
  4. by XtensionTreesRef
  5. by ImplicitName
  6. by any2stringadd
  7. by StringFormat
  8. by Ensuring
  9. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def begComment: Option[Comments]
    Definition Classes
    Name → InternalTree
    Annotations
    @privateField()
  2. abstract def copy(value: String @org.scalameta.invariants.nonEmpty = this.value): Name
  3. abstract def copyWithComments(value: String @org.scalameta.invariants.nonEmpty = this.value, begComment: Option[Comments] = this.begComment, endComment: Option[Comments] = this.endComment): Name
  4. abstract def endComment: Option[Comments]
    Definition Classes
    Name → InternalTree
    Annotations
    @privateField()
  5. abstract def foreachChild(f: (Tree) => Unit): Unit

    Applies f to each direct child tree, in field order.

    Applies f to each direct child tree, in field order. Implemented per @ast node (allocation-free); children/childrenCount derive from it.

    Definition Classes
    InternalTree
  6. abstract def origin: Origin
    Definition Classes
    Name → InternalTree
    Annotations
    @privateField()
  7. abstract def parent: Option[Tree]
    Definition Classes
    InternalTree
  8. abstract def productArity: Int
    Definition Classes
    Product
  9. abstract def productElement(n: Int): Any
    Definition Classes
    Product
  10. abstract def productFields: List[String]
    Definition Classes
    InternalTree
  11. abstract def value: String @org.scalameta.invariants.nonEmpty
    Definition Classes
    Name → Name
    Annotations
    @astField()

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 Name toany2stringadd[Name] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Name, B)
    Implicit
    This member is added by an implicit conversion from Name toArrowAssoc[Name] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def ancestor(level: Int): Option[Tree]
    Implicit
    This member is added by an implicit conversion from Name toImplicitTree[Name] performed by method ImplicitTree in scala.meta.Tree.
    Definition Classes
    ImplicitTree
  7. def ancestorOrNoTree(level: Int): Tree
    Implicit
    This member is added by an implicit conversion from Name toImplicitTree[Name] performed by method ImplicitTree in scala.meta.Tree.
    Definition Classes
    ImplicitTree
  8. def ancestorOrNull(level: Int): Tree
    Implicit
    This member is added by an implicit conversion from Name toImplicitTree[Name] performed by method ImplicitTree in scala.meta.Tree.
    Definition Classes
    ImplicitTree
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def begOffset: Int
    Definition Classes
    InternalTree
  11. final def canEqual(that: Any): Boolean
    Definition Classes
    Name → Tree → Equals
  12. def checkField(field: Tree, requirement: Boolean): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  13. def checkFields(f: => Boolean): Unit
    Attributes
    protected
    Definition Classes
    InternalTree
  14. def children: List[Tree]
    Definition Classes
    InternalTree
  15. def childrenCount: Int

    Number of direct child trees; overridden per @ast node to avoid the children builder.

    Number of direct child trees; overridden per @ast node to avoid the children builder.

    Definition Classes
    InternalTree
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  17. def endOffset: Int
    Definition Classes
    InternalTree
  18. def ensuring(cond: (Name) => Boolean, msg: => Any): Name
    Implicit
    This member is added by an implicit conversion from Name toEnsuring[Name] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (Name) => Boolean): Name
    Implicit
    This member is added by an implicit conversion from Name toEnsuring[Name] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: => Any): Name
    Implicit
    This member is added by an implicit conversion from Name toEnsuring[Name] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): Name
    Implicit
    This member is added by an implicit conversion from Name toEnsuring[Name] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def equals(that: Any): Boolean
    Definition Classes
    Name → Tree → Equals → AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  25. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. final def hasComments: Boolean
    Definition Classes
    InternalTree
  27. final def hashCode(): Int
    Definition Classes
    Name → Tree → AnyRef → Any
  28. final def isAnonymous: Boolean
    Implicit
    This member is added by an implicit conversion from Name toImplicitName performed by method ImplicitName in scala.meta.Name.
    Definition Classes
    ImplicitName
  29. def isAssignmentOp: Boolean
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesName performed by method XtensionTreesName in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesName
  30. def isConstructable: Boolean
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesType performed by method XtensionTreesType in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesType
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. def isLeftAssoc: Boolean
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesName performed by method XtensionTreesName in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesName
  33. def isUnaryOp: Boolean
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesName performed by method XtensionTreesName in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesName
  34. def isWithin: Boolean
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesRef performed by method XtensionTreesRef in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesRef
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def originalPrototype(): Tree
    Definition Classes
    InternalTree
    Annotations
    @tailrec()
  39. def parentOrNoTree: Tree

    The parent Tree, or the NoTree sentinel if there is none; never null.

    The parent Tree, or the NoTree sentinel if there is none; never null. Since NoTree.parentOrNoTree eq NoTree, walking a chain needs no null checks and terminates at the NoTree fixed point. Unlike parentOrNull it does not guard a null receiver: it never yields null, so a chain never calls it on one — do not call it on a literal null.

    Implicit
    This member is added by an implicit conversion from Name toImplicitTree[Name] performed by method ImplicitTree in scala.meta.Tree.
    Definition Classes
    ImplicitTree
  40. def parentOrNull: Tree

    The parent Tree, or null if there is none (also null for a null receiver).

    The parent Tree, or null if there is none (also null for a null receiver).

    Implicit
    This member is added by an implicit conversion from Name toImplicitTree[Name] performed by method ImplicitTree in scala.meta.Tree.
    Definition Classes
    ImplicitTree
  41. def pos: Position
    Definition Classes
    InternalTree
  42. def precedence: Int
    Implicit
    This member is added by an implicit conversion from Name toXtensionTreesName performed by method XtensionTreesName in scala.meta.internal.trees.
    Definition Classes
    XtensionTreesName
  43. def printSyntaxFor(dialect: Dialect): String
    Definition Classes
    InternalTree
  44. def productElementName(n: Int): String
    Definition Classes
    Product
  45. def productElementNames: Iterator[String]
    Definition Classes
    Product
  46. def productIterator: Iterator[Any]
    Definition Classes
    Product
  47. def productPrefix: String
    Definition Classes
    Product
  48. def prototype: Option[Tree]
    Definition Classes
    InternalTree
  49. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  50. def text: String
    Definition Classes
    InternalTree
  51. final def toString(): String
    Definition Classes
    Name → Tree → AnyRef → Any
  52. def tokenizeFor(dialect: Dialect): Tokens
    Definition Classes
    InternalTree
  53. def tokens: Tokens
    Definition Classes
    InternalTree
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Name toStringFormat[Name] 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): (Name, B)
    Implicit
    This member is added by an implicit conversion from Name toArrowAssoc[Name] 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 Ref

Inherited from Type

Inherited from meta.Name

Inherited from meta.Ref

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 fromName to ImplicitTree[Name]

Inherited by implicit conversion XtensionTreesType fromName to XtensionTreesType

Inherited by implicit conversion XtensionTreesName fromName to XtensionTreesName

Inherited by implicit conversion XtensionTreesRef fromName to XtensionTreesRef

Inherited by implicit conversion ImplicitName fromName to ImplicitName

Inherited by implicit conversion any2stringadd fromName to any2stringadd[Name]

Inherited by implicit conversion StringFormat fromName to StringFormat[Name]

Inherited by implicit conversion Ensuring fromName to Ensuring[Name]

Inherited by implicit conversion ArrowAssoc fromName to ArrowAssoc[Name]

Ungrouped