parser library
Pure-Dart entrypoint (no Flutter imports).
Use for search indexing, analytics, masking and server-side use.
import 'package:binkap_parsely/parser.dart';
final entities = ParselyParser.extract('Mail a@b.com');
Classes
- EntityEngine
- Pure-Dart entity engine (no Flutter imports).
- EntityRule
- A pluggable entity rule for custom entity types (e.g. order IDs, IPs).
- ParselyElement
- A single parsed entity found in source text.
- ParselyHumanize
- Display transforms (pure functions, no Flutter imports).
- ParselyLaunch
- Zero-dependency launch helpers.
- ParselyMaskBuilders
- Builder helpers for common masks.
- ParselyMasks
- Map-based masking configuration.
- ParselyOptions
- Immutable options controlling parsing and display transforms.
- ParselyParser
- Headless convenience facade (pure Dart, no Flutter imports).
- ParselyRegexes
- Pure-Dart compiled patterns for each entity type.
Enums
- ParselyType
- The type of a parsed entity within a text.
Extensions
- ParselyTypeX on ParselyType
- Convenience accessors for stable display names.
Typedefs
- ParselyMaskBuilder = String? Function(ParselyElement element)
-
Function form of masking: return a display override or
nullfor no mask.