blob: 7fcb8f2bf175af2a03cd2bfe229cb5051b15339b [file] [log] [blame]
import 'package:meta/meta.dart';
/// Abstract character predicate class.
@immutable
abstract class CharacterPredicate {
const CharacterPredicate();
/// Tests if the character predicate is satisfied.
bool test(int value);
/// Compares the two predicates for equality.
bool isEqualTo(CharacterPredicate other);
}