parsley.token.text.LexemeCharacter.scala Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2020 Parsley Contributors
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package parsley.token.text
import parsley.Parsley
import parsley.token.Lexeme
private [token] final class LexemeCharacter(character: CharacterParsers, lexeme: Lexeme) extends CharacterParsers {
override lazy val fullUtf16: Parsley[Int] = lexeme(character.fullUtf16)
override lazy val basicMultilingualPlane: Parsley[Char] = lexeme(character.basicMultilingualPlane)
override lazy val ascii: Parsley[Char] = lexeme(character.ascii)
override lazy val latin1: Parsley[Char] = lexeme(character.latin1)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy