NetLogo 6.2.2 - org.nlogo.app.codetab.SmartIndenter.TokenLineIterator
Keywords: NetLogo 6.2.2 org.nlogo.app.codetab.SmartIndenter.TokenLineIterator

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package app
  Definition Classes
    nlogo
-  package codetab
  Definition Classes
    app
-  class SmartIndenter extends Indenter
  Definition Classes
    codetab
- AddIndent
- LineIndent
- MaintainIndent
- RemoveIndent
- TokenLineIterator
- TokenizedLine

c

org.nlogo.app.codetab.SmartIndenter

# TokenLineIterator 

###

#### class TokenLineIterator extends Iterator[TokenizedLine]

Source
  SmartIndenter.scala

Linear Supertypes
Iterator[TokenizedLine], TraversableOnce[TokenizedLine], GenTraversableOnce[TokenizedLine], AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. TokenLineIterator
2. Iterator
3. TraversableOnce
4. GenTraversableOnce
5. AnyRef
6. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new TokenLineIterator(tokens: BufferedIterator[Token], endLine: Int)

### Type Members

1.  class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]
   Definition Classes
     Iterator

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def ++[B >: TokenizedLine](that: ⇒ GenTraversableOnce[B]): Iterator[B]
   Definition Classes
     Iterator
4.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
5.  def addString(b: StringBuilder): StringBuilder
   Definition Classes
     TraversableOnce
6.  def addString(b: StringBuilder, sep: String): StringBuilder
   Definition Classes
     TraversableOnce
7.  def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
   Definition Classes
     TraversableOnce
