parsley.token.text.LexemeString.scala Maven / Gradle / Ivy
/* 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