class TokenTraverser extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TokenTraverser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TokenTraverser(tokens: Tokens, filename: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def filter(start: Token, end: Token)(predicate: (Token) => Boolean): Seq[Token]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findAfter(token: Token)(predicate: (Token) => Option[Boolean]): Option[Token]
Find a token after the given one.
Find a token after the given one. The search stops when the predicate returns Some value (or the end is reached).
- returns
Some(token) if the predicate returned Some(true), else None.
- final def findAtOrAfter(off: Int)(pred: (Token) => Option[Boolean]): Option[Token]
- Annotations
- @tailrec()
- final def findAtOrBefore(off: Int)(pred: (Token) => Option[Boolean]): Option[Token]
- Annotations
- @tailrec()
- def findBefore(token: Token)(predicate: (Token) => Option[Boolean]): Option[Token]
Find a token before the given one.
Find a token before the given one. The search stops when the predicate returns Some value (or the end is reached).
- returns
Some(token) if the predicate returned Some(true), else None.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getIndex(token: Token): Int
- Annotations
- @inline()
- def getIndexOpt(token: Token): Option[Int]
- Annotations
- @inline()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isExcluded(token: Token): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextNonTrivialToken(token: Token): Option[Token]
- def nextToken(token: Token): Token
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prevToken(token: Token): Token
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()