TokenLineIterator

org.nlogo.app.codetab.SmartIndenter.TokenLineIterator
class TokenLineIterator(tokens: BufferedIterator[Token], endLine: Int) extends Iterator[TokenizedLine]

Attributes

Source
SmartIndenter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class GroupedIterator[B >: A](self: Iterator[B], size: Int, step: Int)

Attributes

Inherited from:
Iterator
Supertypes
class AbstractIterator[Seq[B]]
trait Iterator[Seq[B]]
trait IterableOnce[Seq[B]]
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

Attributes

Source
SmartIndenter.scala

Attributes

Source
SmartIndenter.scala

Inherited methods

final def ++[B >: TokenizedLine](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator
def contains(elem: Any): Boolean

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator
def flatten[B](implicit ev: TokenizedLine => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def fold[A1 >: TokenizedLine](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, TokenizedLine) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (TokenizedLine, B) => B): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: TokenizedLine => U): Unit

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
def indexOf[B >: TokenizedLine](elem: B): Int

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
override def isEmpty: Boolean

Attributes

Definition Classes
Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator
def knownSize: Int

Attributes

Inherited from:
IterableOnce
final def length: Int

Attributes

Inherited from:
Iterator
def map[B](f: TokenizedLine => B): Iterator[B]

Attributes

Inherited from:
Iterator
def max[B >: TokenizedLine](implicit ord: Ordering[B]): TokenizedLine

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: TokenizedLine => B)(implicit ord: Ordering[B]): TokenizedLine

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def min[B >: TokenizedLine](implicit ord: Ordering[B]): TokenizedLine

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: TokenizedLine => B)(implicit ord: Ordering[B]): TokenizedLine

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
def product[B >: TokenizedLine](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: TokenizedLine](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: TokenizedLine](op: (B, TokenizedLine) => B): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: TokenizedLine](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: TokenizedLine](op: (TokenizedLine, B) => B): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[TokenizedLine]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator
def scanLeft[B](z: B)(op: (B, TokenizedLine) => B): Iterator[B]

Attributes

Inherited from:
Iterator
def size: Int

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[TokenizedLine, S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: TokenizedLine](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator
override def tapEach[U](f: TokenizedLine => U): Iterator[TokenizedLine]

Attributes

Definition Classes
Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: TokenizedLine]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: TokenizedLine <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: TokenizedLine]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterator -> Any
Inherited from:
Iterator

Attributes

Inherited from:
IterableOnceOps

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Attributes

Inherited from:
Iterator

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, TokenizedLine) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (TokenizedLine, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, TokenizedLine) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps
final def copyToBuffer[B >: TokenizedLine](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
final override def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] hasDefiniteSize on Iterator is the same as isEmpty
Definition Classes
Inherited from:
Iterator
def scanRight[B](z: B)(op: (TokenizedLine, B) => B): Iterator[B]

Attributes

Deprecated
[Since version 2.13.0] Call scanRight on an Iterable instead.
Inherited from:
Iterator
def seq: Iterator.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterator.seq always returns the iterator itself
Inherited from:
Iterator

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps

Concrete fields

Attributes

Source
SmartIndenter.scala
var priorEnd: Int

Attributes

Source
SmartIndenter.scala