trait Tuple extends Pat with Member.Tuple with WithPats with Product
- Annotations
- @astClass() @leafClass()
- Alphabetic
- By Inheritance
- Tuple
- WithPats
- Tuple
- Pat
- Tree
- Serializable
- Ast
- Adt
- InternalTree
- Product
- Equals
- AnyRef
- Any
- by ImplicitTree
- by ImplicitTree
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def args: List[scala.meta.Pat] @org.scalameta.invariants.nonEmpty
- abstract def begComment: Option[Comments]
- Definition Classes
- Tuple → InternalTree
- Annotations
- @privateField()
- abstract def copy(args: List[scala.meta.Pat] @org.scalameta.invariants.nonEmpty = this.args): Tuple
- abstract def copyWithComments(args: List[scala.meta.Pat] @org.scalameta.invariants.nonEmpty = this.args, begComment: Option[Comments] = this.begComment, endComment: Option[Comments] = this.endComment): Tuple
- abstract def endComment: Option[Comments]
- Definition Classes
- Tuple → InternalTree
- Annotations
- @privateField()
- abstract def foreachChild(f: (Tree) => Unit): Unit
Applies
fto each direct child tree, in field order.Applies
fto each direct child tree, in field order. Implemented per@astnode (allocation-free);children/childrenCountderive from it.- Definition Classes
- InternalTree
- abstract def origin: Origin
- Definition Classes
- Tuple → InternalTree
- Annotations
- @privateField()
- abstract def parent: Option[Tree]
- Definition Classes
- InternalTree
- abstract def productArity: Int
- Definition Classes
- Product
- abstract def productElement(n: Int): Any
- Definition Classes
- Product
- abstract def productFields: List[String]
- Definition Classes
- InternalTree
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Tuple, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def begOffset: Int
- Definition Classes
- InternalTree
- final def canEqual(that: Any): Boolean
- def checkField(field: Tree, requirement: Boolean): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
- def checkFields(f: => Boolean): Unit
- Attributes
- protected
- Definition Classes
- InternalTree
- def children: List[Tree]
- Definition Classes
- InternalTree
- def childrenCount: Int
Number of direct child trees; overridden per
@astnode to avoid thechildrenbuilder.Number of direct child trees; overridden per
@astnode to avoid thechildrenbuilder.- Definition Classes
- InternalTree
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def endOffset: Int
- Definition Classes
- InternalTree
- def ensuring(cond: (Tuple) => Boolean, msg: => Any): Tuple
- def ensuring(cond: (Tuple) => Boolean): Tuple
- def ensuring(cond: Boolean, msg: => Any): Tuple
- def ensuring(cond: Boolean): Tuple
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(that: Any): Boolean
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def hasComments: Boolean
- Definition Classes
- InternalTree
- final def hashCode(): Int
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def nonEmpty: Boolean
- Definition Classes
- Tuple
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def originalPrototype(): Tree
- Definition Classes
- InternalTree
- Annotations
- @tailrec()
- final def pats: List[Pat]
- def pos: Position
- Definition Classes
- InternalTree
- def printSyntaxFor(dialect: Dialect): String
- Definition Classes
- InternalTree
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- def prototype: Option[Tree]
- Definition Classes
- InternalTree
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text: String
- Definition Classes
- InternalTree
- final def toString(): String
- def tokenizeFor(dialect: Dialect): Tokens
- Definition Classes
- InternalTree
- def tokens: Tokens
- Definition Classes
- InternalTree
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Shadowed Implicit Value Members
- def ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestor(level)
- Definition Classes
- ImplicitTree
- def ancestor(level: Int): Option[Tree]
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestor(level)
- Definition Classes
- ImplicitTree
- def ancestorOrNoTree(level: Int): Tree
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestorOrNoTree(level)
- Definition Classes
- ImplicitTree
- def ancestorOrNoTree(level: Int): Tree
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestorOrNoTree(level)
- Definition Classes
- ImplicitTree
- def ancestorOrNull(level: Int): Tree
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestorOrNull(level)
- Definition Classes
- ImplicitTree
- def ancestorOrNull(level: Int): Tree
- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).ancestorOrNull(level)
- Definition Classes
- ImplicitTree
- def parentOrNoTree: Tree
The parent
Tree, or the NoTree sentinel if there is none; nevernull.The parent
Tree, or the NoTree sentinel if there is none; nevernull. SinceNoTree.parentOrNoTree eq NoTree, walking a chain needs nonullchecks and terminates at theNoTreefixed point. Unlike parentOrNull it does not guard anullreceiver: it never yieldsnull, so a chain never calls it on one — do not call it on a literalnull.- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).parentOrNoTree
- Definition Classes
- ImplicitTree
- def parentOrNoTree: Tree
The parent
Tree, or the NoTree sentinel if there is none; nevernull.The parent
Tree, or the NoTree sentinel if there is none; nevernull. SinceNoTree.parentOrNoTree eq NoTree, walking a chain needs nonullchecks and terminates at theNoTreefixed point. Unlike parentOrNull it does not guard anullreceiver: it never yieldsnull, so a chain never calls it on one — do not call it on a literalnull.- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).parentOrNoTree
- Definition Classes
- ImplicitTree
- def parentOrNull: Tree
The parent
Tree, ornullif there is none (alsonullfor anullreceiver).The parent
Tree, ornullif there is none (alsonullfor anullreceiver).- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).parentOrNull
- Definition Classes
- ImplicitTree
- def parentOrNull: Tree
The parent
Tree, ornullif there is none (alsonullfor anullreceiver).The parent
Tree, ornullif there is none (alsonullfor anullreceiver).- Implicit
- This member is added by an implicit conversion from Tuple toImplicitTree[Tuple] 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:(tuple: ImplicitTree[Tuple]).parentOrNull
- Definition Classes
- ImplicitTree
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Tuple toStringFormat[Tuple] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Tuple, B)
- Implicit
- This member is added by an implicit conversion from Tuple toArrowAssoc[Tuple] 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.