8.  def aggregate[B](z: ⇒ B)(seqop: (B, TokenizedLine) ⇒ B, combop: (B, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
9.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
10.  def buffered: BufferedIterator[TokenizedLine]
    Definition Classes
      Iterator
11.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
12.  def collect[B](pf: PartialFunction[TokenizedLine, B]): Iterator[B]
    Definition Classes
      Iterator
    Annotations
      @migration
    Migration

      (Changed in version 2.8.0) `collect` has changed. The previous behavior can be reproduced with `toSeq`.

13.  def collectFirst[B](pf: PartialFunction[TokenizedLine, B]): Option[B]
    Definition Classes
      TraversableOnce
14.  def contains(elem: Any): Boolean
    Definition Classes
      Iterator
15.  def copyToArray[B >: TokenizedLine](xs: Array[B], start: Int, len: Int): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
16.  def copyToArray[B >: TokenizedLine](xs: Array[B]): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
17.  def copyToArray[B >: TokenizedLine](xs: Array[B], start: Int): Unit
    Definition Classes
      TraversableOnce → GenTraversableOnce
18.  def copyToBuffer[B >: TokenizedLine](dest: Buffer[B]): Unit
    Definition Classes
      TraversableOnce
19.  def corresponds[B](that: GenTraversableOnce[B])(p: (TokenizedLine, B) ⇒ Boolean): Boolean
    Definition Classes
      Iterator
20.  def count(p: (TokenizedLine) ⇒ Boolean): Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
21.  var currentLine: Int
22.  def drop(n: Int): Iterator[TokenizedLine]
    Definition Classes
      Iterator
23.  def dropWhile(p: (TokenizedLine) ⇒ Boolean): Iterator[TokenizedLine]
    Definition Classes
      Iterator
24.  def duplicate: (Iterator[TokenizedLine], Iterator[TokenizedLine])
    Definition Classes
      Iterator
25.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
26.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
27.  def exists(p: (TokenizedLine) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
28.  def filter(p: (TokenizedLine) ⇒ Boolean): Iterator[TokenizedLine]
    Definition Classes
      Iterator
29.  def filterNot(p: (TokenizedLine) ⇒ Boolean): Iterator[TokenizedLine]
    Definition Classes
      Iterator
30.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
31.  def find(p: (TokenizedLine) ⇒ Boolean): Option[TokenizedLine]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
32.  def flatMap[B](f: (TokenizedLine) ⇒ GenTraversableOnce[B]): Iterator[B]
    Definition Classes
      Iterator
33.  def fold[A1 >: TokenizedLine](z: A1)(op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
34.  def foldLeft[B](z: B)(op: (B, TokenizedLine) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
35.  def foldRight[B](z: B)(op: (TokenizedLine, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
36.  def forall(p: (TokenizedLine) ⇒ Boolean): Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
37.  def foreach[U](f: (TokenizedLine) ⇒ U): Unit
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
38.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
39.  def grouped[B >: TokenizedLine](size: Int): GroupedIterator[B]
    Definition Classes
      Iterator
40.  def hasDefiniteSize: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
41.  def hasNext: Boolean
    Definition Classes
      TokenLineIterator → Iterator
42.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
43.  def indexOf[B >: TokenizedLine](elem: B, from: Int): Int
    Definition Classes
      Iterator
44.  def indexOf[B >: TokenizedLine](elem: B): Int
    Definition Classes
      Iterator
45.  def indexWhere(p: (TokenizedLine) ⇒ Boolean, from: Int): Int
    Definition Classes
      Iterator
46.  def indexWhere(p: (TokenizedLine) ⇒ Boolean): Int
    Definition Classes
      Iterator
47.  def isEmpty: Boolean
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
48.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
49.  def isTraversableAgain: Boolean
    Definition Classes
      Iterator → GenTraversableOnce
50.  def length: Int
    Definition Classes
      Iterator
51.  def map[B](f: (TokenizedLine) ⇒ B): Iterator[B]
    Definition Classes
      Iterator
52.  def max[B >: TokenizedLine](implicit cmp: Ordering[B]): TokenizedLine
    Definition Classes
      TraversableOnce → GenTraversableOnce
53.  def maxBy[B](f: (TokenizedLine) ⇒ B)(implicit cmp: Ordering[B]): TokenizedLine
    Definition Classes
      TraversableOnce → GenTraversableOnce
54.  def min[B >: TokenizedLine](implicit cmp: Ordering[B]): TokenizedLine
    Definition Classes
      TraversableOnce → GenTraversableOnce
55.  def minBy[B](f: (TokenizedLine) ⇒ B)(implicit cmp: Ordering[B]): TokenizedLine
    Definition Classes
      TraversableOnce → GenTraversableOnce
56.  def mkString: String
    Definition Classes
      TraversableOnce → GenTraversableOnce
57.  def mkString(sep: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
58.  def mkString(start: String, sep: String, end: String): String
    Definition Classes
      TraversableOnce → GenTraversableOnce
59.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
60.  def next(): TokenizedLine
    Definition Classes
      TokenLineIterator → Iterator
61.  def nonEmpty: Boolean
    Definition Classes
      TraversableOnce → GenTraversableOnce
62.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
63.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
64.  def padTo[A1 >: TokenizedLine](len: Int, elem: A1): Iterator[A1]
    Definition Classes
      Iterator
65.  def partition(p: (TokenizedLine) ⇒ Boolean): (Iterator[TokenizedLine], Iterator[TokenizedLine])
    Definition Classes
      Iterator
66.  def patch[B >: TokenizedLine](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
      Iterator
67.  var priorEnd: Int
68.  def product[B >: TokenizedLine](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
69.  def reduce[A1 >: TokenizedLine](op: (A1, A1) ⇒ A1): A1
    Definition Classes
      TraversableOnce → GenTraversableOnce
70.  def reduceLeft[B >: TokenizedLine](op: (B, TokenizedLine) ⇒ B): B
    Definition Classes
      TraversableOnce
71.  def reduceLeftOption[B >: TokenizedLine](op: (B, TokenizedLine) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
72.  def reduceOption[A1 >: TokenizedLine](op: (A1, A1) ⇒ A1): Option[A1]
    Definition Classes
      TraversableOnce → GenTraversableOnce
73.  def reduceRight[B >: TokenizedLine](op: (TokenizedLine, B) ⇒ B): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
74.  def reduceRightOption[B >: TokenizedLine](op: (TokenizedLine, B) ⇒ B): Option[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
75.  def reversed: List[TokenizedLine]
    Attributes
      protected[this]
    Definition Classes
      TraversableOnce
76.  def sameElements(that: Iterator[_]): Boolean
    Definition Classes
      Iterator
77.  def scanLeft[B](z: B)(op: (B, TokenizedLine) ⇒ B): Iterator[B]
    Definition Classes
      Iterator
78.  def scanRight[B](z: B)(op: (TokenizedLine, B) ⇒ B): Iterator[B]
    Definition Classes
      Iterator
79.  def seq: Iterator[TokenizedLine]
    Definition Classes
      Iterator → TraversableOnce → GenTraversableOnce
80.  def size: Int
    Definition Classes
      TraversableOnce → GenTraversableOnce
81.  def sizeHintIfCheap: Int
    Attributes
      protected[collection]
    Definition Classes
      GenTraversableOnce
82.  def slice(from: Int, until: Int): Iterator[TokenizedLine]
    Definition Classes
      Iterator
83.  def sliceIterator(from: Int, until: Int): Iterator[TokenizedLine]
    Attributes
      protected
    Definition Classes
      Iterator
84.  def sliding[B >: TokenizedLine](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
      Iterator
85.  def span(p: (TokenizedLine) ⇒ Boolean): (Iterator[TokenizedLine], Iterator[TokenizedLine])
    Definition Classes
      Iterator
86.  def sum[B >: TokenizedLine](implicit num: Numeric[B]): B
    Definition Classes
      TraversableOnce → GenTraversableOnce
87.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
88.  def take(n: Int): Iterator[TokenizedLine]
    Definition Classes
      Iterator
89.  def takeWhile(p: (TokenizedLine) ⇒ Boolean): Iterator[TokenizedLine]
    Definition Classes
      Iterator
90.  def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, TokenizedLine, Col[TokenizedLine]]): Col[TokenizedLine]
    Definition Classes
      TraversableOnce → GenTraversableOnce
91.  def toArray[B >: TokenizedLine](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
92.  def toBuffer[B >: TokenizedLine]: Buffer[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
93.  def toIndexedSeq: IndexedSeq[TokenizedLine]
    Definition Classes
      TraversableOnce → GenTraversableOnce
94.  def toIterable: Iterable[TokenizedLine]
    Definition Classes
      TraversableOnce → GenTraversableOnce
95.  def toIterator: Iterator[TokenizedLine]
    Definition Classes
      Iterator → GenTraversableOnce
96.  def toList: List[TokenizedLine]
    Definition Classes
      TraversableOnce → GenTraversableOnce
97.  def toMap[T, U](implicit ev: <:<[TokenizedLine, (T, U)]): Map[T, U]
    Definition Classes
      TraversableOnce → GenTraversableOnce
98.  def toSeq: Seq[TokenizedLine]
    Definition Classes
      TraversableOnce → GenTraversableOnce
99.  def toSet[B >: TokenizedLine]: Set[B]
    Definition Classes
      TraversableOnce → GenTraversableOnce
100.  def toStream: Stream[TokenizedLine]
     Definition Classes
       Iterator → GenTraversableOnce
101.  def toString(): String
     Definition Classes
       Iterator → AnyRef → Any
102.  def toTraversable: Traversable[TokenizedLine]
     Definition Classes
       Iterator → TraversableOnce → GenTraversableOnce
103.  def toVector: Vector[TokenizedLine]
     Definition Classes
       TraversableOnce → GenTraversableOnce
104.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
105.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
106.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
107.  def withFilter(p: (TokenizedLine) ⇒ Boolean): Iterator[TokenizedLine]
     Definition Classes
       Iterator
108.  def zip[B](that: Iterator[B]): Iterator[(TokenizedLine, B)]
     Definition Classes
       Iterator
109.  def zipAll[B, A1 >: TokenizedLine, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]
     Definition Classes
       Iterator
110.  def zipWithIndex: Iterator[(TokenizedLine, Int)]
     Definition Classes
       Iterator

### Deprecated Value Members

1.  def /:[B](z: B)(op: (B, TokenizedLine) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldLeft instead of /:

2.  def :\[B](z: B)(op: (TokenizedLine, B) ⇒ B): B
   Definition Classes
     TraversableOnce → GenTraversableOnce
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.10) Use foldRight instead of :\

### Inherited from Iterator[TokenizedLine]

### Inherited from TraversableOnce[TokenizedLine]

### Inherited from GenTraversableOnce[TokenizedLine]

### Inherited from AnyRef

### Inherited from Any

### Ungrouped