final class Tokens extends collection.immutable.IndexedSeq[Token] with IndexedSeqOptimized[Token] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Tokens
- Serializable
- Serializable
- Product
- IndexedSeqOptimized
- IndexedSeq
- IndexedSeq
- IndexedSeqLike
- Seq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Immutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
Implicitly
- by CollectionsHaveToParArray
- by MonadOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- by alternateImplicit
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
class
Elements extends AbstractIterator[A] with collection.BufferedIterator[A] with Serializable
- Attributes
- protected
- Definition Classes
- IndexedSeqLike
- Annotations
- @SerialVersionUID()
-
type
Self = collection.immutable.IndexedSeq[Token]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
-
def
++[B >: Token, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: Token, That](that: collection.Traversable[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: Token, That](that: collection.TraversableOnce[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike
-
def
+:[B >: Token, That](elem: B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
- def ->[B](y: B): (Tokens, B)
-
def
:+[B >: Token, That](elem: B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Token) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (Token) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
apply(idx: Int): Token
- Definition Classes
- Tokens → SeqLike → GenSeqLike → Function1
-
def
applyOrElse[A1 <: Int, B1 >: Token](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Tokens → IterableLike → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
collect[B, That](pf: PartialFunction[Token, B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
collectFirst[B](pf: PartialFunction[Token, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
combinations(n: Int): collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[collection.immutable.IndexedSeq]
- Definition Classes
- IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ Token
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains[A1 >: Token](elem: A1): Boolean
- Definition Classes
- SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
- def copy(tokens: Array[Token] = this.tokens, start: Int = this.start, end: Int = this.end): Tokens
-
def
copyToArray[B >: Token](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Token](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Token](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: Token](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
def
corresponds[B](that: GenSeq[B])(p: (Token, B) ⇒ Boolean): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count(p: (Token) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
diff[B >: Token](that: GenSeq[B]): collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct: collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike → GenSeqLike
-
def
drop(n: Int): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike
- def dropRightWhile(p: (Token) ⇒ Boolean): Tokens
-
def
dropWhile(p: (Token) ⇒ Boolean): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → TraversableLike → GenTraversableLike
- val end: Int
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
- def ensuring(cond: (Tokens) ⇒ Boolean, msg: ⇒ Any): Tokens
- def ensuring(cond: (Tokens) ⇒ Boolean): Tokens
- def ensuring(cond: Boolean, msg: ⇒ Any): Tokens
- def ensuring(cond: Boolean): Tokens
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Tokens → GenSeqLike → Equals → AnyRef → Any
-
def
exists(p: (Token) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(p: (Token) ⇒ Boolean): collection.immutable.IndexedSeq[Token]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
filterNot(p: (Token) ⇒ Boolean): collection.immutable.IndexedSeq[Token]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
find(p: (Token) ⇒ Boolean): Option[Token]
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
flatMap[B, That](f: (Token) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
flatten[B](implicit asTraversable: (Token) ⇒ GenTraversableOnce[B]): collection.immutable.IndexedSeq[B]
- Definition Classes
- GenericTraversableTemplate
-
def
fold[A1 >: Token](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[B](z: B)(op: (B, Token) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
foldRight[B](z: B)(op: (Token, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
forall(p: (Token) ⇒ Boolean): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[U](f: (Token) ⇒ U): Unit
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, collection.immutable.IndexedSeq[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (Token) ⇒ K): Map[K, collection.immutable.IndexedSeq[Token]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
hashCode(): Int
- Definition Classes
- Tokens → IndexedSeqLike → GenSeqLike → AnyRef → Any
-
def
head: Token
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
-
def
headOption: Option[Token]
- Definition Classes
- Tokens → TraversableLike → GenTraversableLike
-
def
indexOf[B >: Token](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: Token](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: Token](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: Token](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
indexWhere(p: (Token) ⇒ Boolean, from: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
indexWhere(p: (Token) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
indices: collection.immutable.Range
- Definition Classes
- SeqLike
-
def
init: collection.immutable.IndexedSeq[Token]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
inits: collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- TraversableLike
-
def
intersect[B >: Token](that: GenSeq[B]): collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(idx: Int): Boolean
- Definition Classes
- GenSeqLike
-
def
isEmpty: Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: collection.Iterator[Token]
- Definition Classes
- IndexedSeqLike → IterableLike → GenIterableLike
-
def
last: Token
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
lastIndexOf[B >: Token](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: Token](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: Token](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: Token](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (Token) ⇒ Boolean, end: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (Token) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
lastOption: Option[Token]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
length: Int
- Definition Classes
- Tokens → SeqLike → GenSeqLike
-
def
lengthCompare(len: Int): Int
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
lift: (Int) ⇒ Option[Token]
- Definition Classes
- PartialFunction
-
def
map[B, That](f: (Token) ⇒ B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike → FilterMonadic
-
def
max[B >: Token](implicit cmp: Ordering[B]): Token
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (Token) ⇒ B)(implicit cmp: Ordering[B]): Token
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: Token](implicit cmp: Ordering[B]): Token
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (Token) ⇒ B)(implicit cmp: Ordering[B]): Token
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString: String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(sep: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
mkString(start: String, sep: String, end: String): String
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: Builder[Token, collection.immutable.IndexedSeq[Token]]
- Attributes
- protected[this]
- Definition Classes
- GenericTraversableTemplate → HasNewBuilder
-
def
nonEmpty: Boolean
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: Int, B1 >: Token](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: Token, That](len: Int, elem: B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParSeq[Token]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[Token, ParSeq[Token]]
- Attributes
- protected[this]
- Definition Classes
- Seq → SeqLike → Iterable → TraversableLike → Parallelizable
-
def
partition(p: (Token) ⇒ Boolean): (collection.immutable.IndexedSeq[Token], collection.immutable.IndexedSeq[Token])
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
patch[B >: Token, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- SeqLike
-
def
prefixLength(p: (Token) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
product[B >: Token](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
productArity: Int
- Definition Classes
- Tokens → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Tokens → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Tokens → Product
-
def
productPrefix: String
- Definition Classes
- Tokens → Product
-
def
reduce[A1 >: Token](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: Token](op: (B, Token) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → TraversableOnce
-
def
reduceLeftOption[B >: Token](op: (B, Token) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: Token](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: Token](op: (Token, B) ⇒ B): B
- Definition Classes
- IndexedSeqOptimized → IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: Token](op: (Token, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr: collection.immutable.IndexedSeq[Token]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
reverse: collection.immutable.IndexedSeq[Token]
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
reverseIterator: collection.Iterator[Token]
- Definition Classes
- IndexedSeqOptimized → SeqLike
-
def
reverseMap[B, That](f: (Token) ⇒ B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[Token]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
runWith[U](action: (Token) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: Token](that: GenIterable[B]): Boolean
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
scan[B >: Token, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, Token) ⇒ B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (Token, B) ⇒ B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
segmentLength(p: (Token) ⇒ Boolean, from: Int = 0): Int
- Definition Classes
- Tokens → IndexedSeqOptimized → SeqLike → GenSeqLike
- def segmentLengthRight(p: (Token) ⇒ Boolean, from: Int = 0): Int
-
def
seq: collection.immutable.IndexedSeq[Token]
- Definition Classes
- IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
size: Int
- Definition Classes
- SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHintIfCheap: Int
- Attributes
- protected[collection]
- Definition Classes
- IndexedSeqLike → GenTraversableOnce
-
def
slice(from: Int, until: Int): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- IterableLike
-
def
sortBy[B](f: (Token) ⇒ B)(implicit ord: math.Ordering[B]): collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (Token, Token) ⇒ Boolean): collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike
-
def
sorted[B >: Token](implicit ord: math.Ordering[B]): collection.immutable.IndexedSeq[Token]
- Definition Classes
- SeqLike
-
def
span(p: (Token) ⇒ Boolean): (Tokens, Tokens)
- Definition Classes
- Tokens → IndexedSeqOptimized → TraversableLike → GenTraversableLike
- def spanRight(p: (Token) ⇒ Boolean): (Tokens, Tokens)
-
def
splitAt(n: Int): (Tokens, Tokens)
- Definition Classes
- Tokens → IndexedSeqOptimized → TraversableLike → GenTraversableLike
- val start: Int
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- IndexedSeqOptimized → SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sum[B >: Token](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: collection.immutable.IndexedSeq[Token]
- Definition Classes
- IndexedSeqOptimized → TraversableLike → GenTraversableLike
-
def
tails: collection.Iterator[collection.immutable.IndexedSeq[Token]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike
- def takeRightWhile(p: (Token) ⇒ Boolean): Tokens
-
def
takeWhile(p: (Token) ⇒ Boolean): Tokens
- Definition Classes
- Tokens → IndexedSeqOptimized → IterableLike → TraversableLike → GenTraversableLike
-
def
thisCollection: collection.IndexedSeq[Token]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Token, Col[Token]]): Col[Token]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
def
toArray[B >: Token](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toBuffer[A1 >: Token]: Buffer[A1]
- Definition Classes
- IndexedSeqLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: collection.immutable.IndexedSeq[Token]): collection.IndexedSeq[Token]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: collection.immutable.IndexedSeq[Token]
- Definition Classes
- IndexedSeq → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toIterable: collection.Iterable[Token]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: collection.Iterator[Token]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toList: List[Token]
- Definition Classes
- IndexedSeqOptimized → TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[Token, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toParArray: ParArray[T]
- Implicit
- This member is added by an implicit conversion from Tokens to CollectionsHaveToParArray[Tokens, T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (Tokens) ⇒ GenTraversableOnce[T] is in scope.
- Definition Classes
- CollectionsHaveToParArray
-
def
toSeq: collection.immutable.Seq[Token]
- Definition Classes
- Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: Token]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: collection.immutable.Stream[Token]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
def
toString(): String
- Definition Classes
- Tokens → SeqLike → Function1 → TraversableLike → AnyRef → Any
-
def
toTraversable: collection.Traversable[Token]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toVector: Vector[Token]
- Definition Classes
- TraversableOnce → GenTraversableOnce
- val tokens: Array[Token]
-
def
transpose[B](implicit asTraversable: (Token) ⇒ GenTraversableOnce[B]): collection.immutable.IndexedSeq[collection.immutable.IndexedSeq[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
union[B >: Token, That](that: GenSeq[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip[A1, A2](implicit asPair: (Token) ⇒ (A1, A2)): (collection.immutable.IndexedSeq[A1], collection.immutable.IndexedSeq[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (Token) ⇒ (A1, A2, A3)): (collection.immutable.IndexedSeq[A1], collection.immutable.IndexedSeq[A2], collection.immutable.IndexedSeq[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
updated[B >: Token, That](index: Int, elem: B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view(from: Int, until: Int): SeqView[Token, collection.immutable.IndexedSeq[Token]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
view: SeqView[Token, collection.immutable.IndexedSeq[Token]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFilter(p: (Token) ⇒ Boolean): FilterMonadic[Token, collection.immutable.IndexedSeq[Token]]
- Definition Classes
- TraversableLike → FilterMonadic
-
def
zip[A1 >: Token, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], (A1, B), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
-
def
zipAll[B, A1 >: Token, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
def
zipWithIndex[A1 >: Token, That](implicit bf: CanBuildFrom[collection.immutable.IndexedSeq[Token], (A1, Int), That]): That
- Definition Classes
- IndexedSeqOptimized → IterableLike → GenIterableLike
- def →[B](y: B): (Tokens, B)
Shadowed Implicit Value Members
-
def
filter(p: (Token) ⇒ Boolean): collection.TraversableOnce[Token]
- Implicit
- This member is added by an implicit conversion from Tokens to MonadOps[Token] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(tokens: MonadOps[Token]).filter(p)
- Definition Classes
- MonadOps
-
def
flatMap[B](f: (Token) ⇒ GenTraversableOnce[B]): collection.TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from Tokens to MonadOps[Token] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(tokens: MonadOps[Token]).flatMap(f)
- Definition Classes
- MonadOps
-
def
map[B](f: (Token) ⇒ B): collection.TraversableOnce[B]
- Implicit
- This member is added by an implicit conversion from Tokens to MonadOps[Token] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(tokens: MonadOps[Token]).map(f)
- Definition Classes
- MonadOps
-
def
withFilter(p: (Token) ⇒ Boolean): collection.Iterator[Token]
- Implicit
- This member is added by an implicit conversion from Tokens to MonadOps[Token] performed by method MonadOps in scala.collection.TraversableOnce.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(tokens: MonadOps[Token]).withFilter(p)
- Definition Classes
- MonadOps
Deprecated Value Members
-
def
/:[B](z: B)(op: (B, Token) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldLeft instead of /:
-
def
:\[B](z: B)(op: (Token, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldRight instead of :\
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Tokens to StringFormat[Tokens] 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,formatted
resolves to the new method in String which has reversed parameters.