Class

scala.meta.internal.scalahost.converters.LogicalTrees

DefnVar

Related Doc: package LogicalTrees

Permalink

case class DefnVar(mods: List[Modifier], pats: List[G.Tree], tpt: Option[G.Tree], rhs: Option[G.Tree]) extends ValOrVarDefs with Product with Serializable

Linear Supertypes
Serializable, java.io.Serializable, ValOrVarDefs, G.Tree, G.Attachable, G.TreeContextApiImpl, G.TreeApi, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefnVar
  2. Serializable
  3. Serializable
  4. ValOrVarDefs
  5. Tree
  6. Attachable
  7. TreeContextApiImpl
  8. TreeApi
  9. Product
  10. Equals
  11. AnyRef
  12. Any
Implicitly
  1. by XtensionClassifiable
  2. by XtensionStructure
  3. by XtensionTokenizeInputLike
  4. by XtensionSyntax
  5. by XtensionShow
  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 DefnVar(mods: List[Modifier], pats: List[G.Tree], tpt: Option[G.Tree], rhs: Option[G.Tree])

    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 DefnVar to any2stringadd[DefnVar] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DefnVar, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DefnVar to ArrowAssoc[DefnVar] 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 attachments: Attachments { type Pos = LogicalTrees.this.g.Position }

    Permalink
    Definition Classes
    Attachable
  8. def canHaveAttrs: Boolean

    Permalink
    Definition Classes
    Tree → TreeApi
  9. def changeOwner(pairs: (G.Symbol, G.Symbol)*): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  10. def children: List[G.Tree]

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  11. def clearType(): DefnVar.this.type

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def collect[T](pf: PartialFunction[G.Tree, T]): List[T]

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  14. def correspondsStructure(that: G.Tree)(f: (G.Tree, G.Tree) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  15. def defineType(tp: G.Type): DefnVar.this.type

    Permalink
    Definition Classes
    Tree
  16. def duplicate: DefnVar.this.type

    Permalink
    Definition Classes
    Tree → TreeApi
  17. def ensuring(cond: (DefnVar) ⇒ Boolean, msg: ⇒ Any): DefnVar

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    Tree → Equals → AnyRef → Any
  23. def equalsStructure(that: G.Tree): Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  24. def exists(p: (G.Tree) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  25. def filter(f: (G.Tree) ⇒ Boolean): List[G.Tree]

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. def find(p: (G.Tree) ⇒ Boolean): Option[G.Tree]

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  28. def forAll(p: (G.Tree) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  29. def foreach(f: (G.Tree) ⇒ Unit): Unit

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  30. def foreachPartial(pf: PartialFunction[G.Tree, G.Tree]): Unit

    Permalink
    Definition Classes
    TreeContextApiImpl
  31. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DefnVar to StringFormat[DefnVar] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  32. def freeTerms: List[G.FreeTermSymbol]

    Permalink
    Definition Classes
    TreeContextApiImpl
  33. def freeTypes: List[G.FreeTypeSymbol]

    Permalink
    Definition Classes
    TreeContextApiImpl
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def hasAttachment[T](implicit arg0: ClassTag[T]): Boolean

    Permalink
    Definition Classes
    Attachable
  36. def hasExistingSymbol: Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  37. def hasSymbolField: Boolean

    Permalink
    Definition Classes
    Tree
  38. def hasSymbolWhich(f: (G.Symbol) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  39. def hashCode(): Int

    Permalink
    Definition Classes
    Tree → AnyRef → Any
  40. val id: Int

    Permalink
    Definition Classes
    Tree
  41. def is[U](implicit classifier: Classifier[DefnVar, U]): Boolean

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

    Permalink
    Definition Classes
    Tree → TreeApi
  43. def isEmpty: Boolean

    Permalink
    Definition Classes
    Tree → TreeApi
  44. def isErroneous: Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  45. def isErrorTyped: Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def isNot[U](implicit classifier: Classifier[DefnVar, U]): Boolean

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

    Permalink
    Definition Classes
    Tree → TreeApi
  49. def isType: Boolean

    Permalink
    Definition Classes
    Tree → TreeApi
  50. def isTyped: Boolean

    Permalink
    Definition Classes
    TreeContextApiImpl
  51. def modifyType(f: (G.Type) ⇒ G.Type): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  52. val mods: List[Modifier]

    Permalink
  53. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  54. def nonEmpty: Boolean

    Permalink
    Definition Classes
    Tree → TreeApi
  55. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  57. def orElse(alt: ⇒ G.Tree): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  58. def parse[U](implicit convert: Convert[DefnVar, inputs.Input], parse: Parse[U], dialect: Dialect): parsers.Parsed[U]

    Permalink
    Implicit information
    This member is added by an implicit conversion from DefnVar to meta.XtensionParseInputLike[DefnVar] performed by method XtensionParseInputLike in scala.meta.parsers.Api.
    Definition Classes
    XtensionParseInputLike
  59. val pats: List[G.Tree]

    Permalink
    Definition Classes
    DefnVarValOrVarDefs
  60. final def pos: G.Position

    Permalink
    Definition Classes
    Tree → Attachable → TreeApi
  61. def pos_=(pos: G.Position): Unit

    Permalink
    Definition Classes
    Attachable
  62. var rawatt: Attachments { type Pos = LogicalTrees.this.g.Position }

    Permalink
    Attributes
    protected
    Definition Classes
    Attachable
  63. def removeAttachment[T](implicit arg0: ClassTag[T]): DefnVar.this.type

    Permalink
    Definition Classes
    Attachable
  64. val rhs: Option[G.Tree]

    Permalink
  65. def setAttachments(attachments: Attachments { type Pos = LogicalTrees.this.g.Position }): DefnVar.this.type

    Permalink
    Definition Classes
    Attachable
  66. def setPos(newpos: G.Position): DefnVar.this.type

    Permalink
    Definition Classes
    Attachable
  67. def setSymbol(sym: G.Symbol): DefnVar.this.type

    Permalink
    Definition Classes
    Tree
  68. def setType(tp: G.Type): DefnVar.this.type

    Permalink
    Definition Classes
    Tree
  69. def shallowDuplicate: G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  70. def shortClass: String

    Permalink
    Definition Classes
    TreeContextApiImpl
  71. def show[Style[X] <: Show[X]](implicit style: Style[DefnVar]): String

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DefnVar to meta.XtensionStructure[DefnVar] performed by method XtensionStructure in scala.meta.prettyprinters.Api. This conversion will take place only if an implicit value of type prettyprinters.Structure[DefnVar] is in scope.
    Definition Classes
    XtensionStructure
  73. def substituteSymbols(from: List[G.Symbol], to: List[G.Symbol]): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  74. def substituteThis(clazz: G.Symbol, to: G.Tree): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  75. def substituteTypes(from: List[G.Symbol], to: List[G.Type]): G.Tree

    Permalink
    Definition Classes
    TreeContextApiImpl
  76. def summaryString: String

    Permalink
    Definition Classes
    TreeContextApiImpl
  77. def symbol: G.Symbol

    Permalink
    Definition Classes
    Tree → TreeApi
  78. def symbol_=(sym: G.Symbol): Unit

    Permalink
    Definition Classes
    Tree
  79. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  80. def syntax: String

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from DefnVar to meta.XtensionTokenizeInputLike[DefnVar] performed by method XtensionTokenizeInputLike in scala.meta.tokenizers.Api.
    Definition Classes
    XtensionTokenizeInputLike
  83. final def tpe: G.Type

    Permalink
    Definition Classes
    Tree → TreeApi
  84. val tpt: Option[G.Tree]

    Permalink
  85. def updateAttachment[T](attachment: T)(implicit arg0: ClassTag[T]): DefnVar.this.type

    Permalink
    Definition Classes
    Attachable
  86. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. def withFilter(f: (G.Tree) ⇒ Boolean): List[G.Tree]

    Permalink
    Definition Classes
    TreeContextApiImpl → TreeApi
  90. def [B](y: B): (DefnVar, B)

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

Deprecated Value Members

  1. def hasSymbol: Boolean

    Permalink
    Definition Classes
    Tree
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use hasSymbolField

  2. def tpe_=(t: G.Type): Unit

    Permalink
    Definition Classes
    Tree
    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use setType

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from ValOrVarDefs

Inherited from G.Tree

Inherited from G.Attachable

Inherited from G.TreeContextApiImpl

Inherited from G.TreeApi

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion XtensionClassifiable from DefnVar to meta.XtensionClassifiable[DefnVar]

Inherited by implicit conversion XtensionStructure from DefnVar to meta.XtensionStructure[DefnVar]

Inherited by implicit conversion XtensionTokenizeInputLike from DefnVar to meta.XtensionTokenizeInputLike[DefnVar]

Inherited by implicit conversion XtensionSyntax from DefnVar to meta.XtensionSyntax[DefnVar]

Inherited by implicit conversion XtensionShow from DefnVar to meta.XtensionShow[DefnVar]

Inherited by implicit conversion XtensionParseInputLike from DefnVar to meta.XtensionParseInputLike[DefnVar]

Inherited by implicit conversion any2stringadd from DefnVar to any2stringadd[DefnVar]

Inherited by implicit conversion StringFormat from DefnVar to StringFormat[DefnVar]

Inherited by implicit conversion Ensuring from DefnVar to Ensuring[DefnVar]

Inherited by implicit conversion ArrowAssoc from DefnVar to ArrowAssoc[DefnVar]

Ungrouped