scala.meta.tokenizers.Tokenize.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tokenizers_2.12 Show documentation
Show all versions of tokenizers_2.12 Show documentation
Scalameta APIs for tokenization and their baseline implementation
package scala.meta
package tokenizers
import scala.meta.inputs._
import scala.meta.internal.tokenizers._
trait Tokenize {
def apply(input: Input, dialect: Dialect): Tokenized
}
object Tokenize {
implicit def scalametaTokenize: Tokenize = ScalametaTokenizer.toTokenize
}