CharPredicate

org.parboiled2.CharPredicate
See theCharPredicate companion object
sealed abstract class CharPredicate

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ArrayBased
class General
class MaskBased
class RangeBased

Members list

Value members

Abstract methods

def ++(chars: Seq[Char]): CharPredicate
def --(chars: Seq[Char]): CharPredicate
def apply(char: Char): Boolean

Concrete methods

def ++(char: Char): CharPredicate
def ++(chars: String): CharPredicate
def --(char: Char): CharPredicate
def --(chars: String): CharPredicate
def firstMatch(string: String): Option[Char]
def firstMismatch(string: String): Option[Char]
def indexOfFirstMatch(string: String): Int
def indexOfFirstMismatch(string: String): Int
def isMaskBased: Boolean

Determines wether this CharPredicate is an instance of the high-performance, constant-time CharPredicate.MaskBased implementation.

Determines wether this CharPredicate is an instance of the high-performance, constant-time CharPredicate.MaskBased implementation.

Attributes

def matchesAll(string: String): Boolean
def matchesAny(string: String): Boolean