All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.meta.internal.parsers.TokenIterator.scala Maven / Gradle / Ivy

There is a newer version: 4.12.2
Show newest version
package scala.meta.internal.parsers

import scala.meta.tokens.Token

// NOTE: public methods of TokenIterator return scannerTokens-based positions
trait TokenIterator {
  def next(): Unit
  def prevTokenPos: Int
  def tokenPos: Int
  def currentIndentation: Int
  def token: Token
  def fork: TokenIterator
  def observeIndented(): Boolean
  def observeOutdented(): Boolean
  def observeIndentedEnum(): Boolean
  def undoIndent(): Unit
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy