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

parsley.token.text.LexemeString.scala Maven / Gradle / Ivy

There is a newer version: 5.0.0-M6
Show newest version
/* SPDX-FileCopyrightText: © 2022 Parsley Contributors 
 * SPDX-License-Identifier: BSD-3-Clause
 */
package parsley.token.text

import scala.Predef.{String => ScalaString}

import parsley.Parsley
import parsley.token.Lexeme

private [token] final class LexemeString(string: String, lexeme: Lexeme) extends String {
    override lazy val fullUtf16: Parsley[ScalaString] = lexeme(string.fullUtf16)
    override lazy val ascii: Parsley[ScalaString] = lexeme(string.ascii)
    override lazy val latin1: Parsley[ScalaString] = lexeme(string.latin1)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy