diff options
Diffstat (limited to 'util/string.ts')
-rw-r--r-- | util/string.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/util/string.ts b/util/string.ts index 16d8f0a..397dcd6 100644 --- a/util/string.ts +++ b/util/string.ts @@ -1,17 +1,12 @@ import { TokenTags, parseTags } from "../language/tags.ts"; -import JapaneseString from "../language/japanese.ts"; declare global { - /** @summary extended String prototype functions */ interface String { /** @summary get UnicodeRange for character at index 0 */ range(): UnicodeRange; /** @summary create a RangeTally object for counting used unicode ranges in string */ rangeTally(): RangeTally; - /** @summary get JapaneseString from this string */ - jp(): JapaneseString; - /** @summary parse concatenated tag string to TokenTags */ parseTags(): TokenTags; @@ -72,10 +67,6 @@ String.prototype.rangeTally = function() { return tally; }; -String.prototype.jp = function() { - return new JapaneseString(this); -} - String.prototype.parseTags = function() { return parseTags(this as string); } |