diff --git a/sources/Text/BaseText.uc b/sources/Text/BaseText.uc index 1c62fde..715a204 100644 --- a/sources/Text/BaseText.uc +++ b/sources/Text/BaseText.uc @@ -1556,6 +1556,17 @@ public function MutableText IntoMutableText() return none; } +/** + * Creates `Parser` to parse caller `BaseText`. + * + * @return `Parser` that is setup to parse caller `BaseText`. + * Guaranteed to not be `none`. + */ +public final function Parser Parse() +{ + return _.text.Parse(self); +} + defaultproperties { STRING_SEPARATOR_FORMAT = " "