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

tethys.readers.tokens.TokenIterator.scala Maven / Gradle / Ivy

The newest version!
package tethys.readers.tokens

import tethys.commons.Token
import tethys.readers.tokens.TokenIterator.CopySupport

trait TokenIterator {

  def next(): this.type

  def currentToken(): Token

  def nextToken(): Token

  def fieldName(): String

  def string(): String

  def number(): Number

  def byte(): Byte

  def short(): Short

  def int(): Int

  def long(): Long

  def float(): Float

  def double(): Double

  def boolean(): Boolean

  def skipExpression(): this.type

  def collectExpression(): TokenIterator with CopySupport

}

object TokenIterator {
  trait CopySupport {
    def copy(): TokenIterator with CopySupport
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy